Re: [Asterisk-java-users] I cannot start to using asterisk-java.
Brought to you by:
srt
From: T. L. P. T. <tom...@gm...> - 2008-03-23 19:32:47
|
Alejandro: I still think that the error could be located in the fastagi-mapping.properties file. For example, you reconfigured your extensions file to call the script "helo.agi", but I still don't know if that script is correctly mapped with a valid class file. If you can paste the contents of the file, I think that we can resolve this issue without requesting access to your development box. Best regards, Tomás. On Sun, Mar 23, 2008 at 3:17 PM, Alejandro Fernandez <all...@gm...> wrote: > > > > -rw-r--r-- 1 root root 314224 mar 22 12:26 /home/qualium1/asterisk-java.jar > -rw-r--r-- 1 root root 543 mar 22 23:30 /home/qualium1/HelloAgiScript.class > -rw-r--r-- 1 root root 27 mar 22 10:59 > /home/qualium1/fastagi-mapping.properties > > After to do: > > > unset CLASSPATH > cd /home/qualium1/ > java -cp asterisk-java.jar:. org.asteriskjava.fastagi.DefaultAgiServer > > It reply: > log4j:WARN No appenders could be found for logger > (org.asteriskjava.fastagi.DefaultAgiServer). > log4j:WARN Please initialize the log4j system properly. > > If I issue netstat -tanp, really the tcp server is running: > tcp 0 0 :::4573 :::* > LISTEN 29053/java > > Calling to extension 100 from AgiServer it doesn't say nothing. > >From CLI monitor it says: > > -- Executing [100@internal_calls:3] AGI("SIP/104-08b93610", > "agi://127.0.0.1:4573/helo.agi") in new stack > agi://127.0.0.1:4573/helo.agi: No script configured for URL > 'agi://127.0.0.1:4573/helo.agi' (script 'helo.agi') > > > I'm working in a development station if you want I can create you an account > for you with root privileges. > > > > TIA > > -- > Lic. Alejandro Fernández Herrero > Product Manager > www.all-control.com.ar > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |