Hi there.
I'm trying to build some really basic class that will permanently receive manager events from the asterisk manager using asterisk-java API.
The API provides specific objects and interfaces for connecting to the manager socket and listining for async events. The ideal context would involve instantiating a listener thread which would trigger another thread to write the data to a text file, that way every time an Event is received the working thread or executor is to parse some of the data to a textfile in a format i choose.
There are 6 examples of implementing this API in the web page, but i would appreciate someone to point me in the right direction for starting up.
The API is here.
http://asterisk-java...20Manager%20API
Asterisk-JavaThreaded manager Event Listener using asterisk-java API
Page 1 of 1
2 Replies - 3473 Views - Last Post: 05 June 2008 - 03:00 AM
Replies To: Asterisk-Java
#2
Re: Asterisk-Java
Posted 04 June 2008 - 02:32 PM
Got it to work exactly as i expected. If anybody needs help on this kind of apps drop a note.
#3
Re: Asterisk-Java
Posted 05 June 2008 - 03:00 AM
Good job! If you think, you could write a small tutorial, or a featured article, check out our main page!
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|