[asterisk-bugs] [Asterisk 0010855]: [patch] Sort music on hold files list

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Oct 1 09:24:48 CDT 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10855 
====================================================================== 
Reported By:                jamesgolovich
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   10855
Category:                   Resources/res_musiconhold
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 84149 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             09-30-2007 23:38 CDT
Last Modified:              10-01-2007 09:24 CDT
====================================================================== 
Summary:                    [patch] Sort music on hold files list
Description: 
Heres a patch to add "sort=alpha" option to musiconhold so that files will
be sorted alphanumerically so the order they are played is predictable.  I
used the "sort=" config name in case another sort method would be added in
the future.

This patch also adds "sort=random" which is the same as "random=yes". 
Seems like this would be a more appropriate way of specifying random in the
future.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 10-01-07 09:24  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 84168

U   trunk/configs/musiconhold.conf.sample
U   trunk/res/res_musiconhold.c

------------------------------------------------------------------------
r84168 | russell | 2007-10-01 09:24:46 -0500 (Mon, 01 Oct 2007) | 8 lines

Add a new option for files-based music on hold to ensure that the sort
order
of the files is alphabetical.

(closes issue http://bugs.digium.com/view.php?id=10855)
Reported by: jamesgolovich
Patches: 
      asterisk-mohsortalpha.diff.txt uploaded by jamesgolovich (license
176)

------------------------------------------------------------------------ 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-01-07 09:24  svnbot         Checkin                                      
10-01-07 09:24  svnbot         Note Added: 0071242                          
10-01-07 09:24  svnbot         Status                   new => assigned     
10-01-07 09:24  svnbot         Assigned To               => russell         
======================================================================




More information about the asterisk-bugs mailing list