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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Dec 17 14:50:28 CST 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:                     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:             2008-07-08 06:36 CDT
Last Modified:              2008-12-17 14:50 CST
====================================================================== 
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.
====================================================================== 

---------------------------------------------------------------------- 
 (0096575) file (administrator) - 2008-12-17 14:50
 http://bugs.digium.com/view.php?id=13019#c96575 
---------------------------------------------------------------------- 
Suspended due to lack of feedback. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-17 14:50 file           Note Added: 0096575                          
======================================================================




More information about the asterisk-bugs mailing list