Asterisk-Java

Threaded manager Event Listener using asterisk-java API

Page 1 of 1

2 Replies - 3473 Views - Last Post: 05 June 2008 - 03:00 AM Rate Topic: -----

#1 pguillem  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 03-June 08

Asterisk-Java

Post icon  Posted 03 June 2008 - 09:04 AM

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

Is This A Good Question/Topic? 0
  • +

Replies To: Asterisk-Java

#2 pguillem  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 03-June 08

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.
Was This Post Helpful? 0
  • +
  • -

#3 1lacca  Icon User is offline

  • code.rascal
  • member icon

Reputation: 44
  • View blog
  • Posts: 3,822
  • Joined: 11-August 05

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!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1