[Asterisk-Dev] Jasterisk 0.7.0a Released!

Jongsuk Lee jongsuk.lee at gmail.com
Sun Oct 10 15:52:22 MST 2004


http://sourceforge.net/projects/jasterisk/
http://sourceforge.net/docman/display_doc.php?docid=25078&group_id=120160

Added Asterisk application app_java which allows users to execute Java
apps from the Asterisk dial plan. Currently only static void methods
taking a single string array argument are supported (ex. public static
void main(String[] args)). The first argument passed is always the
channel's uniqueid field. See com.safi.asterisk.examples.AppTest for
an example Java application. An example dial plan entry might be:

exten => 1234,1,JavaExec(com/safi/asterisk/examples/AppTest|test|arg1,arg2)

For this feature to work, Asterisk must be started with the -j or -J
options (flag Asterisk to invoke the JVM on startup) and the
application to be executed must be in the classpath (obviously!).

Also, several small memory leaks related to string conversion were
eliminated from the JNI code.



More information about the asterisk-dev mailing list