HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] Trying to get Hylafax and T38Modem to play nice
Hi all,
I am trying to receive faxes through T38Modem to HylaFax.
I see a fax coming in on T38Modem, but all I get are errors on the HylaFax side.
However, loopback faxes that originate from T38Modem, go to asterisk,
and then back to T38Modem work fine.
Does this suggest a problem with the ATA I'm using between the fax
machine and asterisk?
It is a Grandstream 286. Asterisk version is 1.4.22.1.
T38Modem command line:
/usr/local/bin/t38modem -tt -o /var/log/t38modem.log --no-h323 -u T38Modem \
--sip-listen udp\$xxx.xxx.xxx.xxx:6060 --sip-redundancy 3 \
--ptty +/dev/ttyT38-1,+/dev/ttyT38-2,+/dev/ttyT38-3 \
--route "modem:.*=sip:<dn>@xxx.xxx.xxx.xxx" --route "sip:.*=modem:<dn>"
My HylaFax config file for T38Modem is:
SessionTracing: 0x2FFF
RingsBeforeAnswer: 1
ModemType: Class1 # use class 1 interface
ModemFlowControl: rtscts # default
ModemRevQueryCmd: AT+FREV?
----- Here's the recv log from HylaFax of the error:
Jan 16 18:21:06.09: [ 5283]: SESSION BEGIN 000005025
Jan 16 18:21:06.09: [ 5283]: HylaFAX (tm) Version 4.4.3
Jan 16 18:21:06.09: [ 5283]: <-- [4:ATA\r]
Jan 16 18:21:10.42: [ 5283]: --> [7:CONNECT]
Jan 16 18:21:10.42: [ 5283]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyT38-1'
Jan 16 18:21:10.42: [ 5283]: STATE CHANGE: ANSWERING -> RECEIVING
Jan 16 18:21:10.42: [ 5283]: RECV FAX: begin
Jan 16 18:21:10.42: [ 5283]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86
62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 2C 74 2C 74 CC>
Jan 16 18:21:10.42: [ 5283]: <-- data [32]
Jan 16 18:21:10.42: [ 5283]: <-- data [2]
Jan 16 18:21:12.33: [ 5283]: --> [7:CONNECT]
Jan 16 18:21:12.33: [ 5283]: <-- HDLC<23:FF C0 02 04 04 04 04 04 04 04
04 04 04 04 04 04 04 04 04 04 04 04 04>
Jan 16 18:21:12.33: [ 5283]: <-- data [23]
Jan 16 18:21:12.33: [ 5283]: <-- data [2]
Jan 16 18:21:13.05: [ 5283]: --> [7:CONNECT]
Jan 16 18:21:13.05: [ 5283]: <-- HDLC<13:FF C8 01 00 77 5F 23 01 FB C1 01 01 18>
Jan 16 18:21:13.05: [ 5283]: <-- data [13]
Jan 16 18:21:13.05: [ 5283]: <-- data [2]
Jan 16 18:21:13.54: [ 5283]: --> [2:OK]
Jan 16 18:21:13.54: [ 5283]: <-- [9:AT+FRH=3\r]
Jan 16 18:21:20.54: [ 5283]: --> [0:]
Jan 16 18:21:20.54: [ 5283]: MODEM <Empty line>
Jan 16 18:21:20.54: [ 5283]: MODEM TIMEOUT: waiting for v.21 carrier
Jan 16 18:21:20.54: [ 5283]: <-- data [1]
Jan 16 18:21:20.54: [ 5283]: --> [2:OK]
Jan 16 18:21:20.54: [ 5283]: <-- [9:AT+FRS=7\r]
Jan 16 18:21:20.61: [ 5283]: --> [2:OK]
Jan 16 18:21:20.61: [ 5283]: <-- [9:AT+FTH=3\r]
Jan 16 18:21:20.61: [ 5283]: --> [7:CONNECT]
Jan 16 18:21:20.61: [ 5283]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86
62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 2C 74 2C 74 CC>
Jan 16 18:21:20.61: [ 5283]: <-- data [32]
Jan 16 18:21:20.61: [ 5283]: <-- data [2]
Jan 16 18:21:22.46: [ 5283]: --> [7:CONNECT]
Jan 16 18:21:22.46: [ 5283]: <-- HDLC<23:FF C0 02 04 04 04 04 04 04 04
04 04 04 04 04 04 04 04 04 04 04 04 04>
Jan 16 18:21:22.46: [ 5283]: <-- data [23]
Jan 16 18:21:22.46: [ 5283]: <-- data [2]
Jan 16 18:21:23.18: [ 5283]: --> [7:CONNECT]
Jan 16 18:21:23.18: [ 5283]: <-- HDLC<13:FF C8 01 00 77 5F 23 01 FB C1 01 01 18>
Jan 16 18:21:23.18: [ 5283]: <-- data [13]
Jan 16 18:21:23.18: [ 5283]: <-- data [2]
Jan 16 18:21:23.67: [ 5283]: --> [2:OK]
Jan 16 18:21:23.67: [ 5283]: <-- [9:AT+FRH=3\r]
Jan 16 18:21:30.67: [ 5283]: --> [0:]
Jan 16 18:21:30.67: [ 5283]: MODEM <Empty line>
Jan 16 18:21:30.67: [ 5283]: MODEM TIMEOUT: waiting for v.21 carrier
Jan 16 18:21:30.67: [ 5283]: <-- data [1]
Jan 16 18:21:30.67: [ 5283]: --> [2:OK]
Jan 16 18:21:30.67: [ 5283]: <-- [9:AT+FRS=7\r]
Jan 16 18:21:30.74: [ 5283]: --> [2:OK]
Jan 16 18:21:30.74: [ 5283]: <-- [9:AT+FTH=3\r]
Jan 16 18:21:30.74: [ 5283]: --> [7:CONNECT]
Jan 16 18:21:30.74: [ 5283]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86
62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 2C 74 2C 74 CC>
Jan 16 18:21:30.74: [ 5283]: <-- data [32]
Jan 16 18:21:30.74: [ 5283]: <-- data [2]
Jan 16 18:21:32.58: [ 5283]: --> [7:CONNECT]
Jan 16 18:21:32.58: [ 5283]: <-- HDLC<23:FF C0 02 04 04 04 04 04 04 04
04 04 04 04 04 04 04 04 04 04 04 04 04>
Jan 16 18:21:32.58: [ 5283]: <-- data [23]
Jan 16 18:21:32.58: [ 5283]: <-- data [2]
Jan 16 18:21:33.30: [ 5283]: --> [7:CONNECT]
Jan 16 18:21:33.30: [ 5283]: <-- HDLC<13:FF C8 01 00 77 5F 23 01 FB C1 01 01 18>
Jan 16 18:21:33.30: [ 5283]: <-- data [13]
Jan 16 18:21:33.30: [ 5283]: <-- data [2]
Jan 16 18:21:33.79: [ 5283]: --> [2:OK]
Jan 16 18:21:33.79: [ 5283]: <-- [9:AT+FRH=3\r]
Jan 16 18:21:40.79: [ 5283]: --> [0:]
Jan 16 18:21:40.79: [ 5283]: MODEM <Empty line>
Jan 16 18:21:40.79: [ 5283]: MODEM TIMEOUT: waiting for v.21 carrier
Jan 16 18:21:40.79: [ 5283]: <-- data [1]
Jan 16 18:21:40.79: [ 5283]: --> [2:OK]
Jan 16 18:21:40.79: [ 5283]: <-- [9:AT+FRS=7\r]
Jan 16 18:21:40.86: [ 5283]: --> [2:OK]
Jan 16 18:21:40.86: [ 5283]: <-- [9:AT+FTH=3\r]
Jan 16 18:21:40.86: [ 5283]: --> [7:CONNECT]
Jan 16 18:21:40.86: [ 5283]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86
62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 2C 74 2C 74 CC>
Jan 16 18:21:40.86: [ 5283]: <-- data [32]
Jan 16 18:21:40.86: [ 5283]: <-- data [2]
Jan 16 18:21:42.71: [ 5283]: --> [7:CONNECT]
Jan 16 18:21:42.71: [ 5283]: <-- HDLC<23:FF C0 02 04 04 04 04 04 04 04
04 04 04 04 04 04 04 04 04 04 04 04 04>
Jan 16 18:21:42.71: [ 5283]: <-- data [23]
Jan 16 18:21:42.71: [ 5283]: <-- data [2]
Jan 16 18:21:43.43: [ 5283]: --> [7:CONNECT]
Jan 16 18:21:43.43: [ 5283]: <-- HDLC<13:FF C8 01 00 77 5F 23 01 FB C1 01 01 18>
Jan 16 18:21:43.43: [ 5283]: <-- data [13]
Jan 16 18:21:43.43: [ 5283]: <-- data [2]
Jan 16 18:21:43.92: [ 5283]: --> [2:OK]
Jan 16 18:21:43.92: [ 5283]: <-- [9:AT+FRH=3\r]
Jan 16 18:21:48.70: [ 5283]: --> [10:NO CARRIER]
Jan 16 18:21:48.70: [ 5283]: MODEM No carrier
Jan 16 18:21:48.70: [ 5283]: <-- [9:AT+FRS=7\r]
Jan 16 18:21:48.70: [ 5283]: --> [5:ERROR]
Jan 16 18:21:48.70: [ 5283]: MODEM Command error
Jan 16 18:21:48.70: [ 5283]: Failure to receive silence
(synchronization failure).
Jan 16 18:21:48.70: [ 5283]: RECV FAX: Failure to receive silence
(synchronization failure).
Jan 16 18:21:48.70: [ 5283]: RECV FAX: end
Jan 16 18:21:48.70: [ 5283]: Failure to receive silence
(synchronization failure).
Jan 16 18:21:48.70: [ 5283]: SESSION END
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*