If you do AGI and DEADAGI in the h extension, all calls will be handled but you'll get a "goober" warning from whichever one is not applicable. I'm guessing that ideally you would try and to the AGI in the live context where applicable. See what you can do with this example -
http://www.voip-info.org/wiki/view/Asterisk+dial+plan+-+working+example _____ From: [email protected] [mailto:[email protected]] On Behalf Of Necati Demir Sent: Thursday, June 03, 2010 2:50 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] run script after completed DeadAGI is executed if call is successful. I wanna ask how to execute agi script if the call is not only successful but also reject, busy, etc... 2010/5/5 Danny Nicholas <[email protected]> Regular AGI with SIGHUP detection? http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+DeadAGI _____ From: [email protected] [mailto:[email protected]] On Behalf Of Mickael Monsieur Sent: Wednesday, May 05, 2010 12:36 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] run script after completed DeadAGI is deprecated in Asterisk 1.6.x ! 2010/4/9 Danny Nicholas <[email protected]> Do the call in a context and have the context run the script as a DeadAGI. [call_and_do] - exten => s,1,Dial. - exten => h,1,Deadagi(.) _____ From: [email protected] [mailto:[email protected]] On Behalf Of Necati Demir Sent: Friday, April 09, 2010 7:34 AM To: [email protected] Subject: [asterisk-users] run script after completed Hello, I am creating a call file with parameter "Archive: yes". When it is completed it is moved to directory outgoing_done. It works. Now i want to execute a script when it is completed. Is there a parameter/configuration for this? -- Necati DEMİR http://blog.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 -- _____________________________________________________________________ -- 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 -- 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
