Re: [Asterisk-java-users] Problem with fastagi-mapping.properties
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2005-11-02 12:55:34
|
Hi, > C:\ASTERISK-JAVA>java -classpath asterisk-java-0.2-rc2.jar;. > net.sf.asterisk.fa > tagi.DefaultAGIServer > 02-nov-2005 9:45:18 net.sf.asterisk.util.impl.JavaLoggingLog info > INFO: Thread pool started. > 02-nov-2005 9:45:19 net.sf.asterisk.util.impl.JavaLoggingLog info > INFO: Listening on *:4573. > 02-nov-2005 9:45:20 net.sf.asterisk.util.impl.JavaLoggingLog info > INFO: Received connection. > 02-nov-2005 9:45:21 net.sf.asterisk.util.impl.JavaLoggingLog error > GRAVE: No script configured for agi://192.168.0.202/hello.agi > > I think this means the connection between my machine and asterisk's > machine works well, yes the agi connection works fine. > but not the script... Asterisk runs in a linux > machine, and asterisk-java DefaultAGIServer runs in a Windows one. The > fastagi-mapping.properties is located in the directory where I started > running the AGIserver. The content of this file is: > > hello.agi =3D HelloAGIScript thats fine, too. > Somebody can help me? your problem sounds really strange. Are you sure you are looking at the right fastagi-mapping.properties file (that is the one in C:\ASTERISK-JAVA)? Maybe you need a trailing newline in properties files or sth like that on windows. If it still doesnt work we'll have to add some debugging code and try it that way. =3DStefan |