Re: [Asterisk-java-users] Agi scripts and native transfers
Brought to you by:
srt
From: E. M. <mar...@gm...> - 2008-04-22 16:41:07
|
Hi Stefan, I just read about the new support for Async AGI and I think that this is great :) But again I was wondering which behaviour will have the new system with attended transfers. Have you test it? When I have time I will give a try. On Sat, Apr 5, 2008 at 8:00 AM, Stefan Reuter <ste...@re...> wrote: > Eduard Martínez wrote: > > Finally I can test it. If it is useful for someone, AGI works OK with > > attended transfers. However, if thereis an attended transfer inside an > > agi script, AGIChannel.getName() returns the 'old' channel name, and > > AGIChannel.getVariable("CHANNEL") returns the updated name. > > Thanks for this pointer. > The AgiRequest is only populated when the AgiScript is started with the > data received from Asterisk. > The implications are interesting for the new AsyncAGI stuff where > AgiCommands are converted to Manager actions that include the channel > name. So I guess I have to watch for RenameEvents there and update my > AgiWriter in to use the new channel name. > > =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 > Register now and save $200. Hurry, offer ends at 11:59 p.m., > Monday, April 7! Use priority code J8TLD2. > > 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 > > |