search for: phpagi_exampl

Displaying 1 result from an estimated 1 matches for "phpagi_exampl".

Did you mean: phpagi_examples
2009 Sep 02
0
problem with agi script not getting variable
...gi scripting using php. I m using phpagi 2.x on asterisk 1.2. I hve written a simple script that reads out the callerid using flite. My problem is that I seems the script is not getting the callerID. Bellow is the script _________________ #!/usr/bin/php -q <?php /** * @package phpAGI_examples * @version 2.0 */ set_time_limit(30); require('phpagi.php'); error_reporting(E_ALL); $agi = new AGI(); $agi->answer(); $cid = $agi->parse_callerid(); $agi->exec("Flite","\"Hello, {$cid['name']...