Re: [Asterisk-java-users] Reading a variable after call ends
Brought to you by:
srt
From: Yves A. <yv...@gm...> - 2013-08-05 11:14:21
|
why do most people always think, one could "guess" their code, settings and environment that causes trouble? every access to a channel lead to an exception, if the channel is already hung up. if you need access to your channelvariables after hangup, you have to go another way... varsetevent and a local static map may be your friends here. of course there exists the h extensions which you could use to call another agi after hangup, but as i wrote before... i have no idea what your objective is, nor do i have any code to comment on... yves Am 05.08.2013 13:00, schrieb Daniele Renda: > Hi, > I need to read a variable that I set from dialplan after i receive the > onHangupEvent() on OriginateAsync. > But I've an exception because Asterisk Java don't find anymore the > channels because is hanged up I guess. > > So, there is another way to get the variable in Java before the call ends? > > Thanks very much! > > -- > Daniele Renda > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |