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 --------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100409/d11e621b/attachment.htm
On 04/09/10 15:34, Necati Demir wrote:> 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?You can write a script that watches outgoing_done with inotify for changes with minimal overhead. http://wiki.github.com/rvoicilas/inotify-tools/
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: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Necati Demir Sent: Friday, April 09, 2010 7:34 AM To: asterisk-users at lists.digium.com 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 --------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100409/18f8e793/attachment.htm
DeadAGI is deprecated in Asterisk 1.6.x ! 2010/4/9 Danny Nicholas <danny at debsinc.com>> 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:* asterisk-users-bounces at lists.digium.com [mailto: > asterisk-users-bounces at lists.digium.com] *On Behalf Of *Necati Demir > *Sent:* Friday, April 09, 2010 7:34 AM > > *To:* asterisk-users at lists.digium.com > *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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100505/ff208d51/attachment.htm
Regular AGI with SIGHUP detection? http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+DeadAGI _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] 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 <danny at debsinc.com> 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: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Necati Demir Sent: Friday, April 09, 2010 7:34 AM To: asterisk-users at lists.digium.com 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100505/306b9cd3/attachment.htm
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 <danny at debsinc.com>> Regular AGI with SIGHUP detection? > > > > http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+DeadAGI > > > ------------------------------ > > *From:* asterisk-users-bounces at lists.digium.com [mailto: > asterisk-users-bounces at lists.digium.com] *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 <danny at debsinc.com> > > 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:* asterisk-users-bounces at lists.digium.com [mailto: > asterisk-users-bounces at lists.digium.com] *On Behalf Of *Necati Demir > *Sent:* Friday, April 09, 2010 7:34 AM > > > *To:* asterisk-users at lists.digium.com > > *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 --------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100603/a35d7655/attachment.htm