[Home]

Summary:ASTERISK-03161: [PATCH] filter out unplayable files for moh_files, add CLI command to list files
Reporter:Kevin P. Fleming (kpfleming)Labels:
Date Opened:2005-01-02 10:30:56.000-0600Date Closed:2008-01-15 15:19:24.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Resources/res_musiconhold
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) native_moh_fixes_rev1.diff.txt
Description:The attached patch filters out unplayable files found during the directory scan for moh_files classes (unplayable files are those that ast_fileexists says we can't see because we don't have a format module for them).

It also adds an "moh files show" CLI command to show what res_musiconhold found when it scanned for files.

****** ADDITIONAL INFORMATION ******

Disclaimer is on file.
Comments:By: Olle Johansson (oej) 2005-01-02 12:50:15.000-0600

Shouldn't the cli syntax be
"moh show files"
to be consistent with other cli commands?

By: Olle Johansson (oej) 2005-01-02 12:51:39.000-0600

In the help text for the cli command, please use "music on hold" instead of only "MOH".

By: Mark Spencer (markster) 2005-01-02 18:33:37.000-0600

Added to CVS.  Note that it does not work for non-native moh.

By: Digium Subversion (svnbot) 2008-01-15 15:19:24.000-0600

Repository: asterisk
Revision: 4635

U   trunk/res/res_musiconhold.c

------------------------------------------------------------------------
r4635 | markster | 2008-01-15 15:19:24 -0600 (Tue, 15 Jan 2008) | 2 lines

Merge kpflemings moh_files fixes (bug ASTERISK-3161)

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

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