[asterisk-users] Unable to receive faxes
Laurent CARON
lcaron at lncsa.com
Wed Mar 18 17:01:15 CDT 2009
Hi,
I'm experiencing a quite strange behavior while trying to receive faxes
through Asterisk (either directly through app_rxfax or with spandsp +
hylafax).
Config:
HFC quad BRI card (3 T0 connected to the card)
Asterisk 1.4.21
asterisk-app-fax 0.0.20070624-2
hylafax 2:4.4.4-10.1
libpri 1.4.2
libspandsp3 0.0.4pre16
/etc/zaptel.conf
loadzone=fr
defaultzone=fr
span=1,0,3,ccs,ami
span=2,0,3,ccs,ami
span=3,0,3,ccs,ami
span=4,0,3,ccs,ami
bchan=1,2
dchan=3
bchan=4,5
dchan=6
bchan=7,8
dchan=9
/etc/asterisk/zapata.conf
[channels]
language=fr
switchtype = euroisdn
signalling = bri_cpe_ptmp
pridialplan = unknown
prilocaldialplan = dynamic
nationalprefix = 0
internationalprefix = 00
echocancel=yes
rxgain=1.1
txgain=1.1
group = 1
context=zaptel-in
channel => 1-2
channel => 4-5
channel => 7-8
/etc/asterisk/extensions.conf:
exten => 0258,1,Answer()
exten => 0258,n,Set(FAXFILE=/var/spool/asterisk/fax/fax-0258.tif)
exten => 0258,n,rxfax(${FAXFILE})
exten => 0258,n,NoOp()
exten => 0258,n,Hangup
Here is the asterisk cli output:
-- Accepting voice call from '' to '0258' on channel 0/1, span 1
-- Executing [0258 at zaptel-in:1] NoOp("Zap/1-1", "") in new stack
-- Executing [0258 at zaptel-in:2] Set("Zap/1-1", "CALLERID(num)=") in
new stack
-- Executing [0258 at zaptel-in:3] Goto("Zap/1-1",
"default|0491140258|1") in new stack
-- Goto (default,0258,1)ff o
-- Executing [0258 at default:1] Goto("Zap/1-1", "0258|1") in new stack
-- Goto (default,0258,1)
-- Executing [0258 at default:1] Answer("Zap/1-1", "") in new stack
-- Executing [0258 at default:2] Set("Zap/1-1",
"FAXFILE=/var/spool/asterisk/fax/fax-0258.tif") in new stack
-- Executing [0258 at default:3] RxFAX("Zap/1-1",
"/var/spool/asterisk/fax/fax-0258.tif") in new stack
-- Channel 0/1, span 1 got hangup request, cause 16
-- Hungup 'Zap/1-1' channel
The resulting tiff file is nearly empty.
-rw-r--r-- 1 asterisk asterisk 8 2009-03-18 22:31
/var/spool/asterisk/fax/fax-0258.tif
Do anyone have a clue about this issue ?
What is "cause 16" about ?
Thanks
Laurent
More information about the asterisk-users
mailing list