First of all sorry if this isn’t the right place to post this kind of questions.
I am trying to create a AGI script in perl to provide information from a database.
I managed to get the script running at extension 702 by placing the following lines in extensions.conf:
exten => 702,1,Answer( )
exten => 702,2,AGI(/path/to/myscript.pl)
When i tried to stream an audio file through the script, with:
#!/usr/bin/perl print "STREAM FILE hello-world \"\"\n";
No error is given in the logs, but also no audio is heard in the client side. Strange thing is, if i replace:
I works perfectly.
Am I missing something ?
Thanks in advance,