[phpagi] Login

I am working on a script that will act as a login script.
How it will work: Starting a conversation with the script and are asked to enter a pin if the pin is correct then the man logged if the call is not completed.

But the script that I have coded does not work that way. Anybody can help me a bit?

Check phpagi.php file available in /var/lib/asterisk/agi-bin/ folder. The phpagi.php script having the execute right.

Please post your asterisk console log here to identify the issue.

May be text2wav function is not working. try to with sound file.