On Fri, 18 Mar 2011 17:56:12 -0500, Anthony Messina
<[email protected]> 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})
===========
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users