fax for asterisk1.8.13.0

Community-based Support for users of Free Fax For Asterisk

fax for asterisk1.8.13.0

Postby patel_ravij » Mon Aug 11, 2014 11:14 pm

Hello,
I am using centos6 , Asterisk V1.8.13.0 , Spandsp FAX Driver: 20110122 075024 .
My issue is related to ReceiveFAX application.
- I have purchased an ISDN FAX T.38 enabled line . I am sending fax using it to the US DID number which is also T.38 enabled. Now I received that call on Asterisk V1.8.13.0 .
- It Received the fax and stored in the given location .
- But Problem rises here -> Receive FAX completed and status FAILED . FAXERROR is Disconnected after permitted retries . Sometimes error like this -> FAX CNG detected but no fax extension and FAXERROR is The call dropped prematurely.

Need Help . Suggestions are appreciated.

Here is my Dialplan:

exten => _X.,1,NoOp(Calling FAX AGI)
same => n,Noop(${CALLERID(num)})
same => n,Noop(${UNIQUEID})
same => n,Set(FAXOPT(ecm)=no) ;(I have tried both yes/no)
same => n,Set(FAXOPT(maxrate)=14400)
same => n,Set(FAXOPT(minrate)=2400)
same => n,Set(LOCALHEADERINFO= fax termination -www.xyz.com)
same => n,Set(LOCALSTATIONINFO= FAX)
same => n,Set(FAXFILE=/var/spool/asterisk/fax/2/${CALLERID(num)}-${UNIQUEID}.tiff)
same => n,answer()
same => n,ReceiveFAX(${FAXFILE},f)
;same => n,AGI(fax_agi)
same => n,noop(${FAXSTATUS})
same => n,Noop(${TESTSET})

exten => h,1,NoOp(Receive FAX completed and status ${FAXSTATUS})
exten => h,n,NoOp(SX: FAXERROR is ${FAXERROR})
exten => h,n,NoOp(SX: REMOTESTATIONID is ${REMOTESTATIONID})
exten => h,n,NoOp(SX: FAXPAGES is ${FAXPAGES})
exten => h,n,NoOp(SX: FAXRESOLUTION is ${FAXRESOLUTION})
exten => h,n,NoOp(SX: FAXBITRATE is ${FAXBITRATE})
=====================================
Here are some output cases with problem:
1>
-- Executing [16502824xxx@faxin:9] Set("SIP/voxbone_usla-00000129", "FAXFILE=/var/spool/asterisk/fax/2/91796617xxxx-1407746867.465.tiff") in new stack
-- Executing [16502824xxx@faxin:10] Answer("SIP/voxbone_usla-00000129", "") in new stack
-- Executing [16502824xxx@faxin:11] ReceiveFAX("SIP/voxbone_usla-00000129", "/var/spool/asterisk/fax/2/91796617xxxx-1407746867.465.tiff,f") in new stack
-- Channel 'SIP/voxbone_usla-00000129' receiving FAX '/var/spool/asterisk/fax/2/91796617xxxx-1407746867.465.tiff'
NOTICE[30484]: channel.c:4179 __ast_read: Dropping incompatible voice frame on SIP/voxbone_usla-00000129 of format ulaw since our native format has changed to 0x8 (alaw)
= Using UDPTL TOS bits 184
== Using UDPTL CoS mark 5
== Spawn extension (faxin, 16502824xxx, 11) exited non-zero on 'SIP/voxbone_usla-00000129'
-- Executing [h@faxin:1] NoOp("SIP/voxbone_usla-00000129", "Receive FAX completed and status FAILED") in new stack
-- Executing [h@faxin:2] NoOp("SIP/voxbone_usla-00000129", "SX: FAXERROR is The call dropped prematurely") in new stack
-- Executing [h@faxin:3] NoOp("SIP/voxbone_usla-00000129", "SX: REMOTESTATIONID is 30584433 ") in new stack
-- Executing [h@faxin:4] NoOp("SIP/voxbone_usla-00000129", "SX: FAXPAGES is 1") in new stack
-- Executing [h@faxin:5] NoOp("SIP/voxbone_usla-00000129", "SX: FAXRESOLUTION is 8031x3850") in new stack
-- Executing [h@faxin:6] NoOp("SIP/voxbone_usla-00000129", "SX: FAXBITRATE is 9600") in new stack

=========================

2>

[2014-08-11 16:27:19.476] -- Executing [16502824xxx@faxin:9] Set("SIP/voxbone_usla-0000012f", "FAXFILE=/var/spool/asterisk/fax/2/91796617xxxx-1407754639.471.tiff") in new stack
[2014-08-11 16:27:19.476] -- Executing [16502824xxx@faxin:10] Answer("SIP/voxbone_usla-0000012f", "") in new stack
[2014-08-11 16:27:19.860] -- Executing [16502824xxx@faxin:11] Wait("SIP/voxbone_usla-0000012f", "1") in new stack
[2014-08-11 16:27:19.860] NOTICE[5386]: channel.c:4179 __ast_read: Dropping incompatible voice frame on SIP/voxbone_usla-0000012f of format ulaw since our native format has changed to 0x8 (alaw)
[2014-08-11 16:27:20.912] -- Executing [16502824xxx@faxin:12] ReceiveFAX("SIP/voxbone_usla-0000012f", "/var/spool/asterisk/fax/2/91796617xxxx-1407754639.471.tiff,f") in new stack
[2014-08-11 16:27:20.912] -- Channel 'SIP/voxbone_usla-0000012f' receiving FAX '/var/spool/asterisk/fax/2/91796617xxxx-1407754639.471.tiff'
[2014-08-11 16:27:23.300] NOTICE[5386]: chan_sip.c:7564 sip_read: FAX CNG detected but no fax extension
[2014-08-11 16:27:23.300] DTMF[5386]: channel.c:4008 __ast_read: DTMF end 'f' received on SIP/voxbone_usla-0000012f, duration 0 ms
[2014-08-11 16:27:23.300] DTMF[5386]: channel.c:4034 __ast_read: DTMF begin emulation of 'f' with duration 100 queued on SIP/voxbone_usla-0000012f
[2014-08-11 16:27:23.420] DTMF[5386]: channel.c:4170 __ast_read: DTMF end emulation of 'f' queued on SIP/voxbone_usla-0000012f
[2014-08-11 16:27:24.091] == Using UDPTL TOS bits 184
[2014-08-11 16:27:24.091] == Using UDPTL CoS mark 5
[2014-08-11 16:28:29.043] -- Executing [16502824xxx@faxin:13] NoOp("SIP/voxbone_usla-0000012f", "FAILED") in new stack
[2014-08-11 16:28:29.043] -- Executing [16502824xxx@faxin:14] NoOp("SIP/voxbone_usla-0000012f", "") in new stack
[2014-08-11 16:28:29.043] -- Auto fallthrough, channel 'SIP/voxbone_usla-0000012f' status is 'UNKNOWN'
[2014-08-11 16:28:29.043] -- Executing [h@faxin:1] NoOp("SIP/voxbone_usla-0000012f", "Receive FAX completed and status FAILED") in new stack
[2014-08-11 16:28:29.043] -- Executing [h@faxin:2] NoOp("SIP/voxbone_usla-0000012f", "SX: FAXERROR is Disconnected after permitted retries") in new stack
[2014-08-11 16:28:29.043] -- Executing [h@faxin:3] NoOp("SIP/voxbone_usla-0000012f", "SX: REMOTESTATIONID is 30584433 ") in new stack
[2014-08-11 16:28:29.043] -- Executing [h@faxin:4] NoOp("SIP/voxbone_usla-0000012f", "SX: FAXPAGES is 1") in new stack
[2014-08-11 16:28:29.043] -- Executing [h@faxin:5] NoOp("SIP/voxbone_usla-0000012f", "SX: FAXRESOLUTION is 8031x3850") in new stack
[2014-08-11 16:28:29.043] -- Executing [h@faxin:6] NoOp("SIP/voxbone_usla-0000012f", "SX: FAXBITRATE is 9600") in new stack
patel_ravij
Newsterisk
 
Posts: 1
Joined: Mon Aug 11, 2014 4:39 am

Return to Fax For Asterisk

Who is online

Users browsing this forum: No registered users and 3 guests