[Asterisk-Users] Yet another faxing issue..

Adam Goryachev mailinglists at websitemanagers.com.au
Tue Nov 23 17:33:11 MST 2004


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,Hangup

Great, 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





More information about the asterisk-users mailing list