<div class="gmail_quote">On Mon, Apr 20, 2009 at 7:28 AM, Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">Its for what modules to load into FreeSWITCH.  The config files are required to configure all the modules you load.<div><br></div><div>/b</div><div><div class="im"><br><div><div>On Apr 20, 2009, at 9:14 AM, Fred-145 wrote:</div>
<br><blockquote type="cite"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">If FS loads all files in autoload_configs/ in one go, then what is the<br>
purpose of modules.conf.xml?</span></blockquote></div></div></div></div></blockquote><div><br></div></div>As an example of this, consider mod_xml_cdr. By default, module &quot;mod_xml_cdr&quot; 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 &quot;xml_locate&quot; command at the FS command line:<br>
<br>xml_locate configuration configuration name xml_cdr.conf<br><br>or you can dump the whole xml config with this:<br><br>xml_locate root<br><br>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. <br>
<br>HTH,<br>MC<br><br>