[asterisk-users] [1.4] Failed callfile doesn't jumpto"failed"extension

Gilles codecomplete at free.fr
Fri Mar 18 18:42:44 CDT 2011


On Fri, 18 Mar 2011 17:56:12 -0500, Anthony Messina
<amessina at messinet.com> wrote:
>You need to define the 'failed' extension in your context to have the
>${REASON} variable set (I've found).
>
>exten => failed,1,NoOp(Failure reason is: ${REASON})

Thanks but for some reason, after calling out through a call file,
Asterisk doesn't jump to it although the callee hangs up while
Asterisk is still playing:

===========
[callback]
exten => start,1,Wait(2)
exten => start,n,ChanIsAvail(Dahdi/1)
exten => start,n,NoOp(${AVAILORIGCHAN})})
exten => start,n,Answer()
exten => start,n,Playback(manolo_camp-morning_coffee)
;exten => start,n,Hangup()

;not run
exten => failed,1,NoOp(Call ended with ${REASON})
===========




More information about the asterisk-users mailing list