Recevefax application could not receive T38 fax stably

Community-based Support for users of Free Fax For Asterisk

Recevefax application could not receive T38 fax stably

Postby xiejun » Wed Oct 19, 2011 12:35 am

our system is Centos 5(Linux version 2.6.18-164.el5),Asterisk is 1.8.7,i got a 1 channel Free fax of digium.
we send fax from a PSTN fax machine going through a As5400 (Cisco Voice GateWay) using SIP to the Asterisk server.
THAT IS : fax machine --PSTN -> AS5400 --SIP (Ulaw or T38)-> asterisk server(Receivefax).

when i tested fax receiving using G711alaw (fax over voice),almost were all successful.
but if i test T38 receiveing.about 50% failed.sometimes the pag have been receive succeffully,but Asterisk still report Failure Message.
i traced the fax debug,pls view the following ,anybody can give me suggetions.thanks a million.

sh-ws-38*CLI>
== Using UDPTL CoS mark 5
== Using SIP RTP CoS mark 5
-- Executing [58500063@faxin:1] NoOp("SIP/c_bj-gw1-00000064", "") in new stack
-- Executing [58500063@faxin:2] Answer("SIP/c_bj-gw1-00000064", "") in new stack
-- Executing [58500063@faxin:3] ReceiveFAX("SIP/c_bj-gw1-00000064", "/tmp/fax-350064.tiff") in new stack
-- Channel 'SIP/c_bj-gw1-00000064' receiving FAX '/tmp/fax-350064.tiff'
-- Channel 'SIP/c_bj-gw1-00000064' FAX session '6' started
-- FAX handle 0: [ 000.000486 ], STAT_EVT_STRT_RX st: IDLE rt: IDLENSRX
-- FAX handle 0: [ 000.000614 ], STAT_EVT_RX_HW_RDY st: WT_RX_HW_RDY rt: RRDYNHRY
-- FAX handle 0: [ 000.000679 ], P30EVN_RECEIVE_STARTED
-- FAX handle 0: [ 000.000712 ], STAT_INFO_CSI
-- FAX handle 0: [ 000.000778 ], STAT_INFO_DIS
-- FAX handle 0: [ 002.174577 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21
-- FAX handle 0: [ 005.502407 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: RXXXNFRX
-- FAX handle 0: [ 005.502603 ], STAT_INFO_CSI
-- FAX handle 0: [ 005.502689 ], STAT_INFO_DIS
-- FAX handle 0: [ 007.668809 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21
-- FAX handle 0: [ 010.095608 ], STAT_INFO_TSI
-- FAX handle 0: [ 010.387851 ], STAT_INFO_DCS
-- FAX handle 0: [ 010.448328 ], STAT_EVT_DCS st: WT_DIS_RSP rt: WDSRNDCS
-- FAX handle 0: [ 010.448685 ], STAT_NEG_V17_14400
-- FAX handle 0: [ 010.448737 ], STAT_NEG_MH
-- FAX handle 0: [ 010.448761 ], STAT_NEG_A4
-- FAX handle 0: [ 010.448785 ], STAT_NEG_RES_204x98
-- FAX handle 0: [ 013.588916 ], STAT_EVT_RX_TRN_END st: RCV_TRN rt: RTCFNERT
-- FAX handle 0: [ 013.589025 ], STAT_FRM_CFR
-- FAX handle 0: [ 014.787368 ], STAT_EVT_TX_V21_DONE st: RCV_IMG_STRT rt: RISTNT21
-- FAX handle 0: [ 015.897584 ], STAT_EVT_RX_IMG_STRT st: RCV_IMG_STRT rt: RISTNSRI
-- FAX handle 0: [ 015.897694 ], P30EVN_PHASE_C
-- FAX handle 0: [ 015.897776 ], P30EVN_DOC_START
-- FAX handle 0: [ 015.897808 ], P30EVN_PAGE_START
-- FAX handle 0: [ 058.623975 ], STAT_EVT_RX_IMG_END st: RCV_IMAGE rt: RIMGNERI
-- FAX handle 0: [ 059.934516 ], STAT_EVT_FSC_ERR st: F_END_NORM rt: FEIMNFSC
-- FAX handle 0: [ 064.128422 ], STAT_EVT_FSC_ERR st: F_END_NORM rt: FEIMNFSC
-- FAX handle 0: [ 070.399761 ], STAT_FRM_EOP
-- FAX handle 0: [ 070.459654 ], STAT_EVT_EOP st: F_END_NORM rt: FEIMNEOP
-- FAX handle 0: [ 070.459740 ], P30EVN_PAGE_END
-- FAX handle 0: [ 070.459770 ], STAT_FRM_MCF
-- FAX handle 0: [ 070.459818 ], P30EVN_DOC_END
-- FAX handle 0: [ 071.653566 ], STAT_EVT_TX_V21_DONE st: F_END_NORM rt: FECMNFCS
-- FAX handle 0: [ 073.549850 ], STAT_EVT_FSC_ERR st: F_END_NORM rt: FEIMNFSC
-- FAX handle 0: [ 074.861586 ], STAT_EVT_TMR_INT_EXP st: F_END_NORM rt: XXXXNTIX
-- FAX handle 0: [ 077.364547 ], STAT_EVT_HW_CLOSE st: WT_HW_CLS rt: WCLSNCLS
-- FAX handle 0: [ 077.364987 ], STAT_SES_COMPLETE
-- FAX handle 0: [ 077.365045 ], P30EVN_COMPLETE
[Oct 19 05:59:07] ERROR[17031]: res_fax.c:1344 generic_fax_exec: channel 'SIP/c_bj-gw1-00000064' FAX session '6' failure, reason: 'fax session timed-out' (TIMEOUT)
== Spawn extension (faxin, 58500063, 3) exited non-zero on 'SIP/c_bj-gw1-00000064'
== Using UDPTL CoS mark 5
== Using SIP RTP CoS mark 5
-- Executing [1403216197572580@conf_in:1] NoOp("SIP/usa222-00000065", "") in new stack
-- Executing [1403216197572580@conf_in:2] Set("SIP/usa222-00000065", "CALLERID(NAME)=") in new stack
-- Executing [1403216197572580@conf_in:3] Dial("SIP/usa222-00000065", "SIP/1403216197572580@Arbinet-0110,50,g") in new stack
== Using UDPTL CoS mark 5
== Using SIP RTP CoS mark 5
-- Called SIP/1403216197572580@Arbinet-0110
-- SIP/Arbinet-0110-00000066 answered SIP/usa222-00000065
-- Locally bridging SIP/usa222-00000065 and SIP/Arbinet-0110-00000066
== Spawn extension (conf_in, 1403216197572580, 3) exited non-zero on 'SIP/usa222-00000065'
sh-ws-38*CLI>
sh-ws-38*CLI>
sh-ws-38*CLI>
sh-ws-38*CLI>
sh-ws-38*CLI>
sh-ws-38*CLI>

the Above session,page have been received succefully,but system still said failure,because of time out.

sh-ws-38*CLI>
sh-ws-38*CLI>
sh-ws-38*CLI>
sh-ws-38*CLI>
sh-ws-38*CLI>
sh-ws-38*CLI>
sh-ws-38*CLI>
sh-ws-38*CLI>
sh-ws-38*CLI>
sh-ws-38*CLI>
sh-ws-38*CLI>
-- Remote UNIX connection disconnected
== Using UDPTL CoS mark 5
== Using SIP RTP CoS mark 5
-- Executing [58500063@faxin:1] NoOp("SIP/c_bj-gw2-00000067", "") in new stack
-- Executing [58500063@faxin:2] Answer("SIP/c_bj-gw2-00000067", "") in new stack
-- Executing [58500063@faxin:3] ReceiveFAX("SIP/c_bj-gw2-00000067", "/tmp/fax-420412.tiff") in new stack
-- Channel 'SIP/c_bj-gw2-00000067' receiving FAX '/tmp/fax-420412.tiff'
-- Channel 'SIP/c_bj-gw2-00000067' FAX session '7' started
-- FAX handle 0: [ 000.000391 ], STAT_EVT_STRT_RX st: IDLE rt: IDLENSRX
-- FAX handle 0: [ 000.000654 ], STAT_EVT_RX_HW_RDY st: WT_RX_HW_RDY rt: RRDYNHRY
-- FAX handle 0: [ 000.001110 ], P30EVN_RECEIVE_STARTED
-- FAX handle 0: [ 000.001217 ], STAT_INFO_CSI
-- FAX handle 0: [ 000.001327 ], STAT_INFO_DIS
-- FAX handle 0: [ 002.173517 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21
-- FAX handle 0: [ 005.502260 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: RXXXNFRX
-- FAX handle 0: [ 005.502379 ], STAT_INFO_CSI
-- FAX handle 0: [ 005.502463 ], STAT_INFO_DIS
-- FAX handle 0: [ 007.668567 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21
-- FAX handle 0: [ 010.441244 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: UNEXPECT
-- FAX handle 0: [ 013.602056 ], STAT_EVT_RX_TRN_END st: WT_DIS_RSP rt: RXXXNFRX
-- FAX handle 0: [ 013.602172 ], STAT_INFO_CSI
-- FAX handle 0: [ 013.602252 ], STAT_INFO_DIS
-- FAX handle 0: [ 015.772740 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21
-- FAX handle 0: [ 018.244667 ], STAT_INFO_TSI
-- FAX handle 0: [ 018.582226 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: UNEXPECT
-- FAX handle 0: [ 021.758019 ], STAT_EVT_RX_TRN_END st: WT_DIS_RSP rt: RXXXNFRX
-- FAX handle 0: [ 021.758153 ], STAT_INFO_CSI
-- FAX handle 0: [ 021.758223 ], STAT_INFO_DIS
-- FAX handle 0: [ 023.929926 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21
-- FAX handle 0: [ 026.743793 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: UNEXPECT
-- FAX handle 0: [ 029.919230 ], STAT_EVT_RX_TRN_END st: WT_DIS_RSP rt: RXXXNFRX
-- FAX handle 0: [ 029.919382 ], STAT_INFO_CSI
-- FAX handle 0: [ 029.919465 ], STAT_INFO_DIS
-- FAX handle 0: [ 032.092135 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21
-- FAX handle 0: [ 034.107941 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: UNEXPECT
-- FAX handle 0: [ 035.363083 ], STAT_EVT_TMR_INT_EXP st: WT_DIS_RSP rt: XXXXNTIX
-- FAX handle 0: [ 037.323270 ], STAT_EVT_RX_IMG_END st: WT_HW_CLS rt: UNEXPECT
-- FAX handle 0: [ 037.865077 ], STAT_EVT_HW_CLOSE st: WT_HW_CLS rt: WCLSNCLS
-- FAX handle 0: [ 037.865307 ], STAT_SES_COMPLETE
-- FAX handle 0: [ 037.865350 ], P30EVN_COMPLETE
[Oct 19 06:01:21] ERROR[17096]: res_fax.c:1344 generic_fax_exec: channel 'SIP/c_bj-gw2-00000067' FAX session '7' failure, reason: 'fax session timed-out' (TIMEOUT)
== Spawn extension (faxin, 58500063, 3) exited non-zero on 'SIP/c_bj-gw2-00000067'

this one is failed .fax machine caller report failure too.
xiejun
Newsterisk
 
Posts: 3
Joined: Mon Dec 05, 2005 9:28 pm

Return to Fax For Asterisk

Who is online

Users browsing this forum: No registered users and 1 guest