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
---------------------------------------
--
_____________________________________________________________________
-- 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