Hello, fax/ata(ht286) -> asterisk/tdm04b -> pstn fax machine I can fax out from the sip side, but I can't fax in from the PSTN side. When I try to send a fax, asterisk sees the call and show me this: "Redirecting Zap/1-1 to fax extension" "Timeout on Zap/1-1" TCPDUMP doesn't show any activity to the extension that I configured to be the fax machine. Here's my config: extensions.conf ; ; Zap Fax ; exten => 8021,1,Dial(SIP/8021,20) exten => 8021,2,Hangup [incoming] exten => s,1,Answer exten => s,2,Wait,1 exten => s,3,DigitTimeout(10) exten => s,4,ResponseTimeout(20) exten => s,5,Background(vm-extension) exten => fax,1,Goto(8021,30) exten => fax,2,Congestion exten => fax,102,Congestion exten => t,1,Hangup zapata.conf [channels] context=incoming switchtype=national signalling=fxs_ks rxwink=300 usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes rxgain=1.5 txgain=1.5 group=1 callgroup=1 pickupgroup=1 immediate=no busydetect=yes busycount=4 faxdetect=incoming channel => 1-4 Yes, I realize faxing isn't reliable but I should at least get something. Any ideas? Thanks, - Darren
>; Zap Fax >; >exten => 8021,1,Dial(SIP/8021,20) >exten => 8021,2,Hangup > >[incoming] > >exten => s,1,Answer >exten => s,2,Wait,1 >exten => s,3,DigitTimeout(10) >exten => s,4,ResponseTimeout(20) >exten => s,5,Background(vm-extension) >exten => fax,1,Goto(8021,30)I thinkg this should be goto(8021,1) Goto(extension,priority) --John
On Wed, 2004-11-24 at 07:31, Darren Bentley wrote:> Hello, > > fax/ata(ht286) -> asterisk/tdm04b -> pstn fax machine > > I can fax out from the sip side, but I can't fax in from the PSTN side. > > When I try to send a fax, asterisk sees the call and show me this: > > "Redirecting Zap/1-1 to fax extension" > "Timeout on Zap/1-1" > > TCPDUMP doesn't show any activity to the extension that I configured to > be the fax machine. Here's my config: > > extensions.conf > ; > ; Zap Fax > ; > exten => 8021,1,Dial(SIP/8021,20) > exten => 8021,2,Hangup > > [incoming] > > exten => s,1,Answer > exten => s,2,Wait,1 > exten => s,3,DigitTimeout(10) > exten => s,4,ResponseTimeout(20) > exten => s,5,Background(vm-extension) > exten => fax,1,Goto(8021,30) > exten => fax,2,Congestion > exten => fax,102,Congestion > exten => t,1,HangupGreat, except your fax extension is in a different context, except you didn't tell us what it is called. show application goto will help you put the fax context name into the goto command. Also, the priority for the goto should be 1. eg: exten => fax,1,goto(faxcontext,8021,1) You seem to have confused the goto and the dial. AFAIK a goto will never jump n+101, nor continue in the dial plan. Regards, Adam