Hello list, I'm having some problems with T38Gateway and I was hoping someone could give me a hand to resolve them ...
I'm testing callweaver's 1.2.1 T38Gateway on a debian machine (stable/etch 4.0) with the latest spandsp. The server is connected to the PSTN thru a Sangoma A104 card/zaptel 1.4.12; the T38 tests are done using a Patton 4114 with the latest firmware (5.4) and a Hylafax server on the other side. When the Patton is supposed to receive the data from the Hylafax Server , after a few(3-4 calls) tries the incoming fax arrives correctly. Here's what Hylafax generates when the Patton is receiving with errors: Sep 23 14:19:27.12: [15008]: MODEM <Empty line> Sep 23 14:19:27.12: [15008]: MODEM TIMEOUT: waiting for v.21 carrier Sep 23 14:19:27.12: [15008]: <-- data [1] Sep 23 14:19:27.13: [15008]: --> [2:OK] Sep 23 14:19:27.13: [15008]: <-- [9:AT+FRS=7\r] Sep 23 14:19:27.15: [15008]: --> [2:OK] Sep 23 14:19:27.15: [15008]: SEND send EOP (no more pages or documents) Sep 23 14:19:27.15: [15008]: <-- [9:AT+FTH=3\r] Sep 23 14:19:27.17: [15008]: --> [7:CONNECT] Sep 23 14:19:27.17: [15008]: <-- HDLC<3:FF C8 F4> Sep 23 14:19:27.17: [15008]: <-- data [3] Sep 23 14:19:27.17: [15008]: <-- data [2] Sep 23 14:19:28.25: [15008]: --> [2:OK] Sep 23 14:19:28.25: [15008]: <-- [9:AT+FRH=3\r] Sep 23 14:19:30.17: [15008]: --> [10:NO CARRIER] Sep 23 14:19:30.17: [15008]: MODEM No carrier Sep 23 14:19:30.17: [15008]: <-- [9:AT+FRS=7\r] Sep 23 14:19:30.17: [15008]: --> [5:ERROR] Sep 23 14:19:30.17: [15008]: MODEM Command error Sep 23 14:19:30.17: [15008]: Failure to receive silence (synchronization failure). Sep 23 14:19:30.17: [15008]: SEND send EOP (no more pages or documents) The other scenario, when the Patton submits the fax to callweaver, ends with: CALLWEAVER: app_t38gateway.c:676 t38gateway_exec: T38Gateway exit with ANSWER HYLAFAX: Sep 23 11:29:18.56: [ 4045]: MODEM <Empty line> Sep 23 11:29:18.56: [ 4045]: MODEM TIMEOUT: waiting for v.21 carrier Sep 23 11:29:18.56: [ 4045]: <-- data [1] Sep 23 11:29:18.58: [ 4045]: --> [2:OK] Sep 23 11:29:18.58: [ 4045]: RECV FAX: No sender protocol (T.30 T1 timeout) Sep 23 11:29:18.58: [ 4045]: RECV FAX: end Sep 23 11:29:18.58: [ 4045]: No sender protocol (T.30 T1 timeout) Sep 23 11:29:18.58: [ 4045]: SESSION END Here are my settings: udptl.conf: [general] T38FaxUdpEC = t38UDPFEC T38FaxMaxDatagram = 400 UDPTLFECentries = 2 UDPTLFECspan = 3 sip.conf: t38udptlsupport=yes in general and peer section extensions.conf: [fax_gateway_out] exten => _X.,1,T38Gateway(${TRUNK}/${EXTEN}) exten => _X.,n,Hangup() [fax_gateway_in] exten => _X.,1,FaxDetect(4000) exten => _X.,n,T38Gateway(SIP/0${EXTEN},50) exten => _X.,n,Hangup() The only codec allowed is "alaw". Some interesting lines from debug: chan_zap.c:4816 zt_write: Don't know what to do with frame type '5' Sep 23 09:29:01 DEBUG[3051768752]: app_t38gateway.c:251 t38_tx_packet_handler: t38_tx_packet_handler: Sending 1 copies of frame Sep 23 09:29:01 DEBUG[3051768752]: app_t38gateway.c:90 span_message: FLOW T.38 Tx 292: (0) data v21/hdlc-data + 1 byte(s) Sep 23 09:29:01 DEBUG[3051768752]: app_t38gateway.c:90 span_message: FLOW T.38 Tx 292: IFP c0 01 80 00 00 18 Sep 23 09:29:01 DEBUG[3051768752]: app_t38gateway.c:251 t38_tx_packet_handler: t38_tx_packet_handler: Sending 1 copies of frame Sep 23 09:29:01 DEBUG[3051768752]: app_t38gateway.c:90 span_message: FLOW T.38G HDLC frame type DIS, CRC OK Sep 23 09:29:01 DEBUG[3051768752]: app_t38gateway.c:90 span_message: FLOW T.38G Monitoring DIS Sep 23 09:29:01 DEBUG[3051768752]: app_t38gateway.c:90 span_message: FLOW T.38 Tx 293: (0) data v21/hdlc-fcs-OK + 0 byte(s) Sep 23 09:29:01 DEBUG[3051768752]: app_t38gateway.c:90 span_message: FLOW T.38 Tx 293: IFP c0 01 20 Sep 23 09:29:01 DEBUG[3051768752]: app_t38gateway.c:251 t38_tx_packet_handler: t38_tx_packet_handler: Sending 1 copies of frame Sep 23 09:29:01 DEBUG[3051768752]: app_t38gateway.c:90 span_message: FLOW T.38G HDLC signal status is Carrier down (-1) Sep 23 09:29:01 DEBUG[3051768752]: app_t38gateway.c:90 span_message: FLOW T.38 Tx 294: (0) data v21/hdlc-sig-end + 0 byte(s) Sep 23 09:29:01 DEBUG[3051768752]: app_t38gateway.c:90 span_message: FLOW T.38 Tx 294: IFP c0 01 10 Sep 23 09:29:01 DEBUG[3051768752]: app_t38gateway.c:251 t38_tx_packet_handler: t38_tx_packet_handler: Sending 3 copies of frame Sep 23 09:29:01 DEBUG[3051768752]: app_t38gateway.c:90 span_message: FLOW T.38 Tx 295: indicator no-signal Sep 23 09:29:01 DEBUG[3051768752]: app_t38gateway.c:251 t38_tx_packet_handler: t38_tx_packet_handler: Sending 3 copies of frame Sep 23 09:29:01 DEBUG[3051768752]: app_t38gateway.c:90 span_message: FLOW T.38G Restart rx modem - modem = 0, short train = 0, ECM = 0 -- Channel 0/31, span 1 got hangup request Any suggestions/ideas/questions are greatly appreciated. Thank you, Alex
_______________________________________________ Callweaver-users mailing list Callweaver-users@callweaver.org http://lists.callweaver.org/mailman/listinfo/callweaver-users