here is my script:hello.php
here is my context:
after using SIP phone (X-litte) to call, Asterisk CLI display:
–launched AGI script /var/lib/asterisk/agi-bin/hello.php
–<SIP/truonglh-b7bbfca8>AGI script hello.php completed, returning 0.
But I don’t hear anything (my hello.gsm).I don’t know why! please help me!
Ah,if I replace exten=>1,2,AGI(hello.php) by exten=>1,2,AGI(agi-test.agi), everything work as expected! (agi-test.agi is already in agi-bin directory, and it is writen by perl,is it the reason???).
please help me!
Thanks so much!