[asterisk-users] how to run deadagi script after "status: expired"

Necati Demir ndemir at demir.web.tr
Thu Jun 3 06:12:41 CDT 2010


I am using DeadAGI script and using this context.

exten => 10,1,Dial(SIP/${EXTEN})
exten => 10,n,Wait(1)
exten => 10,n,Playback(${PLAYFILE})
exten => 10,n,Wait(1)
exten => 10,n,Hangup()
exten => h,1,DeadAGI(script.agi)


DeadAGI script executes only if the call is successful. How to run DeadAGI
script in both status, successful and expired.

-- 
Necati DEMİR
http://demir.web.tr
http://friendfeed.com/ndemir
ndemir ~ demir.web.tr
---------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100603/c57a31ff/attachment.htm 


More information about the asterisk-users mailing list