Re: [Asterisk-java-users] Agi scripts and native transfers
Brought to you by:
srt
From: Stefan R. <ste...@re...> - 2008-04-05 06:00:43
|
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 |