[Home]

Summary:ASTERISK-07466: Cannot hear music on hold from my agi script
Reporter:Leo Burd (leoburd)Labels:
Date Opened:2006-08-05 05:32:01Date Closed:2011-06-07 14:02:46
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_exec
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description: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

****** ADDITIONAL INFORMATION ******

Here's what I get on the console:

AGI Rx << EXEC SetMusicOnHold default
   -- AGI Script Executing Application: (SetMusicOnHold) Options: (default)
AGI Tx >> 200 result=0
AGI Rx << EXEC WaitMusicOnHold 20
   -- AGI Script Executing Application: (WaitMusicOnHold) Options: (20)
   -- Started music on hold, class 'default', on channel 'SIP/xlite1-2e82'
Aug  5 06:14:18 NOTICE[1877]: rtp.c:330 process_rfc3389: Comfort noise support incomplete in Asterisk (RFC 3389). Please turn off on client if possible. Client IP: 18.85.10.27
   -- Stopped music on hold on SIP/xlite1-2e82
Comments:By: Leo Burd (leoburd) 2006-08-05 05:55:28

I am sorry... I've just realized that this problem has been caused by a fault on my side! Please disregard this issue!

Thanks,

Leo