Re: [Asterisk-java-users] I cannot start to using asterisk-java.
Brought to you by:
srt
From: Mario L. <hyn...@ya...> - 2008-07-21 03:09:21
|
Hi, every one. I'm having an annoying trouble with asterisk java, I haven't be able to test the framework since is not working for me... here's the case: The Asterisk Box's response when I run it is: Jul 20, 2008 8:25:44 PM org.asteriskjava.fastagi.DefaultAgiServer startup INFO: Thread pool started. Jul 20, 2008 8:25:44 PM org.asteriskjava.fastagi.DefaultAgiServer startup INFO: Listening on *:4573. When I make a call to the extension with the agi line, the server response as follows: Jul 20, 2008 8:25:47 PM org.asteriskjava.fastagi.DefaultAgiServer startup INFO: Received connection from /127.0.0.1 Jul 20, 2008 8:25:47 PM org.asteriskjava.fastagi.ResourceBundleMappingStrategy loadResourceBundle INFO: Resource bundle 'fastagi-mapping' not found. Jul 20, 2008 8:25:47 PM org.asteriskjava.fastagi.AbstractMappingStrategy createAgiScriptInstance SEVERE: Unable to create AgiScript instance of type kerberus: Class not found, make sure the class exists and is available on the CLASSPATH Jul 20, 2008 8:25:47 PM org.asteriskjava.fastagi.internal.AgiConnectionHandler run SEVERE: No script configured for URL 'agi://localhost/kerberus' (script 'kerberus') I realize that the problem is the fastagi-mapping.properties since is the first strange thing: Jul 20, 2008 8:25:47 PM org.asteriskjava.fastagi.ResourceBundleMappingStrategy loadResourceBundle INFO: Resource bundle 'fastagi-mapping' not found. I had checked many times the struture and the tutorial but still doesn't work. this is the structure. JAVAKerberus +---- Procesador.class +---- Procesador.java +---- alarmprocess.jar +---- fastagi-mapping.properties So I execute the jar file like this: root@nibelheim:/home/JAVAKerberus# java -cp alarmprocess.jar:. org.asteriskjava.fastagi.DefaultAgiServer The fastagi-mapping.properties contains a single line: kerberus.agi = Procesador and the extension.conf in the asterisk box contains exten => 624,1,Agi(agi://localhost/kerberus.agi) I hope all of you can give a light since I haven't be able to solve this. Thanks in advance. Mario Mechatronic Eng. -- View this message in context: http://www.nabble.com/I-cannot-start-to-using-asterisk-java.-tp16236941p18561429.html Sent from the Asterisk-Java Users mailing list archive at Nabble.com. |