[Asterisk-bugs] [Asterisk 0010123]: MusicOnHold() drops the channel if the specified class does not exist

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Jul 5 15:05:01 CDT 2007


The following issue has been REOPENED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10123 
====================================================================== 
Reported By:                blitzrage
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10123
Category:                   Resources/res_musiconhold
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.5 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             07-05-2007 14:37 CDT
Last Modified:              07-05-2007 15:05 CDT
====================================================================== 
Summary:                    MusicOnHold() drops the channel if the specified
class does not exist
Description: 
Subject pretty much says it all. Easiest fix is probably just to fall back
to the 'default' MoH class. This would also assume 'default' existed,
although if it didn't, then we can just drop the channel... or
alternatively, continue on in the dialplan (with the former being preferred
I guess since it won't change any behaviour)
====================================================================== 

---------------------------------------------------------------------- 
 blitzrage - 07-05-07 15:05  
---------------------------------------------------------------------- 
Reopening because upon actually testing it didn't do what I thought at
first (it isn't checking for the actual class, just that something is
passed to MusicOnHold().

Juggie said he'd write up a patch tonight or tomorrow for this. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-05-07 15:05  blitzrage      Note Added: 0066556                          
======================================================================




More information about the Asterisk-bugs mailing list