Hi:
I want to receive a fax with an E1 link connected to A102d card from a
fax machine,but after dialling the phone number, it connects then will
be busy.In fact asterisk can't detect the fax.These are zapata.conf,
extensions.conf filels and debug in console:
extensions.conf:
[from-pstn]
exten => 9711315,1,Answer()
exten => 9711315,2,Wait(10)
exten => fax,1,SetVar(FAXFILE=/tmp/test.tif)
exten => fax,2,rxfax(FAXFILE)
9711315 is E1 number.
zapata.conf
[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
faxdetect=from-pstn
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
;Sangoma A102 port 1 [slot:6 bus:1 span:1] <wanpipe1>
switchtype=national
context=from-pstn
group=0
signalling=pri_cpe
channel =>1-15,17-31
-- Executing [9711315 at from-pstn:1] Answer("Zap/6-1", "")
in new stack
-- Accepting call from '3318545' to '9711315' on channel
0/6, span 1
== Auto fallthrough, channel 'Zap/6-1' status is 'UNKNOWN'
-- Hungup 'Zap/6-1'
I've installed spandsp and app_rxfax.
I'd appreciate any help and idea.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20090223/f4754376/attachment.htm
On Mon, Feb 23, 2009 at 3:30 AM, fateme fatah <faza_404 at yahoo.com> wrote:> extensions.conf: > [from-pstn] > exten => 9711315,1,Answer() > exten => 9711315,2,Wait(10)Why on earth are you waiting TEN seconds to actually receive the fax? Have you tried ripping that out of your dialplan?> exten => fax,1,SetVar(FAXFILE=/tmp/test.tif) > exten => fax,2,rxfax(FAXFILE) > > -- Executing [9711315 at from-pstn:1] Answer("Zap/6-1", "") in new stack > -- Accepting call from '3318545' to '9711315' on channel 0/6, span 1 > == Auto fallthrough, channel 'Zap/6-1' status is 'UNKNOWN' > -- Hungup 'Zap/6-1' > > I've installed spandsp and app_rxfax. > I'd appreciate any help and idea.My guess is the sending fax is giving up and closing the connection, after waiting TEN seconds for a response. If it does this repeatedly (and it would), the sending fax will output that it couldn't connect / which it usually calls busy, but it never truly gets a traditional busy signal. At least that's the output if you do this to my traditional analog fax machine. If you want to confirm my theory, you can use the txfax module to fax yourself from asterisk, and you should have the same problem. How about which version of Asterisk you're running? The integrated asterisk app_fax is very, very good in 1.6. I had a lot of problems with fax in 1.4; all of those problems were solved with my upgrade to app_fax and 1.6.