Has anyone had success working with xml configuration files using mod_managed? I have several modules that DO NOT override the xml configuration but, rather, I actually want to configure them using the freeswitch conf directory structure. I have not even tried to parse the xml because I cant even load the xml. Here is a very basic example of what I tried and the result I got:<div>
<br></div><div>The Code:</div><div>------------------------------------------------</div><div><br></div><div><div>using System;</div><div>using FreeSWITCH;</div><div>using FreeSWITCH.Native;</div><div><br></div><div>namespace PsiCallCenterAddon</div>
<div>{</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>public class FreeSwitchConfigLoader</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>{</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>public static void loadConfigTest()</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>{</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>try</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>{</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span>switch_xml xml = freeswitch.switch_xml_open_cfg(&quot;freeswitch.conf&quot;, null, null);</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>freeswitch.switch_xml_free(xml);</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span></div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>Log.WriteLine(LogLevel.Alert, &quot;Config Loader Success!&quot;);</div><div>
<span class="Apple-tab-span" style="white-space:pre">                        </span>}</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>catch</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>{</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span>Log.WriteLine(LogLevel.Alert, &quot;Config Loader Fail!&quot;);</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>}</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>}<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>}</div><div>}</div></div><div><br></div><div>------------------------------------------------</div><div><br></div><div>The Result:</div><div>------------------------------------------------</div>
<div><br></div><div><div>Stacktrace:</div><div><br></div><div>  at (wrapper managed-to-native) FreeSWITCH.Native.freeswitchPINVOKE.switch_xml_open_cfg (string,System.Runtime.InteropServices.HandleRef,System.Runtime.InteropServices.HandleRef) &lt;0x000a3&gt;</div>
<div>  at (wrapper managed-to-native) FreeSWITCH.Native.freeswitchPINVOKE.switch_xml_open_cfg (string,System.Runtime.InteropServices.HandleRef,System.Runtime.InteropServices.HandleRef) &lt;0x000a3&gt;</div><div>  at FreeSWITCH.Native.freeswitch.switch_xml_open_cfg (string,FreeSWITCH.Native.SWIGTYPE_p_p_switch_xml,FreeSWITCH.Native.switch_event) &lt;0x0004f&gt;</div>
<div>  at PsiCallCenterAddon.FreeSwitchConfigLoader.loadConfigTest () &lt;0x0001b&gt;</div><div>  at PsiCallCenterAddon.QueueMonitorLoader.Load () &lt;0x0000b&gt;</div><div>  at FreeSWITCH.PluginManager.RunLoadNotify (System.Type[]) &lt;0x00190&gt;</div>
<div>  at FreeSWITCH.AsmPluginManager.LoadInternal (string) &lt;0x001eb&gt;</div><div>  at FreeSWITCH.PluginManager.Load (string) &lt;0x000a7&gt;</div><div>  at (wrapper remoting-invoke-with-check) FreeSWITCH.PluginManager.Load (string) &lt;0x00067&gt;</div>
<div>  at (wrapper xdomain-dispatch) FreeSWITCH.PluginManager.Load (object,byte[]&amp;,byte[]&amp;,string) &lt;0x0017b&gt;</div><div>  at (wrapper xdomain-invoke) FreeSWITCH.PluginManager.Load (string) &lt;0x00126&gt;</div>
<div>  at (wrapper remoting-invoke-with-check) FreeSWITCH.PluginManager.Load (string) &lt;0x00047&gt;</div><div>  at FreeSWITCH.Loader.loadFile (string) &lt;0x004a3&gt;</div><div>  at FreeSWITCH.Loader.Load () &lt;0x0027b&gt;</div>
<div>  at (wrapper runtime-invoke) &lt;Module&gt;.runtime_invoke_bool (object,intptr,intptr,intptr) &lt;0x00046&gt;</div><div><br></div><div>Native stacktrace:</div><div><br></div><div>        /usr/lib64/libmono-2.0.so.1(+0xacba0) [0x7fc7ea58dba0]</div>
<div>        /usr/lib64/libmono-2.0.so.1(+0xfcedf) [0x7fc7ea5ddedf]</div><div>        /lib64/libpthread.so.0(+0xf2d0) [0x7fc7f1ceb2d0]</div><div>        /usr/local/freeswitch/lib/libfreeswitch.so.1(switch_xml_open_cfg+0x1a) [0x7fc7f260b0ea]</div>
<div>        [0x40155804]</div><div><br></div><div>Debug info from gdb:</div></div><div><div>=================================================================</div><div>Got a SIGSEGV while executing native code. This usually indicates</div>
<div>a fatal error in the mono runtime or one of the native libraries </div><div>used by your application.</div><div>=================================================================</div></div>