HylaFAX The world's most advanced open source fax server

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

[hylafax-users] t38modem can only receive speeds up to 4800bps



Title: t38modem can only receive speeds up to 4800bps

Hello

I am using t38modem v0.8.1 am and sending a fax from the Diva Server SOFTIP CAPI/T38 interface.
I can successfully send faxes at 4800 but anything higher, then I get the error
Jul 18 10:53:34.88: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:34.98: [ 6820]: --> [8:+FCERROR]

Full trace of fax session below. I have also tried at speeds 14,400 and 12,000 but after the AT+FRM= command, I always get this +FCERROR message.

The sending and receiving machines are on the same LAN, with ping time less than 1ms.
I can also send faxes from one t38modem to another t38modem on the same machine at speeds of 14.4Kbps.

Any ideas why I am getting the [8:+FCERROR] and what I can do to solve this?

Many thanks
David



Jul 18 10:53:22.49: [ 6820]: SESSION BEGIN 000000987
Jul 18 10:53:22.50: [ 6820]: HylaFAX (tm) Version 4.2.1
Jul 18 10:53:22.50: [ 6820]: <-- [4:ATA\r]
Jul 18 10:53:26.61: [ 6820]: --> [7:CONNECT]
Jul 18 10:53:26.61: [ 6820]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyx1'
Jul 18 10:53:26.61: [ 6820]: STATE CHANGE: ANSWERING -> RECEIVING
Jul 18 10:53:26.61: [ 6820]: MODEM input buffering enabled
Jul 18 10:53:26.61: [ 6820]: RECV FAX: begin
Jul 18 10:53:26.61: [ 6820]: MODEM input buffering disabled
Jul 18 10:53:26.61: [ 6820]: <-- HDLC<32:FF C0 04 AD 00 55 12 9E 36 86 62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 2C 74 4C 74 8C>

Jul 18 10:53:28.36: [ 6820]: --> [7:CONNECT]
Jul 18 10:53:28.36: [ 6820]: <-- 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>
Jul 18 10:53:29.08: [ 6820]: --> [7:CONNECT]
Jul 18 10:53:29.08: [ 6820]: <-- HDLC<10:FF C8 01 00 77 5F 01 01 FB C0>
Jul 18 10:53:29.49: [ 6820]: --> [2:OK]
Jul 18 10:53:29.49: [ 6820]: <-- [9:AT+FRH=3\r]
Jul 18 10:53:29.50: [ 6820]: --> [7:CONNECT]
Jul 18 10:53:30.36: [ 6820]: --> HDLC<25:FF C0 C2 0C 0C 04 0C 0C 0C 0C 0C 0C 0C 0C 04 9C 2C D4 04 04 04 04 04 81 62>
Jul 18 10:53:30.36: [ 6820]: --> [2:OK]
Jul 18 10:53:30.36: [ 6820]: REMOTE TSI "+49 00000000 00"
Jul 18 10:53:30.36: [ 6820]: <-- [9:AT+FRH=3\r]
Jul 18 10:53:30.37: [ 6820]: --> [7:CONNECT]
Jul 18 10:53:31.14: [ 6820]: --> HDLC<9:FF C8 C1 00 E7 1F 00 B7 37>
Jul 18 10:53:31.14: [ 6820]: --> [2:OK]
Jul 18 10:53:31.14: [ 6820]: REMOTE wants 9600 bit/s
Jul 18 10:53:31.14: [ 6820]: REMOTE wants A4 page width (215 mm)
Jul 18 10:53:31.14: [ 6820]: REMOTE wants unlimited page length
Jul 18 10:53:31.14: [ 6820]: REMOTE wants 7.7 line/mm
Jul 18 10:53:31.14: [ 6820]: REMOTE wants 2-D MR
Jul 18 10:53:31.14: [ 6820]: <-- [9:AT+FRH=3\r]
Jul 18 10:53:31.14: [ 6820]: --> [7:CONNECT]
Jul 18 10:53:31.42: [ 6820]: --> [10:NO CARRIER]
Jul 18 10:53:31.42: [ 6820]: RECV training at v.17 9600 bit/s
Jul 18 10:53:31.42: [ 6820]: <-- [10:AT+FRM=97\r]
Jul 18 10:53:32.00: [ 6820]: --> [7:CONNECT]
Jul 18 10:53:33.45: [ 6820]: RECV: TCF 1800 bytes, 0% non-zero, 1800 zero-run
Jul 18 10:53:33.45: [ 6820]: --> [10:NO CARRIER]
Jul 18 10:53:33.45: [ 6820]: DELAY 75 ms
Jul 18 10:53:33.53: [ 6820]: TRAINING succeeded
Jul 18 10:53:33.53: [ 6820]: <-- [9:AT+FTH=3\r]
Jul 18 10:53:33.53: [ 6820]: --> [7:CONNECT]
Jul 18 10:53:33.53: [ 6820]: <-- HDLC<3:FF C8 21>
Jul 18 10:53:34.58: [ 6820]: --> [2:OK]
Jul 18 10:53:34.58: [ 6820]: MODEM input buffering enabled
Jul 18 10:53:34.58: [ 6820]: <-- [9:AT+FRS=1\r]
Jul 18 10:53:34.75: [ 6820]: --> [2:OK]
Jul 18 10:53:34.75: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:34.88: [ 6820]: --> [8:+FCERROR]
Jul 18 10:53:34.88: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:34.98: [ 6820]: --> [8:+FCERROR]
Jul 18 10:53:34.98: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:35.08: [ 6820]: --> [8:+FCERROR]
Jul 18 10:53:35.08: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:35.18: [ 6820]: --> [8:+FCERROR]
Jul 18 10:53:35.18: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:35.28: [ 6820]: --> [8:+FCERROR]
Jul 18 10:53:35.28: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:35.39: [ 6820]: --> [8:+FCERROR]
Jul 18 10:53:35.39: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:35.49: [ 6820]: --> [8:+FCERROR]
Jul 18 10:53:35.49: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:35.59: [ 6820]: --> [8:+FCERROR]
Jul 18 10:53:35.59: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:35.69: [ 6820]: --> [8:+FCERROR]
Jul 18 10:53:35.69: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:35.79: [ 6820]: --> [8:+FCERROR]
Jul 18 10:53:35.79: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:35.89: [ 6820]: --> [8:+FCERROR]
Jul 18 10:53:35.89: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:35.99: [ 6820]: --> [8:+FCERROR]
Jul 18 10:53:35.99: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:36.09: [ 6820]: --> [8:+FCERROR]
Jul 18 10:53:36.09: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:36.19: [ 6820]: --> [8:+FCERROR]
Jul 18 10:53:36.19: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:36.29: [ 6820]: --> [8:+FCERROR]
Jul 18 10:53:36.29: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:36.39: [ 6820]: --> [8:+FCERROR]
Jul 18 10:53:36.39: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:36.49: [ 6820]: --> [8:+FCERROR]
Jul 18 10:53:36.49: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:36.60: [ 6820]: --> [8:+FCERROR]
Jul 18 10:53:36.60: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:36.70: [ 6820]: --> [8:+FCERROR]
Jul 18 10:53:36.70: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:36.80: [ 6820]: --> [8:+FCERROR]
Jul 18 10:53:36.80: [ 6820]: <-- [9:AT+FRH=3\r]
Jul 18 10:53:36.90: [ 6820]: --> [8:+FCERROR]
Jul 18 10:53:36.90: [ 6820]: MODEM input buffering enabled
Jul 18 10:53:36.90: [ 6820]: <-- [9:AT+FRS=1\r]
Jul 18 10:53:37.01: [ 6820]: --> [2:OK]
Jul 18 10:53:37.01: [ 6820]: <-- [10:AT+FRM=98\r]
Jul 18 10:53:44.01: [ 6820]: MODEM TIMEOUT: reading line from modem
Jul 18 10:53:44.11: [ 6820]: --> [2:OK]
Jul 18 10:53:44.11: [ 6820]: RECV FAX (000000987): recvq/fax000000242.tif from +49 00000000 00, route to <unspecified>, 0 pages in 0:18

Jul 18 10:53:44.11: [ 6820]: RECV FAX: T.30 T2 timeout, expected page not received
Jul 18 10:53:44.11: [ 6820]: <-- [9:AT+FTH=3\r]
Jul 18 10:53:44.21: [ 6820]: --> [7:CONNECT]
Jul 18 10:53:44.22: [ 6820]: <-- HDLC<3:FF C8 5F>
Jul 18 10:53:46.29: [ 6820]: --> [2:OK]
Jul 18 10:53:46.29: [ 6820]: MODEM input buffering enabled
Jul 18 10:53:46.29: [ 6820]: RECV FAX (000000987): session with +49 00000000 00 terminated abnormally: T.30 T2 timeout, expected page not received

Jul 18 10:53:46.29: [ 6820]: RECV FAX: bin/faxrcvd "recvq/fax000000242.tif" "ttyx1" "000000987" "T.30 T2 timeout, expected page not received" "384201" ""

Jul 18 10:53:46.29: [ 6820]: RECV FAX: end
Jul 18 10:53:46.29: [ 6820]: SESSION END


I am using the standard config file supplied with t38modem.

Config.ttyx
#
# HylaFAX configuration for a T38FAX Pseudo Modem
#

SessionTracing:         0x2FFF

ModemType:              Class1          # use class 1 interface
ModemFlowControl:       rtscts          # default

ModemRevQueryCmd:       AT+FREV?
Class1FrameOverhead:    2               # does not include FCS
Class1MsgRecvHackCmd:   AT+FRS=1
Class1TCFRecvHack:      Yes
Class1ECMSupport:       No

#
# AT#CID=10 enables ANI/DNIS reporting between the
# first and second RINGs in the form:
#
#   RING
#   NMBR = <calling number>
#   NDID = <called number>
#   RING
#
ModemResetCmds: "AT#CID=10"     # enable ANI/DNIS reporting
RingsBeforeAnswer:      2               # collect info between two RINGs
QualifyCID:             etc/cid         # CID access control list file
CIDNumber:              "NDID = "# pattern string for calling number
CIDName:                "NMBR = "# pattern string for called number

#
# T.38 dial modifiers
#
# F - enable T.38 mode request after dialing
# V - disable T.38 mode request after dialing (remote host should do it)
#
# calling/called number dial modifiers
#
# L - reset and begin of calling number
# D - continue of called number
#
#ModemDialCmd:          ATDF%s          # user can override F by dial V
#ModemDialCmd:          ATDV%s          # user can override V by dial F
#ModemDialCmd:          ATD%sF          # user can't override F
#ModemDialCmd:          ATD%sV          # user can't override V
#ModemDialCmd:          ATD%sVL         # user can't override V or calling number


The t.38 modem's are lauched with
/usr/sbin/t38modem -g 192.219.85.190 -t -o /var/log/t38x1.log -p ttyx1 --route all@xxxxxxxxxxxxxx -u 384201 --listenport 17201 --old-asn&

/usr/sbin/t38modem -g 192.219.85.190 -t -o /var/log/t38x2.log -p ttyx2 --route all@xxxxxxxxxxxxxx -u 384202 --listenport 17202 --old-asn&





Project hosted by iFAX Solutions