Summary:ASTERISK-03179: [PATCH] change load order for res_musiconhold, add example for moh_files
Reporter:Kevin P. Fleming (kpfleming)Labels:
Date Opened:2005-01-04 14:37:54.000-0600Date Closed:2008-01-15 15:19:49.000-0600
Versions:Frequency of
Environment:Attachments:( 0) moh_load_order_rev1.diff.txt
Description:The attached patch adds an example for moh_files, and also documents that if the user is using manual loading of modules in modules.conf, they need to ensure that their format modules are loaded before res_musiconhold, or it will filter out the files it cannot play (which could be all of them).

In addition, it modifies the "autoload" order defined in loader.c to load all format modules first, since they have no dependencies on other modules and res_musiconhold is dependent on them.


Disclaimer is on file.
Comments:By: Mark Spencer (markster) 2005-01-04 14:42:19.000-0600

Is all this really worth the extra checks?  We could just revert those checks, right?

By: Mark Spencer (markster) 2005-01-04 14:50:21.000-0600

Added to CVS after discussion with anthm.  Thanks!

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

Repository: asterisk
Revision: 4664

U   trunk/configs/musiconhold.conf.sample
U   trunk/loader.c

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

Load formats first (bug ASTERISK-3179)