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

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Jul 13 18:21:00 CDT 2008


The following issue requires your FEEDBACK. 
====================================================================== 
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:                     feedback
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-13-2008 18:20 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.
====================================================================== 

---------------------------------------------------------------------- 
 mvanbaak - 07-13-08 18:20  
---------------------------------------------------------------------- 
You do know that the sample you gave has a gap in priorities ?

If you have your dialplan with the correct priorities and it's still an
issue please report back 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-13-08 18:20  mvanbaak       Note Added: 0090180                          
07-13-08 18:20  mvanbaak       Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list