Why not record a ring tone, and playback the file? with $agi->streamfile???
On Tue, Aug 18, 2009 at 11:38 AM, Barton Fisher <[email protected]> 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 >
_______________________________________________ -- 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
