I’m starting the AGI Server and I have fastagi-mapping file and asterisk jar file in the same directory.
My Project location is somewhere else at different location
I’m starting the AGI server like below
java -cp asterisk-java-0.3.1.jar:. org.asteriskjava.fastagi.DefaultAgiServer
Logs :
Jan 1, 2014 10:34:15 AM org.asteriskjava.fastagi.DefaultAgiServer startup
INFO: Thread pool started.
Jan 1, 2014 10:34:15 AM org.asteriskjava.fastagi.DefaultAgiServer startup
INFO: Listening on *:2020.
Jan 1, 2014 10:34:20 AM org.asteriskjava.fastagi.DefaultAgiServer startup
INFO: Received connection from /127.0.0.1
Jan 1, 2014 10:34:20 AM org.asteriskjava.fastagi.AbstractMappingStrategy createA giScriptInstance
SEVERE: Unable to create AgiScript instance of type us.ziacom.vm.agi.AccountMana ger: Class not found, make sure the class exists and is available on the CLASSPA TH
Jan 1, 2014 10:34:20 AM org.asteriskjava.fastagi.AbstractMappingStrategy createA giScriptInstance
SEVERE: Unable to create AgiScript instance of type us.ziacom.vm.agi.AccountLook up: Class not found, make sure the class exists and is available on the CLASSPAT H
Jan 1, 2014 10:34:20 AM org.asteriskjava.fastagi.AbstractMappingStrategy createA giScriptInstance
SEVERE: Unable to create AgiScript instance of type us.ziacom.vm.agi.HelloAgiScr ipt: Class not found, make sure the class exists and is available on the CLASSPA TH
Jan 1, 2014 10:34:20 AM org.asteriskjava.fastagi.AbstractMappingStrategy createA giScriptInstance
SEVERE: Unable to create AgiScript instance of type us.ziacom.vm.agi.LogVmCall: Class not found, make sure the class exists and is available on the CLASSPATH
Jan 1, 2014 10:34:20 AM org.asteriskjava.fastagi.AbstractMappingStrategy createA giScriptInstance
SEVERE: Unable to create AgiScript instance of type HelloAgiScript.agi: Class no t found, make sure the class exists and is available on the CLASSPATH
Jan 1, 2014 10:34:20 AM org.asteriskjava.fastagi.internal.AgiConnectionHandler r un
SEVERE: No script configured for URL ‘agi://localhost:2020/HelloAgiScript.agi’ ( script ‘HelloAgiScript.agi’)