On Mon, Apr 20, 2009 at 7:28 AM, Brian West <[email protected]> wrote:
> Its for what modules to load into FreeSWITCH. The config files are > required to configure all the modules you load. > /b > > On Apr 20, 2009, at 9:14 AM, Fred-145 wrote: > > If FS loads all files in autoload_configs/ in one go, then what is the > purpose of modules.conf.xml? > > As an example of this, consider mod_xml_cdr. By default, module "mod_xml_cdr" is not loaded - it is commented out in modules.conf.xml. However, also by default, the config file for mod_xml_cdr (xml_cdr.conf.xml) is in the autoload_configs/ directory. Does this mean that the contents of xml_cdr.conf.xml get loaded into the main FS configuration even if mod_xml_cdr is not enabled in modules.conf.xml? Yes. You can actually see the xml in memory by using the "xml_locate" command at the FS command line: xml_locate configuration configuration name xml_cdr.conf or you can dump the whole xml config with this: xml_locate root Make sense? Anyway, the bottom line is that any XML file in autoload_configs/ will get loaded into the big XML configuration file that gets stored in memory, even if the corresponding module is not loaded from modules.conf.xml. HTH, MC
_______________________________________________ Freeswitch-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
