[asterisk-users] Play Fake ring in phpagi
Barton Fisher
bhfisher at icpage.com
Tue Aug 18 10:38:15 CDT 2009
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bhfisher.vcf
Type: text/x-vcard
Size: 253 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20090818/a12537eb/attachment.vcf
More information about the asterisk-users
mailing list