[asterisk-dev] [Code Review] sort=alpha does not start at first file

paul.belanger at polybeacon.com paul.belanger at polybeacon.com
Mon Jun 14 13:55:28 CDT 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/703/
-----------------------------------------------------------

Review request for Asterisk Developers.


Summary
-------

Leif reported this problem over IRC, I managed to find and fix the problem (as crazy as that sounds).

Seems when you set sort=alpha, it would always play start + 1 file in the list first.  We now check to see if it is the first time and if so, play the first file in the list.


This addresses bug 17470.
    https://issues.asterisk.org/view.php?id=17470


Diffs
-----

  /trunk/res/res_musiconhold.c 266928 

Diff: https://reviewboard.asterisk.org/r/703/diff


Testing
-------

Local development box and Leif


Thanks,

pabelanger




More information about the asterisk-dev mailing list