79215442

Date: 2024-11-22 14:47:06
Score: 0.5
Natty:
Report link

I was able to solve it myself...

First I had to include the path to my directory inside the asterisk-java project directory: sudo java -cp asterisk-java.jar:guava-33.3.1-jre.jar:/usr/src/asterisk-java/target/buildPackage org.asteriskjava.fastagi.DefaultAgiServer

Then, in fastagi-mapping.properties I had to declare the function class in the following way:

callin.agi=org.asteriskjava.examples.fastagi.java.ExampleCallIn

Be aware that if you're using the -cp flag with java or javac, the path that follows overrides the user classpath that is stored in the $CLASSPATH variable.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: The SkyRider