Re: [Asterisk-java-users] Events blocked by Responses?
Brought to you by:
srt
From: Andy B. <and...@pr...> - 2007-09-06 10:07:24
|
On 24/08/2007 09:54, Andy Burns wrote: > I *am* passing a callback to sendaction rather than waiting with a > timeout, and no events are delivered to my listener method until after > the response is delivered to my callback method, then all the "buffered" > events get delivered at once. A belated follow up to this one ... I was running my test app from a command line, with various println output from my main thread and my event listener and response methods intermingled with the "INFO:" logging from asterisk java and evidently this was causing buffering issues. Today I've moved to running my application inside netbeans and it's now clear the events listener calls being delivered in realtime, without waiting for the response callback ... Thanks. |