From: Vadim B. <Va...@is...> - 2006-01-05 13:32:37
|
Hello, I want to get the status of all the SIP peers in asterisk so I send a SIPPeersAction() when I get a Connect event. I read the previous thread regarding sending actions from an event handler so when I get the event, I create a new thread and send the action. However, unless I add a slight pause (using Thread.sleep()), I don't get any PeerEntryEvent events from asterisk. I would like to avoid using a pause as a solution so I was wondering if there was a reason it doesn't work without the pause. |