HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] t38modem: is this possible?



On Mon, Feb 16, 2009 at 4:40 PM, Davide Chiarini <davide.chiarini@xxxxxxxxx> wrote:

> Or, if you also have other devices
>     sendfax -h <t38device>@ -n -d <fax.no> <file>
> the fax should get sent using the 192.168.0.22 machine.

I'm afraid I didn't explain myself clearly.
the '192.168.0.222' is the fax machine I would like to send the fax
to, using an ip-ip connection

my error: change "sent using the" with "sent to the" 192.168.0.22 machine that will do with it likes.
 
right now I set up t38modem like this
/usr/local/bin/t38modem -tttt -n -o /var/log/t38modem.log   --ptty
+/dev/ttyT38-1 --route "all@xxxxxxxxx"

I'm afraid this way you route all network connections to the localhost, 
The destination IP is to be specified on the t38modem command line, not on the sendfax command line.
 
and when I try the command above
sendfax -h ttyT38-1@xxxxxxxxx  -n -d "192.168.0.222" /etc/passwd
the t38modem window says:

Call[1] from modem: to 1921680222, route to 1921680222
Call[1] cleared

and I guess it's trying to send that fax to a regular phone number,
instead of an ip address.

It's trying to send it to 127.0.0.1.

See t38modem README  #3.2

Setting up t38modem with all@xxxxxxxxx is ok for local loopback tests: ie you have no modems or you don't want to spend money doing fax tests with real fax numbers, so you set up 2 t38modem devices, one for outbound jobs one for inbound jobs, then you send a fax using whaveter fax number and it will go from one "sending" t38modem device to another "receiving" t38modem device on the same machine.


--
giulioo@xxxxxxxxx



Project hosted by iFAX Solutions