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

Reply via email to