[Asterisk-java-users] fail to run the example
Brought to you by:
srt
From: unplug <mai...@gm...> - 2006-07-06 08:45:32
|
Hi, I follow the website tutorial to run HelloAGIScript. http://www.asteriskjava.org/latest/tutorial.html In my directory, I have the following files. fastagi-mapping.properties HelloAGIScript.java HelloAGIScript.class I have already located asterisk-java.jar in a classpath and I run the AGIServer as following. java -cp . net.sf.asterisk.fastagi.DefaultAGIServer server started Then I make a call to 1300 (which I have followed the example to configure the exten). But there is an error in the console. Jul 6, 2006 4:41:49 PM net.sf.asterisk.util.impl.JavaLoggingLog info INFO: Received connection. Jul 6, 2006 4:41:49 PM net.sf.asterisk.util.impl.JavaLoggingLog error SEVERE: Resource bundle 'fastagi-mapping' is missing. Jul 6, 2006 4:41:49 PM net.sf.asterisk.util.impl.JavaLoggingLog error SEVERE: No script configured for URL 'agi://localhost/HelloAGIScript' (script 'HelloAGIScript') Anyone can tell me why AGIServer can't find fastagi-mapping.properties as it is located in the current directory which is also a classpath? What's wrong in the above setting? |