[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:31:59 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:                     ready for review
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:              
====================================================================== 
Date Submitted:             2010-06-04 12:58 CDT
Last Modified:              2010-06-14 16:31 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0123394) svnbot (reporter) - 2010-06-14 16:31
 https://issues.asterisk.org/view.php?id=17470#c123394 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 270331

U   branches/1.4/res/res_musiconhold.c

------------------------------------------------------------------------
r270331 | pabelanger | 2010-06-14 16:31:59 -0500 (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: [full review board URL with trailing slash]

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

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

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




More information about the asterisk-bugs mailing list