blackwater dev wrote:
I have the following code. When I call the extension, it either ignores the first "Hello there everyone", or says "hello" and moves on sometime stoping before it finishes hello. The rest of the text reads fine. Anyone else have this issue??
Try adding this...

 require('/var/lib/asterisk/agi-bin/phpagi.php');

  $agi = new AGI();
  $agi->answer();
sleep(0.5);
  $agi->swift("Hello there everyone ");

Regards,
Trevor
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to