Free FaxForAsterisk ReceiveFAX not working

Community-based Support for users of Free Fax For Asterisk

Free FaxForAsterisk ReceiveFAX not working

Postby srinivasantarvedi » Thu Dec 31, 2009 4:14 am

Hello users,

Recently i have installed the free version of FaxForAsterisk and trying to work with it by sending a fax
on T38.

My version information is as follows

i)Asterisk 1.6.0.20
ii)res_fax-1.6.0.14_1.1.6-x86_32
iii)res_fax_digium-1.6.0.14_1.1.6-i686_32

sip.conf
[general]
t38pt_udptl=yes

extensions.conf
[default]
exten => _XXXXXXXXXX,1,NoOp(Fax Incoming Call)
exten => _XXXXXXXXXX,n,GoTo(faxin,${EXTEN},1)

[faxin]
exten => _XXXXXXXXXX,1,NoOp(This is ReceiveFAX application Testing)
exten => _XXXXXXXXXX,n,Wait(6)
exten => _XXXXXXXXXX,n,NoOp(******* SETTING FAXOPTS *********)
exten => _XXXXXXXXXX,n,Set(FAXOPT(ecm)=yes)
exten => _XXXXXXXXXX,n,Set(FAXOPT(localstationid)= 1234567890)
exten => _XXXXXXXXXX,n,Set(FAXOPT(maxrate)=14400)
exten => _XXXXXXXXXX,n,Set(FAXOPT(minrate)=2400)
exten => _XXXXXXXXXX,n,Set(FAXOPT(modem)=V17)
exten => _XXXXXXXXXX,n,Wait(6)
exten => _XXXXXXXXXX,n,NoOp(********* RECEIVING FAX *********)
exten => _XXXXXXXXXX,n,ReceiveFAX(/root/receivefax.tif)


exten => h,1,NoOp(FAXOPT(ecm) : ${FAXOPT(ecm)})
exten => h,n,NoOp(FAXOPT(filename) : ${FAXOPT(filename)})
exten => h,n,NoOp(FAXOPT(headerinfo) : ${FAXOPT(headerinfo)})
exten => h,n,NoOp(FAXOPT(locastationid) : ${FAXOPT(localstationid)})
exten => h,n,NoOp(FAXOPT(maxrate) : ${FAXOPT(maxrate)})
exten => h,n,NoOp(FAXOPT(minrate) : ${FAXOPT(minrate)})
exten => h,n,NoOp(FAXOPT(pages) : ${FAXOPT(pages)})
exten => h,n,NoOp(FAXOPT(rate) : ${FAXOPT(rate)})
exten => h,n,NoOp(FAXOPT(remotestationid): ${FAXOPT(remotestationid)})
exten => h,n,NoOp(FAXOPT(resolution) : ${FAXOPT(resolution)})
exten => h,n,NoOp(FAXOPT(status) : ${FAXOPT(status)})
exten => h,n,NoOp(FAXOPT(statusstr) : ${FAXOPT(statusstr)})
exten => h,n,NoOp(FAXOPT(err) : ${FAXOPT(error)})


and my asterisk cli information is as follows

asterisk CLI>fax show version
FAX For Asterisk Components:
Applications: 1.6.0.14_1.1.6
Digium FAX Driver: 1.6.0.14_1.1.6 (optimized for i686_32)

Using SIP RTP CoS mark 5
== Using UDPTL CoS mark 5
-- Executing [2016289913@default:1] NoOp("SIP/204.16.59.19-00000014", "Fax Incoming Call") in new stack
-- Executing [2016289913@default:2] Goto("SIP/204.16.59.19-00000014", "faxin,2016289913,1") in new stack
-- Goto (faxin,2016289913,1)
-- Executing [2016289913@faxin:1] NoOp("SIP/204.16.59.19-00000014", "This is ReceiveFAX application Testing") in new stack
-- Executing [2016289913@faxin:2] Wait("SIP/204.16.59.19-00000014", "6") in new stack
-- Executing [2016289913@faxin:3] NoOp("SIP/204.16.59.19-00000014", "******* SETTING FAXOPTS *********") in new stack
-- Executing [2016289913@faxin:4] Set("SIP/204.16.59.19-00000014", "FAXOPT(ecm)=yes") in new stack
-- Executing [2016289913@faxin:5] Set("SIP/204.16.59.19-00000014", "FAXOPT(localstationid)= 1234567890") in new stack
-- Executing [2016289913@faxin:6] Set("SIP/204.16.59.19-00000014", "FAXOPT(maxrate)=14400") in new stack
-- Executing [2016289913@faxin:7] Set("SIP/204.16.59.19-00000014", "FAXOPT(minrate)=2400") in new stack
-- Executing [2016289913@faxin:8] Set("SIP/204.16.59.19-00000014", "FAXOPT(modem)=V17") in new stack
-- Executing [2016289913@faxin:9] Wait("SIP/204.16.59.19-00000014", "6") in new stack
-- Executing [2016289913@faxin:10] NoOp("SIP/204.16.59.19-00000014", "********* RECEIVING FAX *********") in new stack
-- Executing [2016289913@faxin:11] ReceiveFAX("SIP/204.16.59.19-00000014", "/root/receivefax.tif") in new stack
-- Channel 'SIP/204.16.59.19-00000014' receiving FAX '/root/receivefax.tif'
[Dec 31 17:39:55] NOTICE[23578]: res_fax.c:712 generic_fax_exec: Negotiating T.38 for receive on SIP/204.16.59.19-00000014
[Dec 31 17:39:55] NOTICE[23578]: res_fax.c:779 generic_fax_exec: Negotiated T.38 for receive on SIP/204.16.59.19-00000014
-- Channel 'SIP/204.16.59.19-00000014' FAX session '14' started
-- FAX handle 0: [ 000.000103 ], STAT_EVT_STRT_RX st: IDLE rt: IDLENSRX
-- FAX handle 0: [ 000.000165 ], STAT_EVT_RX_HW_RDY st: WT_RX_HW_RDY rt: RRDYNHRY
-- FAX handle 0: [ 000.000194 ], STAT_INFO_CSI
-- FAX handle 0: [ 000.000246 ], STAT_INFO_DIS
-- FAX handle 0: [ 005.252355 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21
-- FAX handle 0: [ 008.502165 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: XXXXNT4X
-- FAX handle 0: [ 008.502187 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: RXXXNFRX
-- FAX handle 0: [ 008.502203 ], STAT_INFO_CSI
-- FAX handle 0: [ 008.502254 ], STAT_INFO_DIS
-- FAX handle 0: [ 010.671745 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21
-- FAX handle 0: [ 014.001042 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: XXXXNT4X
-- FAX handle 0: [ 014.001060 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: RXXXNFRX
-- FAX handle 0: [ 014.001072 ], STAT_INFO_CSI
-- FAX handle 0: [ 014.001116 ], STAT_INFO_DIS
-- FAX handle 0: [ 016.172621 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21
-- FAX handle 0: [ 019.502918 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: XXXXNT4X
-- FAX handle 0: [ 019.502934 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: RXXXNFRX
-- FAX handle 0: [ 019.502944 ], STAT_INFO_CSI
-- FAX handle 0: [ 019.502987 ], STAT_INFO_DIS
-- FAX handle 0: [ 021.671498 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21
-- FAX handle 0: [ 025.001795 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: XXXXNT4X
-- FAX handle 0: [ 025.001811 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: RXXXNFRX
-- FAX handle 0: [ 025.001822 ], STAT_INFO_CSI
-- FAX handle 0: [ 025.001864 ], STAT_INFO_DIS
-- FAX handle 0: [ 027.172381 ], STAT_EVT_TX_V21_DONE st: WT_DIS_RSP rt: WDSRNT21
-- FAX handle 0: [ 030.502672 ], STAT_EVT_T4_EXP st: WT_DIS_RSP rt: XXXXNT4X
-- FAX handle 0: [ 030.502688 ], STAT_EVT_FSC_ERR st: WT_DIS_RSP rt: RXXXNFRX
-- FAX handle 0: [ 030.502699 ], STAT_INFO_CSI
-- FAX handle 0: [ 030.502742 ], STAT_INFO_DIS
[Dec 31 17:40:27] NOTICE[23578]: res_fax.c:906 generic_fax_exec: Channel 'SIP/204.16.59.19-00000014' did not return a frame; probably hung up.
-- FAX handle 0: [ 031.791919 ], STAT_EVT_TMR_INT_EXP st: WT_DIS_RSP rt: XXXXNTIX
-- FAX handle 0: [ 032.671246 ], STAT_EVT_TX_V21_DONE st: WT_HW_CLS rt: UNEXPECT
-- FAX handle 0: [ 034.292902 ], STAT_EVT_HW_CLOSE st: WT_HW_CLS rt: WCLSNCLS
-- FAX handle 0: [ 034.292976 ], STAT_SES_COMPLETE
== Spawn extension (faxin, 2016289913, 11) exited non-zero on 'SIP/204.16.59.19-00000014'
Executing [h@faxin:1] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(ecm) : no") in new stack
-- Executing [h@faxin:2] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(filename) : /root/receivefax.tif") in new stack
-- Executing [h@faxin:3] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(headerinfo) : ") in new stack
-- Executing [h@faxin:4] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(locastationid) : 1234567890") in new stack
-- Executing [h@faxin:5] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(maxrate) : 14400") in new stack
-- Executing [h@faxin:6] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(minrate) : 2400") in new stack
-- Executing [h@faxin:7] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(pages) : 0") in new stack
-- Executing [h@faxin:8] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(rate) : 2400") in new stack
-- Executing [h@faxin:9] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(remotestationid): ") in new stack
-- Executing [h@faxin:10] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(resolution) : unknown") in new stack
-- Executing [h@faxin:11] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(status) : FAILED") in new stack
-- Executing [h@faxin:12] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(statusstr) : FAX_NO_FAX") in new stack
-- Executing [h@faxin:13] NoOp("SIP/204.16.59.19-00000012", "FAXOPT(err) : T1_TIMEOUT") in new stack



Please advise me,

Thanks in advance
srinivas
srinivasantarvedi
Newsterisk
 
Posts: 1
Joined: Thu Dec 31, 2009 3:31 am

Return to Fax For Asterisk

Who is online

Users browsing this forum: No registered users and 0 guests