Re: [Asterisk-java-users] HangupAction throwing TimeoutException
Brought to you by:
srt
From: Jesse L. <je...@jg...> - 2006-01-10 22:02:55
|
If you need to send an action from an event, create a thread to do it. Let me know if you need an example. Thanks. J Stefan Reuter wrote: >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=14224869 > >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=7637&alloc_id=16865&op=click >>_______________________________________________ >>Asterisk-java-users mailing list >>Ast...@li... >>https://lists.sourceforge.net/lists/listinfo/asterisk-java-user >> >s > > |