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