[asterisk-users] How to "emulate" Music on Hold in a PHP AGI
script?
Russell Bryant
russell at digium.com
Sun Aug 6 20:07:17 MST 2006
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