[asterisk-users] How to "emulate" Music on Hold in a PHP AGI script?

Leo Burd leob at media.mit.edu
Mon Aug 7 04:04:42 MST 2006


- Thank you so much!

I didn't even know that Start/StopMusicOnHold existed!!

BTW, how can one find out about those undocumented applications?

Best,

Leo


---------------------------------
On Sun, 2006-08-06 at 22:31 -0400, Leo Burd wrote:
> How to "emulate" Music on Hold in a PHP AGI script? Ideally, I would like 
> my
> PHP script to play a predefined file to my callers while the script has to
> spend time performing some internal calculations.  Does anyone know how to
> do this?  Any suggestions?

I'm not sure if there is any practical benefit of emulating music on
hold.  You should just be able to use "EXEC StartMusicOnHold" and "EXEC
StopMusicOnHold" before and after the work you need to do in your
script.

-- 
Russell Bryant
Software Developer
Digium, Inc. 




More information about the asterisk-users mailing list