Displaying 3 results from an estimated 3 matches for "parse_callerid".
2006 Dec 27
1
php agi trixbox help
...and the output from the asterisk CLI. When I
call the 311 extension, I does nothing then hangs up. What am I doing
wrong??
----php code------------
#!/usr/local/bin/php -q
<?php
set_time_limit(30);
require('phpagi.php');
$agi = new AGI();
$agi->answer();
$cid = $agi->parse_callerid();
$agi->text2wav("Hello, {$cid['name']}. Let's enter some text.");
$text = $agi->text_input('UPPERCASE');
$agi->text2wav("You entered $text");
$agi->text2wav('Goodbye');
$agi->hangup();
?>
------extensions_custom.php----...
2007 Jan 15
1
phpagi transfer example
Hi, i want to to this thing with php AGI:
#!/usr/local/bin/php -q
<?php
set_time_limit(30);
require('phpagi.php');
error_reporting(E_ALL);
$agi = new AGI();
$agi->answer();
$cid = $agi->parse_callerid();
$agi->text2wav("Hello, {$cid['name']}.");
$agi->text2wav('Enter some numbers and then press the pound key. Press
1 1 1 followed by the pound key to quit.');
$result = $agi->get_data('beep', 3000, 20);
$keys = $result['result'];
$agi->text...
2009 Sep 02
0
problem with agi script not getting variable
...cript
_________________
#!/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']}.\"");
$agi->exec("flite","\"Goodbye\"");
$agi->hangup();
?>
___________________
and below is my agi debug output
-- Launched AGI Script /var/li...