[asterisk-users] play sound while executing agi script

2008-11-24 Thread Giedrius Augys
Hello,


  Is it possible to do like this: play a sound file (if needed play in loop)
while php agi script finishes work ? And how to do this? When on my server
is huge load , I don't want that client hears silent , but hears music.
Thanks

-- 
Pagarbiai  / Best Regards,
Giedrius Augys
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] play sound while executing agi script

2008-11-24 Thread Tilghman Lesher
On Monday 24 November 2008 06:51:23 Giedrius Augys wrote:
   Is it possible to do like this: play a sound file (if needed play in
 loop) while php agi script finishes work ? And how to do this? When on my
 server is huge load , I don't want that client hears silent , but hears
 music. Thanks

Please see StartMusicOnHold and StopMusicOnHold.

-- 
Tilghman

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] play sound while executing agi script

2008-11-24 Thread Steve Edwards
On Mon, 24 Nov 2008, Tilghman Lesher wrote:

 On Monday 24 November 2008 06:51:23 Giedrius Augys wrote:
   Is it possible to do like this: play a sound file (if needed play in
 loop) while php agi script finishes work ? And how to do this? When on my
 server is huge load , I don't want that client hears silent , but hears
 music. Thanks

 Please see StartMusicOnHold and StopMusicOnHold.

You can create a thread in your AGI to STREAM FILE.

I do this to play a message while waiting for a credit card authorization. 
Usually, I get the response before the message finishes so the auth 
appears to be instantaneous to the customer.

Thanks in advance,

Steve Edwards  [EMAIL PROTECTED]  Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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