T1_TIMEOUT on fax receiving

Community-based Support for users of Free Fax For Asterisk

T1_TIMEOUT on fax receiving

Postby Pasqu » Tue May 04, 2010 3:10 am

Hi all, I trying to setup a fax server like this: Cisco -> t38 SIP -> Asterisk -> PDF/Mail
The problem is that I see always T1_TIMEOUT error on my try.

My Cisco config

dial-peer voice 31 voip
destination-pattern 8000
session protocol sipv2
session target ipv4:192.168.99.59:5060
session transport udp
dtmf-relay rtp-nte
codec g711alaw
fax rate 14400
fax nsf 000000
fax protocol t38 ls-redundancy 5 hs-redundancy 2 fallback pass-through g711alaw
ip qos dscp cs5 media
no vad
!

Asterisk sip.conf have the line:

t38pt_udptl = yes

extensions.conf is the default for rx_fax.

The console output show these lines:

Code: Select all
FaxServer*CLI>
  == Using SIP RTP CoS mark 5
  == Using UDPTL CoS mark 5
    -- Executing [8000@from-sip:1] Answer("SIP/192.168.99.129-b91772e8", "") in new stack
    -- Executing [8000@from-sip:2] Wait("SIP/192.168.99.129-b91772e8", "6") in new stack
    -- Executing [8000@from-sip:3] Goto("SIP/192.168.99.129-b91772e8", "fax,1") in new stack
    -- Goto (from-sip,fax,1)
    -- Executing [fax@from-sip:1] NoOp("SIP/192.168.99.129-b91772e8", "**** FAX DETECTED ****") in new stack
    -- Executing [fax@from-sip:2] Goto("SIP/192.168.99.129-b91772e8", "fax-rx,8000,1") in new stack
    -- Goto (fax-rx,8000,1)
    -- Executing [8000@fax-rx:1] NoOp("SIP/192.168.99.129-b91772e8", "**** FAX RECEIVE ****") in new stack
[May  4 10:52:52] WARNING[1345]: ast_expr2.fl:433 ast_yyerror: ast_yyerror():  syntax error: syntax error, unexpected '+', expecting $end; Input:
+ 1
^
[May  4 10:52:52] WARNING[1345]: ast_expr2.fl:437 ast_yyerror: If you have questions, please refer to doc/tex/channelvariables.tex in the asterisk source.
    -- Executing [8000@fax-rx:2] Set("SIP/192.168.99.129-b91772e8", "GLOBAL(FAXCOUNT)=") in new stack
  == Setting global variable 'FAXCOUNT' to ''
    -- Executing [8000@fax-rx:3] Set("SIP/192.168.99.129-b91772e8", "FAXCOUNT=") in new stack
    -- Executing [8000@fax-rx:4] Set("SIP/192.168.99.129-b91772e8", "FAXFILE=fax-1006--rx.tif") in new stack
    -- Executing [8000@fax-rx:5] Set("SIP/192.168.99.129-b91772e8", "GLOBAL(LASTFAXCALLERNUM)=1006") in new stack
  == Setting global variable 'LASTFAXCALLERNUM' to '1006'
    -- Executing [8000@fax-rx:6] Set("SIP/192.168.99.129-b91772e8", "GLOBAL(LASTFAXCALLERNAME)=FAX") in new stack
  == Setting global variable 'LASTFAXCALLERNAME' to 'FAX'
    -- Executing [8000@fax-rx:7] NoOp("SIP/192.168.99.129-b91772e8", "**** SETTING FAXOPT ****") in new stack
    -- Executing [8000@fax-rx:8] Set("SIP/192.168.99.129-b91772e8", "FAXOPT(ecm)=yes") in new stack
    -- Executing [8000@fax-rx:9] Set("SIP/192.168.99.129-b91772e8", "FAXOPT(headerinfo)=MY FAXBACK RX") in new stack
    -- Executing [8000@fax-rx:10] Set("SIP/192.168.99.129-b91772e8", "FAXOPT(localstationid)=1234567890") in new stack
    -- Executing [8000@fax-rx:11] Set("SIP/192.168.99.129-b91772e8", "FAXOPT(maxrate)=14400") in new stack
   -- Executing [8000@fax-rx:12] Set("SIP/192.168.99.129-b91772e8", "FAXOPT(minrate)=2400") in new stack
    -- Executing [8000@fax-rx:13] NoOp("SIP/192.168.99.129-b91772e8", "FAXOPT(ecm) : yes") in new stack
    -- Executing [8000@fax-rx:14] NoOp("SIP/192.168.99.129-b91772e8", "FAXOPT(headerinfo) : MY FAXBACK RX") in new stack
    -- Executing [8000@fax-rx:15] NoOp("SIP/192.168.99.129-b91772e8", "FAXOPT(localstationid) : 1234567890") in new stack
    -- Executing [8000@fax-rx:16] NoOp("SIP/192.168.99.129-b91772e8", "FAXOPT(maxrate) : 14400") in new stack
    -- Executing [8000@fax-rx:17] NoOp("SIP/192.168.99.129-b91772e8", "FAXOPT(minrate) : 2400") in new stack
    -- Executing [8000@fax-rx:18] NoOp("SIP/192.168.99.129-b91772e8", "**** RECEIVING FAX : fax-1006--rx.tif ****") in new stack
    -- Executing [8000@fax-rx:19] ReceiveFAX("SIP/192.168.99.129-b91772e8", "/home/fax/fax-1006--rx.tif,df") in new stack
    -- Channel 'SIP/192.168.99.129-b91772e8' receiving FAX '/home/fax/fax-1006--rx.tif'
[May  4 10:52:55] NOTICE[1345]: res_fax.c:1083 receivefax_t38_init: Negotiating T.38 for receive on SIP/192.168.99.129-b91772e8
[May  4 10:52:55] NOTICE[1345]: res_fax.c:1125 receivefax_t38_init: Negotiated T.38 for receive on SIP/192.168.99.129-b91772e8
    -- Channel 'SIP/192.168.99.129-b91772e8' FAX session '2' started
    -- FAX handle 0: [ 000.000064 ], STAT_EVT_STRT_RX       st: IDLE         rt: IDLENSRX
    -- FAX handle 0: [ 000.000134 ], STAT_EVT_RX_HW_RDY     st: WT_RX_HW_RDY rt: RRDYNHRY
    -- FAX handle 0: [ 000.000159 ], P30EVN_RECEIVE_STARTED
    -- FAX handle 0: [ 000.000169 ], STAT_INFO_CSI
    -- FAX handle 0: [ 000.000189 ], STAT_INFO_DIS
    -- FAX handle 0: [ 002.172263 ], STAT_EVT_TX_V21_DONE   st: WT_DIS_RSP   rt: WDSRNT21
    -- FAX handle 0: [ 005.501170 ], STAT_EVT_T4_EXP        st: WT_DIS_RSP   rt: RXXXNFRX
    -- FAX handle 0: [ 005.501198 ], STAT_INFO_CSI
    -- FAX handle 0: [ 005.501240 ], STAT_INFO_DIS
    -- FAX handle 0: [ 007.668160 ], STAT_EVT_TX_V21_DONE   st: WT_DIS_RSP   rt: WDSRNT21
    -- FAX handle 0: [ 011.000867 ], STAT_EVT_T4_EXP        st: WT_DIS_RSP   rt: RXXXNFRX
    -- FAX handle 0: [ 011.000887 ], STAT_INFO_CSI
    -- FAX handle 0: [ 011.000906 ], STAT_INFO_DIS
    -- FAX handle 0: [ 013.167941 ], STAT_EVT_TX_V21_DONE   st: WT_DIS_RSP   rt: WDSRNT21
    -- FAX handle 0: [ 016.500813 ], STAT_EVT_T4_EXP        st: WT_DIS_RSP   rt: RXXXNFRX
    -- FAX handle 0: [ 016.500843 ], STAT_INFO_CSI
    -- FAX handle 0: [ 016.500869 ], STAT_INFO_DIS
    -- FAX handle 0: [ 018.667903 ], STAT_EVT_TX_V21_DONE   st: WT_DIS_RSP   rt: WDSRNT21
[May  4 10:53:14] NOTICE[1170]: chan_iax2.c:8352 update_registry: Restricting registration for peer 'iaxmodem' to 60 seconds (requested 300)
    -- FAX handle 0: [ 022.000773 ], STAT_EVT_T4_EXP        st: WT_DIS_RSP   rt: RXXXNFRX
    -- FAX handle 0: [ 022.000799 ], STAT_INFO_CSI
    -- FAX handle 0: [ 022.000825 ], STAT_INFO_DIS
    -- FAX handle 0: [ 024.167935 ], STAT_EVT_TX_V21_DONE   st: WT_DIS_RSP   rt: WDSRNT21
    -- FAX handle 0: [ 027.500680 ], STAT_EVT_T4_EXP        st: WT_DIS_RSP   rt: RXXXNFRX
    -- FAX handle 0: [ 027.500706 ], STAT_INFO_CSI
    -- FAX handle 0: [ 027.500728 ], STAT_INFO_DIS
    -- FAX handle 0: [ 029.667318 ], STAT_EVT_TX_V21_DONE   st: WT_DIS_RSP   rt: WDSRNT21
    -- FAX handle 0: [ 033.001132 ], STAT_EVT_T4_EXP        st: WT_DIS_RSP   rt: RXXXNFRX
    -- FAX handle 0: [ 033.001152 ], STAT_INFO_CSI
    -- FAX handle 0: [ 033.001172 ], STAT_INFO_DIS
    -- FAX handle 0: [ 035.167843 ], STAT_EVT_TX_V21_DONE   st: WT_DIS_RSP   rt: WDSRNT21
    -- FAX handle 0: [ 038.500716 ], STAT_EVT_T4_EXP        st: WT_DIS_RSP   rt: RXXXNFRX
    -- FAX handle 0: [ 038.500737 ], STAT_INFO_CSI
    -- FAX handle 0: [ 038.500757 ], STAT_INFO_DIS
    -- FAX handle 0: [ 039.999391 ], STAT_EVT_T1_EXP        st: WT_DIS_RSP   rt: WDSRNT1X
    -- FAX handle 0: [ 039.999417 ], P30EVN_PHASE_E
    -- FAX handle 0: [ 039.999424 ], entering CLOSING state
    -- FAX handle 0: [ 039.999426 ], STAT_FRM_DCN
    -- FAX handle 0: [ 040.667309 ], STAT_EVT_TX_V21_DONE   st: SEND_DCN     rt: XDCNNT21
    -- FAX handle 0: [ 041.193943 ], STAT_EVT_TX_V21_DONE   st: WT_HW_CLS    rt: UNEXPECT
    -- FAX handle 0: [ 043.168605 ], STAT_EVT_HW_CLOSE      st: WT_HW_CLS    rt: WCLSNCLS
    -- FAX handle 0: [ 043.168694 ], STAT_SES_COMPLETE
    -- FAX handle 0: [ 043.168702 ], P30EVN_COMPLETE
    -- Channel 'SIP/192.168.99.129-b91772e8' FAX session '2' is complete, result: 'FAILED' (FAX_NO_FAX), error: 'T1_TIMEOUT', pages: 0, resolution: 'unknown', transfer rate: '2400', remoteSID: ''
    -- Auto fallthrough, channel 'SIP/192.168.99.129-b91772e8' status is 'UNKNOWN'
    -- Executing [h@fax-rx:1] NoOp("SIP/192.168.99.129-b91772e8", "FAXOPT(ecm) : no") in new stack
    -- Executing [h@fax-rx:2] NoOp("SIP/192.168.99.129-b91772e8", "FAXOPT(filename) : /home/fax/fax-1006--rx.tif") in new stack
    -- Executing [h@fax-rx:3] NoOp("SIP/192.168.99.129-b91772e8", "FAXOPT(headerinfo) : MY FAXBACK RX") in new stack
    -- Executing [h@fax-rx:4] NoOp("SIP/192.168.99.129-b91772e8", "FAXOPT(localstationid) : 1234567890") in new stack
    -- Executing [h@fax-rx:5] NoOp("SIP/192.168.99.129-b91772e8", "FAXOPT(maxrate) : 14400") in new stack
    -- Executing [h@fax-rx:6] NoOp("SIP/192.168.99.129-b91772e8", "FAXOPT(minrate) : 2400") in new stack
    -- Executing [h@fax-rx:7] NoOp("SIP/192.168.99.129-b91772e8", "FAXOPT(pages) : 0") in new stack
    -- Executing [h@fax-rx:8] NoOp("SIP/192.168.99.129-b91772e8", "FAXOPT(rate) : 2400") in new stack
    -- Executing [h@fax-rx:9] NoOp("SIP/192.168.99.129-b91772e8", "FAXOPT(remotestationid) : ") in new stack
    -- Executing [h@fax-rx:10] NoOp("SIP/192.168.99.129-b91772e8", "FAXOPT(resolution) : unknown") in new stack
    -- Executing [h@fax-rx:11] NoOp("SIP/192.168.99.129-b91772e8", "FAXOPT(status) : FAILED") in new stack
    -- Executing [h@fax-rx:12] NoOp("SIP/192.168.99.129-b91772e8", "FAXOPT(statusstr) : FAX_NO_FAX") in new stack
    -- Executing [h@fax-rx:13] NoOp("SIP/192.168.99.129-b91772e8", "FAXOPT(error) : T1_TIMEOUT") in new stack
[May  4 10:54:


Someone can help me to understand better my problem and how to fix it?

TIA

Pasqu.
Pasqu
Newsterisk
 
Posts: 5
Joined: Thu Dec 21, 2006 10:56 pm

Return to Fax For Asterisk

Who is online

Users browsing this forum: No registered users and 1 guest