Re: [Asterisk-java-users] HangupAction throwing TimeoutException
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2006-01-10 20:23:47
|
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! >=20 > I have some problems with HangupAction. If I send this Action it throws m= e a=20 > TimeoutException. Asterisk hangs up correctly and I've tried different an= d=20 > very long timeout values with no luck. > It doesn't happen in all the code, for example, if I do a simple program = with=20 >=20 > managerConnection.sendAction(new HangupAction("fakeChannel",90000); >=20 > it returns a response with "No such channel" message. >=20 > I'm using Asterisk-java 0.2 and Asterisk Bussines Edition ABE-A.1 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > 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 |