[asterisk-users] How to play music on hold from within PHP AGI scripts?

Leo Burd leob at media.mit.edu
Fri Aug 4 15:29:17 MST 2006


Hello there,

For some reason, I haven't been able to play music on hold from within my 
PHP script... Everything else seems to be fine: my script records and plays 
files without any problems.  I also tested MOH from my dialplan and it works 
perfectly.  And I can see from the console that MOH is being called by my 
AGI script... It looks good, but I'm not getting any music back, though.

Has anyone got MOH to work with PHP?  If so, would you mind sending me a 
code snippet?

Thanks in advance,

Leo Burd




More information about the asterisk-users mailing list