Php agi

Hello everyone,

Please if you have time and ideas to help me. I wrote script in php, in which I made new agi object : $agi = new AGI();
And then I wrote couple of functions in which I have $agi -> exec(‘Playback’, ’ some message’); … But when I run my script , it call my function to play message but then script stops. When I have just simple function without need of agi functions it works perfectly ! Can you explain me why I can not use agi functions in php functions, and is there a way to do that?



Can you paste your php code and your cli output with the agi debug?