[asterisk-users] Play Fake ring in phpagi
Pascal Bruno
tipascal at gmail.com
Tue Aug 18 12:31:32 CDT 2009
Why not record a ring tone, and playback the file? with $agi->streamfile???
On Tue, Aug 18, 2009 at 11:38 AM, Barton Fisher <bhfisher at icpage.com> wrote:
>
> I'm going blind searching - maybe you know?
>>
>> During the execution of a script I want to play fake ring to caller. Both
>> of these examples complain of missing option:
>>
>> $agi->exec("Ringing");
>> $agi->exec("Playtones ring");
>>
>
>
>> Notice: Undefined variable: options in
>> /var/lib/asterisk/agi-bin/includes/phpagi.php on line 326
>>
>> 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
>>
>> I changed to $agi->exec("Playtones ring",""); - no error message but not
> sure that correct
>
>> Any ideas what to put for missing option?
>>
>> TIA
>>
>> Bart
>>
>
> _______________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090818/903fe1b8/attachment.htm
More information about the asterisk-users
mailing list