Re: [Asterisk-java-users] HangupAction throwing TimeoutException
Brought to you by:
srt
From: Eduard M. <ed...@ba...> - 2006-01-11 11:42:22
|
Thank you Stefan and Jesse, I will try with different threads. And thanks f= or=20 this API, great job! :) El Martes, 10 de Enero de 2006 21:17, Stefan Reuter escribi=F3: > Hi, > > the problem results from sending actions being sent from the event > handler thread which is not allowed and causes a lock up finally > resulting in the timeout. > Search the archives for details and have a look at the solution proposed > by Brett Sutton: > http://sourceforge.net/mailarchive/message.php?msg_id=3D14224869 > > Hope that helps, > Stefan > > On Tue, 2006-01-10 at 19:32 +0100, Edu wrote: > > Hi folks! > > > > I have some problems with HangupAction. If I send this Action it throws > > me a TimeoutException. Asterisk hangs up correctly and I've tried > > different and very long timeout values with no luck. > > It doesn't happen in all the code, for example, if I do a simple program > > with > > > > managerConnection.sendAction(new HangupAction("fakeChannel",90000); > > > > it returns a response with "No such channel" message. > > > > I'm using Asterisk-java 0.2 and Asterisk Bussines Edition ABE-A.1 > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > > files for problems? Stop! Download the new AJAX search engine that > > makes searching your log files as easy as surfing the web. DOWNLOAD > > SPLUNK! http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > > _______________________________________________ > > Asterisk-java-users mailing list > > Ast...@li... > > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |