David Cunningham
2011-Nov-21 06:38 UTC
[asterisk-users] Continue AGI after Dial() following caller hang up?
Hello, We would like to continue a Perl AGI after a Dial() it has done completes following caller hangup. We would like to do this in the same AGI, and not using a new AGI from the 'h' extension. It works fine when the called party hangs up and the 'g' option is used, but not for caller hangup. Is this possible? If not a confirmation that this is the case would be very helpful. Thanks for any advice! -- David Cunningham, Voisonics http://voisonics.com/ US toll-free: +1 888 842 2720 UK: +44 (0) 20 3298 1642 Australia: +61 (0) 2 8063 9019 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111121/476e9edf/attachment.htm>
Thorsten Göllner
2011-Nov-21 11:19 UTC
[asterisk-users] Continue AGI after Dial() following caller hang up?
<html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> If the caller hangs up Asterisk sends a SIGHUP. You can catch the signal and do whatever you want to do.<br> <br> Am 21.11.2011 07:38, schrieb David Cunningham: <blockquote cite="mid:CAHGbP-8NS2Rp5fTGRO7Qp_0jbmYZhW018wQkhgyLN7Mtm+-KZQ@mail.gmail.com" type="cite">Hello,<br> <br> We would like to continue a Perl AGI after a Dial() it has done completes following caller hangup. We would like to do this in the same AGI, and not using a new AGI from the 'h' extension. It works fine when the called party hangs up and the 'g' option is used, but not for caller hangup.<br> <br> Is this possible?<br> <br> If not a confirmation that this is the case would be very helpful.<br> <br> Thanks for any advice!<br clear="all"> <br> -- <br> David Cunningham, Voisonics<br> <a moz-do-not-send="true" href="http://voisonics.com/" target="_blank">http://voisonics.com/</a><br> US toll-free: +1 888 842 2720<br> UK: +44 (0) 20 3298 1642<br> Australia: +61 (0) 2 8063 9019<br> <br> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> -- New to Asterisk? Join us for a live introductory webinar every Thurs: <a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a> asterisk-users mailing list To UNSUBSCRIBE or update options visit: <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre> </blockquote> <br> <pre class="moz-signature" cols="72">-- Thorsten Göllner OVM Office Voice Media GmbH Herderstrasse 68 40237 Düsseldorf Tel.: +49(0)211 / 618 57 53 Fax: +49(0)211 / 618 57 54</pre> </body> </html>
Kingsley Tart
2011-Nov-21 11:22 UTC
[asterisk-users] Continue AGI after Dial() following caller hang up?
We do that with the "F" option in Dial().>From http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial :F(context^exten^pri): When the caller hangs up, transfer the called party to the specified context and extension and continue execution. Cheers, Kingsley. On Mon, 2011-11-21 at 17:38 +1100, David Cunningham wrote:> Hello, > > We would like to continue a Perl AGI after a Dial() it has done > completes following caller hangup. We would like to do this in the > same AGI, and not using a new AGI from the 'h' extension. It works > fine when the called party hangs up and the 'g' option is used, but > not for caller hangup. > > Is this possible? > > If not a confirmation that this is the case would be very helpful. > > Thanks for any advice! > > -- > David Cunningham, Voisonics > http://voisonics.com/ > US toll-free: +1 888 842 2720 > UK: +44 (0) 20 3298 1642 > Australia: +61 (0) 2 8063 9019 > > -- > _____________________________________________________________________ > -- 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