I have included that but my scripts goes silent at

AGI Rx << EXEC Flite "Hello 1215, you have dialed 1220."
AGI Tx >> 200 result=0

Below is my script

#!/usr/bin/php -q
     <?php


      set_time_limit(30);
      require('phpagi.php');

      error_reporting(E_ALL);

      $agi = new AGI();
      $asm = $agi->new_AsteriskManager();
      $agi->answer();
      $callext = $agi->get_variable("DNID");
      $callext=$callext['data'];
      $callid = $agi->get_variable("CALLERID(num)");
      $callid=$callid['data'];

      $agi->exec("Flite","\"Hello $callid, you have dialed $callext.\"");

      $asm->command("show hints");

     $agi->exec("flite","\"Goodbye\"");
      $agi->hangup();
   ?>
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to