[asterisk-bugs] [Asterisk 0015836]: Tweak to make Music On Hold play files in alphabetical order.
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Sep 4 13:46:07 CDT 2009
The following issue has been SUBMITTED.
======================================================================
https://issues.asterisk.org/view.php?id=15836
======================================================================
Reported By: mcargile
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15836
Category: Resources/res_musiconhold
Reproducibility: always
Severity: tweak
Priority: normal
Status: new
Asterisk Version: 1.4.26.1
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-09-04 13:46 CDT
Last Modified: 2009-09-04 13:46 CDT
======================================================================
Summary: Tweak to make Music On Hold play files in
alphabetical order.
Description:
Music On Hold currently plays the files in the order they are found in the
directory and not alphabetically. This is because the moh_scan_files
function is using readdir to grab the file list. The included patch
converts moh_scan_files to use the scandir function with alphasort to get
the files in alphabetical order. I have also added verbose messages so you
can see which files and directories moh is loading.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-09-04 13:46 mcargile New Issue
2009-09-04 13:46 mcargile Asterisk Version => 1.4.26.1
2009-09-04 13:46 mcargile Regression => No
2009-09-04 13:46 mcargile SVN Branch (only for SVN checkouts, not tarball
releases) => N/A
======================================================================
More information about the asterisk-bugs
mailing list