Re: [Asterisk-java-users] Events blocked by Responses?
Brought to you by:
srt
From: Andy B. <and...@pr...> - 2007-08-24 08:54:07
|
On 24/08/2007 02:12, Stefan Reuter wrote: > In this case you sould send the originate action asynchronously (i.e. > provide a callback to sendAction), then nothing will be blocked. Thank you, but perhaps I didn't describe my code well enough. 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. > As an alternative you might want to look at the originateAsync methods > in DefaultAsteriskServer. I wasn't sure how mature those classes were? |