[asterisk-users] extensions.conf -- what to do when command throws errors?

Steve Edwards asterisk.org at sedwards.com
Tue Jan 20 16:44:50 CST 2009


On Tue, 20 Jan 2009, Ken D'Ambrosio wrote:

> Hi, all.  I've got app_rxfax going and nicely receiving a fax, which I
> then throw to a script, and have it convert it to a PDF and mail it.
> Works great... a lot of the time.  But a fair bit of the time, rxfax
> throws errors, and extensions.conf seems never to invoke my script.  Here
> are the pertinent lines:
>
> exten => _6403,n,rxfax(${FAXFILE})
> exten => _6403,n,System(/usr/local/bin/fax-sender.py ${FAXFILE})

What else can match _6403 other than 6403? Wouldn't "exten = 6403,n,..." 
be "better?"

> [5410] logger.c: == Auto fallthrough, channel 'Zap/4-1' status is 'UNKNOWN'

"Auto fallthrough" happens when Asterisk wants to go to the next priority 
and there isn't one.

Does "[show dialplan|dialplan show] <context-containing-rxfax>" look like? 
Any chance rxfax is trying to do a "jump +101" on you?

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards      sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                             Fax: +1-760-731-3000



More information about the asterisk-users mailing list