[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:35:52 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:35 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0123397) svnbot (reporter) - 2010-06-14 16:35
 https://issues.asterisk.org/view.php?id=17470#c123397 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 270333

U   branches/1.6.2/res/res_musiconhold.c

------------------------------------------------------------------------
r270333 | pabelanger | 2010-06-14 16:35:52 -0500 (Mon, 14 Jun 2010) | 28
lines

Merged revisions 270332 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r270332 | pabelanger | 2010-06-14 17:33:55 -0400 (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=270333 

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




More information about the asterisk-bugs mailing list