Re: [Asterisk-java-users] Channel extraction.
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2005-12-09 14:55:56
|
> My question is how do you extract this generated random number, so that=20 > one can succesfully hangup a channel using HangupAction? The easy solution is to use DefaultAsteriskManager to originate the call. Its originateCall method returns a Call object that contains the channel name. An other option is to listen for OriginateSuccess events (see the HelloEvents example on how to do that) and extract the channel name from that event. =3DStefan |