[asterisk-bugs] [Asterisk 0013019]: MusicOnHold playing silence

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jul 9 02:27:50 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13019 
====================================================================== 
Reported By:                Dmd
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13019
Category:                   Resources/res_musiconhold
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0-beta9 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-08-2008 06:36 CDT
Last Modified:              07-09-2008 02:27 CDT
====================================================================== 
Summary:                    MusicOnHold playing silence
Description: 
Im testing out Asterisk 1.6-beta9 (tarball release from website) and was
going to add a simple testcase of a user "music" to try out moh.

Now, when I was trying this I got. Silence.
UNTIL: I added a Playback before the MusicOnHold,  Then suddenly the music
played.


in the sip.conf:
[music]
type=user
username=music
host=dynamic
context=music

Two examples of extensions.conf:

Working example:
[music]
exten => music,1,Ringing
exten => music,n,Wait(2)
exten => music,3,Answer
exten => music,4,Set(CHANNEL(musicclass)=default)
exten => music,5,Playback(tt-allbusy)
exten => music,6,MusicOnHold(default,20)
exten => music,60,HangUp

NOT Working:
exten => music,1,Ringing
exten => music,n,Wait(2)
exten => music,3,Answer
exten => music,4,Set(CHANNEL(musicclass)=default)
; exten => music,5,Playback(tt-allbusy)
exten => music,6,MusicOnHold(default,20)
exten => music,60,HangUp

Im frankly at a loss as to why the music wouldnt play when you do not have
a playback before.
====================================================================== 

---------------------------------------------------------------------- 
 Dmd - 07-09-08 02:27  
---------------------------------------------------------------------- 
Tested your solution and it does not work for this problem. (For me at
least)

More instructions on how to debug further (if needed) would be good. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-09-08 02:27  Dmd            Note Added: 0089927                          
======================================================================




More information about the asterisk-bugs mailing list