Why not record a ring tone, and playback the file? with $agi->streamfile???<br><br><br><br><div class="gmail_quote">On Tue, Aug 18, 2009 at 11:38 AM, Barton Fisher <span dir="ltr"><<a href="mailto:bhfisher@icpage.com">bhfisher@icpage.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm going blind searching - maybe you know?<br>
<br>
During the execution of a script I want to play fake ring to caller. Both of these examples complain of missing option:<br>
<br>
$agi->exec("Ringing");<br>
$agi->exec("Playtones ring");<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Notice: Undefined variable: options in /var/lib/asterisk/agi-bin/includes/phpagi.php on line 326<br>
<br>
Warning: Missing argument 2 for AGI::exec(), called in /var/lib/asterisk/agi-bin/dax-ivr.agi on line 156 and defined in /var/lib/asterisk/agi-bin/includes/phpagi.php on line 323<br>
<br>
</blockquote>
I changed to $agi->exec("Playtones ring",""); - no error message but not sure that correct<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Any ideas what to put for missing option?<br>
<br>
TIA<br>
<br>
Bart<br>
</blockquote>
<br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>