1 #!/usr/local/bin/php -q
2 <?php
3 /**
4 *
5 * @package phpAGI_examples
6 * @version 2.0
7 */
8 set_time_limit(30);
9 require('phpagi.php');
10
11 $agi = new AGI();
12 $agi->answer();
13 $cid = $agi->parse_callerid();
14 $agi->text2wav("Hello, {$cid['name']}. Let's enter some text.");
15 $text = $agi->text_input('UPPERCASE');
16 $agi->text2wav("You entered $text");
17 $agi->text2wav('Goodbye');
18 $agi->hangup();
19 ?>
Documentation generated on Wed, 20 Jul 2005 15:21:32 +0000 by phpDocumentor 1.2.3