Unable to recive faxes using ReceiveFax

Community-based Support for users of Free Fax For Asterisk

Unable to recive faxes using ReceiveFax

Postby karim786786 » Sat Dec 12, 2009 12:28 pm

Hi,

I have sangoma PRI card. I am trying to have asterisk receive the fax over the PRI card but not having success. I have installed free fax for asterisk. Here are the versions that I have

********************************************************************
* Running Asterisk Version : Asterisk 1.4.26.3
* Asterisk Source Version : 1.4.26.3
* Dahdi Source Version : 2.2.0.2+2.2.0
* Libpri Source Version : 1.4.10.2
* Addons Source Version : 1.4.9
********************************************************************

fax version is:

pbx*CLI> fax show version
Fax For Asterisk Components:
pbx*CLI>Applications: 1.4_1.0.14
Digium Fax G.711 Driver: 1.4_1.0.11 (optimized for i686_32)


I see following output with fax debug enabled:

-- Redirecting DAHDI/1-1 to fax extension
== Spawn extension (from-pstn, fax, 0) exited non-zero on 'DAHDI/1-1'
-- Executing [fax@from-pstn:1] Goto("DAHDI/1-1", "ext-fax|in_fax|1") in new stack
-- Goto (ext-fax,in_fax,1)
-- Executing [in_fax@ext-fax:1] StopPlayTones("DAHDI/1-1", "") in new stack
-- Executing [in_fax@ext-fax:2] GotoIf("DAHDI/1-1", "1?3:analog_fax|1") in new stack
-- Goto (ext-fax,in_fax,3)
-- Executing [in_fax@ext-fax:3] Macro("DAHDI/1-1", "faxreceive") in new stack
-- Executing [s@macro-faxreceive:1] Set("DAHDI/1-1", "FAXFILE=/var/spool/asterisk/fax/1260642216.39.tif") in new stack
-- Executing [s@macro-faxreceive:2] Set("DAHDI/1-1", "EMAILADDR=mark.boultonmills@enerjet.ca") in new stack
-- Executing [s@macro-faxreceive:3] NoOp("DAHDI/1-1", "**** SETTING FAXOPT ****") in new stack
-- Executing [s@macro-faxreceive:4] Set("DAHDI/1-1", "FAXOPT(ecm)=yes") in new stack
-- Executing [s@macro-faxreceive:5] Set("DAHDI/1-1", "FAXOPT(headerinfo)=MY FAXBACK RX") in new stack
-- Executing [s@macro-faxreceive:6] Set("DAHDI/1-1", "FAXOPT(localstationid)=1234567890") in new stack
-- Executing [s@macro-faxreceive:7] Set("DAHDI/1-1", "FAXOPT(maxrate)=9600") in new stack
-- Executing [s@macro-faxreceive:8] Set("DAHDI/1-1", "FAXOPT(minrate)=2400") in new stack
-- Executing [s@macro-faxreceive:9] ReceiveFAX("DAHDI/1-1", "/var/spool/asterisk/fax/1260642216.39.tif") in new stack
-- Channel 'DAHDI/1-1' is receiving fax '/var/spool/asterisk/fax/1260642216.39.tif'
-- Channel 'DAHDI/1-1' fax session '30' started
-- Channel 'DAHDI/1-1' fax session '30', [ 000.002413 ], STAT_EVT_STRT_RX st: IDLE rt: IDLENSRX
-- Channel 'DAHDI/1-1' fax session '30', [ 000.002572 ], STAT_EVT_RX_HW_RDY st: WT_RX_HW_RDY rt: RRDYNHRY
-- Channel 'DAHDI/1-1' fax session '30', [ 000.002669 ], STAT_INFO_CSI
-- Channel 'DAHDI/1-1' fax session '30', [ 000.002811 ], STAT_INFO_DIS
-- Channel 'DAHDI/1-1' fax session '30', [ 005.251826 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21
-- Channel 'DAHDI/1-1' fax session '30', [ 008.503997 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: XXXXNT4X
-- Channel 'DAHDI/1-1' fax session '30', [ 008.504125 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: RXXXNFRX
-- Channel 'DAHDI/1-1' fax session '30', [ 008.504201 ], STAT_INFO_CSI
-- Channel 'DAHDI/1-1' fax session '30', [ 008.504312 ], STAT_INFO_DIS
-- Channel 'DAHDI/1-1' fax session '30', [ 010.672158 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21
-- Channel 'DAHDI/1-1' fax session '30', [ 014.005321 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: XXXXNT4X
-- Channel 'DAHDI/1-1' fax session '30', [ 014.005446 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: RXXXNFRX
-- Channel 'DAHDI/1-1' fax session '30', [ 014.005518 ], STAT_INFO_CSI
-- Channel 'DAHDI/1-1' fax session '30', [ 014.005622 ], STAT_INFO_DIS
-- Channel 'DAHDI/1-1' fax session '30', [ 016.171473 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21
-- Channel 'DAHDI/1-1' fax session '30', [ 019.504646 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: XXXXNT4X
-- Channel 'DAHDI/1-1' fax session '30', [ 019.504771 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: RXXXNFRX
-- Channel 'DAHDI/1-1' fax session '30', [ 019.504833 ], STAT_INFO_CSI
-- Channel 'DAHDI/1-1' fax session '30', [ 019.504981 ], STAT_INFO_DIS
-- Channel 'DAHDI/1-1' fax session '30', [ 021.671804 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21
-- Channel 'DAHDI/1-1' fax session '30', [ 025.004977 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: XXXXNT4X
-- Channel 'DAHDI/1-1' fax session '30', [ 025.005118 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: RXXXNFRX
-- Channel 'DAHDI/1-1' fax session '30', [ 025.005192 ], STAT_INFO_CSI
-- Channel 'DAHDI/1-1' fax session '30', [ 025.005299 ], STAT_INFO_DIS
-- Channel 'DAHDI/1-1' fax session '30', [ 027.172138 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21
-- Channel 'DAHDI/1-1' fax session '30', [ 030.505300 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: XXXXNT4X
-- Channel 'DAHDI/1-1' fax session '30', [ 030.505426 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: RXXXNFRX
-- Channel 'DAHDI/1-1' fax session '30', [ 030.505504 ], STAT_INFO_CSI
-- Channel 'DAHDI/1-1' fax session '30', [ 030.505614 ], STAT_INFO_DIS
-- Channel 'DAHDI/1-1' fax session '30', [ 032.671462 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21
-- Channel 'DAHDI/1-1' fax session '30', [ 036.004631 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: XXXXNT4X
-- Channel 'DAHDI/1-1' fax session '30', [ 036.004761 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: RXXXNFRX
-- Channel 'DAHDI/1-1' fax session '30', [ 036.004834 ], STAT_INFO_CSI
-- Channel 'DAHDI/1-1' fax session '30', [ 036.004940 ], STAT_INFO_DIS
-- Channel 'DAHDI/1-1' fax session '30', [ 038.171786 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21
-- Channel 'DAHDI/1-1' fax session '30', [ 040.003865 ], STAT_EVT_T1_EXP st: WT_DIS_RSP rt: WDSRNT1X
-- Channel 'DAHDI/1-1' fax session '30', [ 040.003998 ], STAT_FRM_DCN
-- Channel 'DAHDI/1-1' fax session '30', [ 041.197975 ], STAT_EVT_TX_V21_DONE st: SEND_DCN rt: XDCNNT21
-- Channel 'DAHDI/1-1' fax session '30', [ 043.699090 ], STAT_EVT_HW_CLOSE st: WT_HW_CLS rt: WCLSNCLS
-- Channel 'DAHDI/1-1' fax session '30', [ 043.699301 ], STAT_SES_COMPLETE
-- Channel 'DAHDI/1-1' fax session '30' is complete, result: 'FAILED' (FAX_NO_FAX), error: 'T1_TIMEOUT', pages: 0, resolution: 'unknown', transfer rate: '2400', remoteSID: ''
-- Executing [in_fax@ext-fax:4] Hangup("DAHDI/1-1", "") in new stack
== Spawn extension (ext-fax, in_fax, 4) exited non-zero on 'DAHDI/1-1'
-- Executing [h@ext-fax:2] Hangup("DAHDI/1-1", "") in new stack
== Spawn extension (ext-fax, h, 2) exited non-zero on 'DAHDI/1-1'
-- Hungup 'DAHDI/1-1'
karim786786
Newsterisk
 
Posts: 1
Joined: Sat Dec 12, 2009 12:16 pm

Return to Fax For Asterisk

Who is online

Users browsing this forum: No registered users and 1 guest