[asterisk-bugs] [Asterisk 0017470]: [patch] sort=alpha does not start at position 0

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 14 16:33:55 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17470 
====================================================================== 
Reported By:                pabelanger
Assigned To:                pabelanger
====================================================================== 
Project:                    Asterisk
Issue ID:                   17470
Category:                   Resources/res_musiconhold
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/703/ 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-06-04 12:58 CDT
Last Modified:              2010-06-14 16:33 CDT
====================================================================== 
Summary:                    [patch] sort=alpha does not start at position 0
Description: 
Leif found this bug, but I fixed it :)

Seems when you set sort=alpha, it will always play start + 1 file first.
====================================================================== 

---------------------------------------------------------------------- 
 (0123395) svnbot (reporter) - 2010-06-14 16:33
 https://issues.asterisk.org/view.php?id=17470#c123395 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 270332

_U  trunk/
U   trunk/res/res_musiconhold.c

------------------------------------------------------------------------
r270332 | pabelanger | 2010-06-14 16:33:54 -0500 (Mon, 14 Jun 2010) | 21
lines

Merged revisions 270331 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r270331 | pabelanger | 2010-06-14 17:31:59 -0400 (Mon, 14 Jun 2010) | 14
lines
  
  Properly play first file in sort list.
  
  When using sort=alpha we would always skip the first file
  in the list first time through.  We now check for that
  properly. 
  
  (closes issue https://issues.asterisk.org/view.php?id=17470)
  Reported by: pabelanger
  Patches:
        sort.aplha.patch uploaded by pabelanger (license 224)
  Tested by: lmadsen
  
  Review: https://reviewboard.asterisk.org/r/703/
........

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

http://svn.digium.com/view/asterisk?view=rev&revision=270332 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-14 16:33 svnbot         Checkin                                      
2010-06-14 16:33 svnbot         Note Added: 0123395                          
======================================================================




More information about the asterisk-bugs mailing list