Re: [Asterisk-java-users] place a call using agi
Brought to you by:
srt
From: John W. <joh...@gm...> - 2008-05-08 00:49:08
|
Ah, I've not used local channels before. So I have an AGI dial Local/123@context. That context starts a new AGI that happens to dials out to a 3rd party. If the first leg hangs up, does the 3rd party channel continue in its own AGI? I would have guessed that it would cause the dial applications to return and the 3rd party channel would get hung up on. On Wed, May 7, 2008 at 5:30 PM, Stefan Reuter <ste...@re...> wrote: > John Wolthuis wrote: > > I'm not certain how to do that. The second leg that is created when > > you use the dial command doesn't have an AGI thread running of its > > own, so when the first leg hangs up, thats that for both legs. You > > could try to initiate a manager Redirect command on the second leg and > > send it to a context with that will start a new AGI for that channel, > > prior to to the first leg hanging up. > > Yes or you can Dial() to an extension (Local/123@context) that itself is > mapped to another AGI. > > =Stefan > > -- > reuter network consulting > Neusser Str. 110 > 50760 Koeln > Germany > Telefon: +49 221 1305699-0 > Telefax: +49 221 1305699-90 > E-Mail: ste...@re... > Jabber: ste...@re... > WWW: http://www.reucon.com > > Steuernummern 215/5140/1791 USt-IdNr. DE220701760 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |