<< Built-in Support For Network Tracing | Home

Asterisk-Java 1.0.0.M3 Released

Milestone 3 with support for OSGi and SLF4J

We have released milestone 3 of Asterisk-Java 1.0.0. Next to a few bug fixes this new milestone makes Asterisk-Java OSGi compliant, adds support for the modern SLF4J logging framework and makes debugging easier through built-in support for network tracing.

You can browse the full changelog to see which issues have been resolved.

The new release is available as a plain jar and a zip distribution at http://asterisk-java.org/download/1.0.0.M3. You can also browse the documentation and javadocs online.

The new milestone is also available through Maven:

<dependency>
  <groupId>org.asteriskjava</groupId>
  <artifactId>asterisk-java</artifactId>
  <version>1.0.0.M3</version>
</dependency>

Please report back any issues you encounter while using milestone 3 through our issue tracker. If you like to have a certain feature or bug fix included in the next version vote for it in Jira.

References



Re: Asterisk-Java 1.0.0.M3 Released

Hi guys I love this! I just discovered it recently and can't believe the power of it! sure beats using the traditional AEL or conf dialplan! makes much more sense to do it on Java! Just a note tho - I've not seen any doc on best practices on how to keep the service up once ran? so I run java -jar asterisk-java.jar works fine but unless I do a nohup with & it will of course die once I exit the shell. Is there a way to keep it up always as I fear it isn't very stable just like that. I couldn't find that in the docs so might be so simple that I just don't know it :) any help would be good! maybe stick it in the docs. Also a question on transferring calls - not sure if this ever came up but is it possible to connect a call to a channel and every say 10 minutes check a database or something for a condition to be true, if false then cut the call? My idea is to run a charging system where people can pay by credit card for 10 minute units that get deducted every 10 minutes if the funds are available - so if they have funds it deducts and keeps the call on - if a card returns back with no funds then the call is cut after the time remaining time in the unit runs out. I assume the Manager is what I want but there are so many classes available I'm not sure which to use, any tips on which classes would be greatly appreciated!!!! Finally, how can one donate to the project??? If this works out for me I would be delighted to give something back for all your hard work making this project! Thanks David

Re: Asterisk-Java 1.0.0.M3 Released

Hi, I found that this lib was really useful and congrat you guys for the nice job. I have a question about integrating this library in a java application server. The need is that I want to write some Java EE module that keeps running on the server side and connects to asterisk manager and keeps listening for manager events. Then I will have different Java client applications that will connect to the server and get some feedback or send commands to this module which will send them to asterisk using asterisk-java. The problem is that I am new to the java EE stuff and I can't figure how to create this server side component, connect it to my asterisk box and keep it listening for events. I think it is a sort of MDB but listening for events and not for messages. Hope that someone can enlight me about this.

Add a comment Send a TrackBack