I'm trying to setup a hylafax installation that will accept faxes from a SIP based PBX (zultys) and send faxes through an analog modem (ttyS0).
I'm using t38modem 2.0 with the SIPPDU patch and spanDSP plugin.
T38Modem Version 2.0.0 (OPAL-3.9.0/3.9beta0, PTLIB-2.9.0/2.9beta0 (svn:24174)) by Vyacheslav Frolov on Unix Linux (2.6.32-28-server-x86_64)
Using the following parameters:
t38modem -ttttt -o /var/log/t38modem.log --sip-proxy T38modem:1234@192.168.100.31 --sip-disable-t38-mode --sip-register T38modem@192.168.100.31,1234,192.168.100.79, --ptty "+/dev/ttyT38-1,+/dev/ttyT38-2,+/dev/ttyT38-3" --no-h323 --route "sip:.*=modem:<dn>"
Hylafax receives the fax and stores it in the RECVQ directory.
I don't get a message back to the PBX that the fax was sent, so it keeps trying.
Also, I was hoping to configure the route so that Hylafax spooled up the fax and sent it out the analog modem (ttyS0)
Thank you for taking a look.
Mark
t38modem output
Additional information:
OS: Linux Ubuntu 10.0.4
Hylafax version 6.0.5 from scratch
When sendfax is run from the command line, the USR modem on ttyS0 sends the fax without error
Several places in the log file I see the local IP address along with "%eth0" for example:
OpalUDP Setting interface to 192.168.100.79%eth0
Also found this in the log:
RTP_UDP Session 1, Control PDU from incorrect host, is 192.168.100.79 should be 192.168.100.31
Session Log from Hylafax
Just to followup, I changed the version of Hylafax to (hylafax+) 5.5.0.
The pbx now sees faxes as received when sent to hylafax. (a step forward)
Is there a way to get t38modem to send out via the hardware modem? I've tried to use the ModemGroup command in the config.ttyT38-1 file with no success.
I think that I'm not understanding how the --route command works.
Any help would be appreciated.
Thanks,
Mark