I have included that but my scripts goes silent at<br><br>AGI Rx << EXEC Flite "Hello 1215, you have dialed 1220."<br>AGI Tx >> 200 result=0<br><br>Below is my script<br><br>#!/usr/bin/php -q<br> <?php<br>
<br> <br> set_time_limit(30);<br> require('phpagi.php');<br><br> error_reporting(E_ALL);<br> <br> $agi = new AGI();<br> $asm = $agi->new_AsteriskManager(); <br> $agi->answer();<br>
$callext = $agi->get_variable("DNID");<br> $callext=$callext['data'];<br> $callid = $agi->get_variable("CALLERID(num)");<br> $callid=$callid['data'];<br> <br>
$agi->exec("Flite","\"Hello $callid, you have dialed $callext.\"");<br> <br> $asm->command("show hints");<br> <br> $agi->exec("flite","\"Goodbye\"");<br>
$agi->hangup();<br> ?><br>