[117 total ]
Asterisk-Java Lightning Talk @ JUGC

I will give a short presentation of Asterisk-Java (in German) at the Java User Group Cologne (JUGC) on May 29th.

It will be a short overview of what Asterisk-Java can do and how it can be used to add phone support to Java applications. The ... [More] presentation will have a duration of 5 to 10 minutes and include a small interactive demo that serves as a show case.

The main talk will be about JSF 2.0 vs Struts 2.1. I would be happy to meet a few Asterisk-Java developers over there. [Less]

Google Summer of Code 2009 - Projects

The accepted projects for Google Summer of Code 2009 have been announced. I have posted information about the students participating with the Asterisk project to the asterisk-dev list.
Congratulations to all accepted students!

Users: Asterisk and CTI, what’s that all about?

Sameh Shaker has posted some examples of what you can do with Asterisk using the Manager API and Fast AGI. I think it's a good starting point for new users of Asterisk-Java to get some inspiration for their own applications.

References

Sameh Shaker: Asterisk and CTI, what’s that all about?

Speech Recognition with Asterisk-Java

The latest snapshot of Asterisk-Java contains support for the Asterisk Speech API. This makes writing AGI script that recognize speech as easy as writing AGI scripts for DTMF input.

All you need to get started is a recent version of Asterisk ... [More] 1.6 and the Lumenvox Speech Engine. For development you can buy a starter kit from Digium for 50 USD.

In your AGI script you initialize the speech engine, load and activate a grammer and are ready to recognize speech. The speechRecognize() method takes a voice prompt as its first parameter. The prompt is played to the user and the users response is recognized. The user doesn't have to wait for the prompt to finish, he can start talking right away ("barge in"). The corresponding Java code looks like this:

speechCreate();
speechLoadGrammar("digits", grammarPath);
speechActivateGrammar("digits");
SpeechRecognitionResult result =
speechRecognize("speech-demo/prompt", 10);
speechDeactivateGrammar(grammarLabel);

The SpeechRecognitionResult provided by Asterisk-Java contains the result and the confidence score – a value between 0 and 1000 that indicates how sure the speech engine is that the result is correct. The Java code to evaluate the result looks like this:

if (result.isSpeech())
{
if (result.getScore() > 990)
{
streamFile("speech-demo/absolutely-sure");
}
else if (result.getScore() > 800)
{
streamFile("speech-demo/pretty-sure");
}
else
{
streamFile("speech-demo/not-sure");
}

// say what we have recognized
sayDigits(result.getText());
}

Finally call speechDestory to end the speech recognition session:

speechDestroy();

Pretty easy, isn't it?

You can have a look at the SpeechDemo AGI script or download the full demo that includes the latest snapshot of Asterisk-Java, the voice prompts and the AGI script. [Less]

Technology Independent Static Control

Greetings everyone,
Today, I released a module that allows you to insert static into your phone calls. Are you looking for something to help you get off of annoying phone calls? If so, this module may be for you.
The code is posted for public review and download on the Asterisk project code review site, [...]

Asterisk Developers European Meet-Up

John Todd originally posted this message to the asterisk-dev mailing list. I will be attending, and would love to see you there!

[Note: Please pass this note along to European developers who you may know are not actively scanning the ... [More] -dev list!]
The European Asterisk development community may be the largest number of active participants on [...] [Less]

Users: OpenNMS

OpenNMS is an open source network management platform developed on the Java platform. It offers monitoring for a wide range of network devices and services.

As Asterisk becomes an important part of today's network infrastructure it becomes ... [More] more important to be able to monitor it for outages and resource usage. Jeff Gehlbach of The OpenNMS Group is the de facto maintainer of res_snmp and is working on improved monitoring for Asterisk with OpenNMS. His slides from a recent talk in Frankfurt provide a good overview of the effort.

In addition to monitoring Asterisk Jeff has also added support to send OpenNMS notification through Asterisk. This allows staff to be notified by a phone call of any outages in the network. The notification module is based on Asterisk-Java and uses the originate feature of the Manager API along with a custom AGI script that reads the notice details.

Jeff has made a screencast that shows it in action. If you are interested in the details have a look at his strategy class for originating calls and the AGI script that reads some of the notice details. Along with a few properties for configuration this makes a good example on how to integrate Asterisk into your applications with Asterisk-Java.

References

OpenNMS homepage
Jeff's slides on OpenNMS and Asterisk
Jeff's screencast on OpenNMS Asterisk Notifications [Less]

Google Summer of Code 2009 - We’re in!

As originally reported on the asterisk-dev list, the Asterisk project’s application for participation in the Google Summer of Code 2009 has been accepted. Hooray!
For potential students interested in working with us, our ideas list is here, and feel free to contact me directly at russell (AT) digium (DOT) com if you have any questions.

MFC/R2 support in Asterisk 1.6.2

Yesterday, official support for MFC/R2 signaling in chan_dahdi was merged, and will be included in Asterisk 1.6.2. Here is the commit.
To get a head start on testing Asterisk 1.6.2 with R2 support, check out the code from the 1.6.2 branch:
$ ... [More] svn co http://svn.digium.com/svn/asterisk/branches/1.6.2 asterisk-1.6.2
Before compiling Asterisk, you will need to compile and install LibOpenR2.
Thank [...] [Less]

Asterisk 1.4.24 Released

The Asterisk Development Team is proud to announce release of Asterisk 1.4.24, and is available for immediate download at http://downloads.digium.com/
In addition to other bug fixes, this release candidate fixes several crash issues, and resolved ... [More] some remaining issues related to call pickup and call
parking that were discovered after the release of Asterisk 1.4.23. In addition, issues [...] [Less]