Posted
4 days
ago
by
russell
We have a nice blog set up over at blogs.asterisk.org now, so I will most likely start doing most of my Asterisk blogging over there.
I just posted a blog post version of the Asterisk Project Update presentation that I did at Astricon. Check it out here.
Posted
27 days
ago
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 and adds support for the modern SLF4J logging framework.
You can browse the full changelog to see which issues
... [More]
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.
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 vote for it.
References
Download Asterisk-Java 1.0.0.M3 [Less]
Posted
29 days
ago
Up to now the preferred way to obtain traces of the communication between Asterisk-Java and Asterisk was using tcpdump, wireshark or ngrep as described in Debugging Manager API. Having a full log of the direct network communication is often the only
... [More]
way to resolve issues related to problems in the Manager API or Fast AGI.
To make it easier for our users to obtain these traces we have now included a tracing feature directly into Asterisk-Java. You can enable it at runtime by setting the system property org.asteriskjava.trace to true. On the command line:
java -Dorg.asteriskjava.trace=true ...
Trace files are written to the temp dir by default ("java.io.temp"). You can specify an alternate location by using the org.asteriskjava.trace.directory system property:
java -Dorg.asteriskjava.trace=true \
-Dorg.asteriskjava.trace.directory=/opt/traces ...
This new feature is already part of the latest Asterisk-Java 1.0.0-CI-SNAPSHOT and will be shipped with milestone 3.
Please consider attaching a trace file to your bug reports in the future. It speeds up bug fixing considerably. [Less]
Posted
29 days
ago
Up to now the preferred way to obtain traces of the communication between Asterisk-Java and Asterisk was using tcpdump, wireshark or ngrep as described in Debugging Manager API. Having a full log of the direct network communication is often the only
... [More]
way to resolve issues related to problems in the Manager API or Fast AGI.
To make it easier for our users to obtain these traces we have now included a tracing feature directly into Asterisk-Java. You can enable it at runtime by setting the system property org.asteriskjava.trace to true. On the command line:
java -Dorg.asteriskjava.trace=true ...
Trace files are written to the temp dir by default ("java.io.temp"). You can specify an alternate location by using the org.asteriskjava.trace.directory system property:
java -Dorg.asteriskjava.trace=true \
-Dorg.asteriskjava.trace.directory=/opt/traces ...
This new feature is already part of the latest Asterisk-Java 1.0.0-CI-SNAPSHOT and will be shipped with milestone 3.
Please consider attaching a trace file to your bug reports in the future. It speeds up bug fixing considerably. [Less]
Posted
about 1 month
ago
by
russell
I posted a proposal for some updates to Asterisk release policy to the -dev list today. Check it out here and let me know what you think!
Posted
about 1 month
ago
We are currently working on making Asterisk-Java OSGi compliant to make it easier for those users who want to use Asterisk-Java in an OSGi container like Equinox. This means Asterisk-Java will contain the proper bundle headers in its MANIFEST.MF and
... [More]
will follow the OSGi rules for version names. The new version names for Asterisk-Java are similar to those used by Spring Framework:
1.0.0.CI-SNAPSHOT
Continious integration snapshot releases
1.0.0.M3
Milestone releases
1.0.0.RC1
Release candidates
1.0.0.RELEASE
Final release
1.0.0.SR01
Service release with emergency bug fixes
The first OSGi compliant snapshots of Asterisk-Java are now available for download: Asterisk-Java 1.0.0.CI-SNAPSHOT. The old 1.0.0-SNAPSHOT releases will no longer be updated.
For those developers that are not interested in OSGi nothing will change. The OSGi manifest headers added to Asterisk-Java are simply ignored when run in a non-OSGi environment.
The new MANIFEST.MF looks like this:
Manifest-Version: 1.0
Bundle-Description: The free Java library for Asterisk PBX integration.
Bundle-DocURL: http://asterisk-java.org/
Bundle-ManifestVersion: 2
Bundle-Name: Asterisk-Java
Bundle-SymbolicName: org.asteriskjava
Bundle-Vendor: reucon
Bundle-Version: 1.0.0.CI-SNAPSHOT
Export-Package: org.asteriskjava;version="1.0.0.CI-SNAPSHOT",
org.asteriskjava.config;version="1.0.0.CI-SNAPSHOT",
org.asteriskjava.config.dialplan;version="1.0.0.CI-SNAPSHOT",
org.asteriskjava.fastagi;version="1.0.0.CI-SNAPSHOT",
org.asteriskjava.fastagi.command;version="1.0.0.CI-SNAPSHOT",
org.asteriskjava.fastagi.reply;version="1.0.0.CI-SNAPSHOT",
org.asteriskjava.manager;version="1.0.0.CI-SNAPSHOT",
org.asteriskjava.manager.action;version="1.0.0.CI-SNAPSHOT",
org.asteriskjava.manager.event;version="1.0.0.CI-SNAPSHOT",
org.asteriskjava.manager.response;version="1.0.0.CI-SNAPSHOT",
org.asteriskjava.manager.util;version="1.0.0.CI-SNAPSHOT",
org.asteriskjava.live;version="1.0.0.CI-SNAPSHOT"
If you are looking for a ready to use OSGi based framework to develop AGI scripts for Asterisk on SpringSource dm Server you may also want to check ajdmserver. [Less]
Posted
2 months
ago
ADempiere is a collection of Open Source ERP applications.
By leveraging Asterisk-Java the Asterisk integration for ADempiere provides support for calling contacts directly from within ADempiere.
Posted
4 months
ago
The released Asterisk-Java artifacts are now automatically published to Maven's central repository. This includes our milestone releases 1.0.0-m1 and 1.0.0-m2.
If you are already using Maven for development that means to you that you no
... [More]
longer have to download Asterisk-Java in order to use it. You can just declare a dependency and Maven automatically downloads it from central.
The Maven coordinates for Asterisk-Java are:
<dependency>
<groupId>org.asteriskjava</groupId>
<artifactId>asterisk-java</artifactId>
<version>1.0.0-m2</version>
</dependency> [Less]
Posted
5 months
ago
As most of the users already make use of many new features in 1.0.0-SNAPSHOT it is time to push the final release out of the door. As a first step I've released milestone 2 of 1.0.0 called 1.0.0-m2. Have a look at the changelog to see which bugs have
... [More]
been fixed and which new features are included.
Most notably milestone 2 includes support for the 1.6 series of Asterisk as well as support for using scripting languages with the FastAGI server.
The new release is available as a plain jar and a zip distribution at http://asterisk-java.org/download/1.0.0-m2. You can also browse the documentation and javadocs online.
Please report back any issues you encounter while using milestone 2 through our issue tracker. If you like to have a certain feature or bug fix included vote for it.
References
Download Asterisk-Java 1.0.0-m2 [Less]
Posted
6 months
ago
Asterisk-Java 1.0.0 includes support for implementing AGI scripts in the scripting language of your choice. You still have the benefit of running on the JVM but for the implementation of your script you can now choose your favorite
... [More]
language.
I've prepared a small demo script that counts down from ten to zero, plays a beep. It then waits for DTMF input and reads the digit you've pressed back to you. You can exit by pressing star (*) or pound (#). To show you how this script looks like in the different languages it is implemented three times: In Groovy, JavaScript and PHP.
To get started just download the binary distribution of Asterisk-Java. Unpack it and run the asterisk-java.jar file from the unpacked directory.
$ cd asterisk-java-1.0.0-SNAPSHOT
$ java -jar asterisk-java.jar
May 13, 2009 1:26:16 AM org.asteriskjava.fastagi.DefaultAgiServer startup
INFO: Listening on *:4573.
The AGI scripts are put into the agi directory. There you'll also find the demo.groovy, demo.js and demo.php files. The lib directory contains additional libraries required to execute the scripts.
Modify your dialplan and add extensions for the demo scripts:
exten => 2000,1,Agi(agi://localhost/demo.groovy)
exten => 2001,1,Agi(agi://localhost/demo.js)
exten => 2002,1,Agi(agi://localhost/demo.php)
If you are not running the Asterisk-Java on the same server as Asterisk replace localhost by the hostname of the machine running Asterisk-Java.
Note that you will need at least Java 6 to make use of the new scripting support. [Less]