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("freeswitch.conf", 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, "Config Loader Success!");</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, "Config Loader Fail!");</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) <0x000a3></div>
<div> at (wrapper managed-to-native) FreeSWITCH.Native.freeswitchPINVOKE.switch_xml_open_cfg (string,System.Runtime.InteropServices.HandleRef,System.Runtime.InteropServices.HandleRef) <0x000a3></div><div> at FreeSWITCH.Native.freeswitch.switch_xml_open_cfg (string,FreeSWITCH.Native.SWIGTYPE_p_p_switch_xml,FreeSWITCH.Native.switch_event) <0x0004f></div>
<div> at PsiCallCenterAddon.FreeSwitchConfigLoader.loadConfigTest () <0x0001b></div><div> at PsiCallCenterAddon.QueueMonitorLoader.Load () <0x0000b></div><div> at FreeSWITCH.PluginManager.RunLoadNotify (System.Type[]) <0x00190></div>
<div> at FreeSWITCH.AsmPluginManager.LoadInternal (string) <0x001eb></div><div> at FreeSWITCH.PluginManager.Load (string) <0x000a7></div><div> at (wrapper remoting-invoke-with-check) FreeSWITCH.PluginManager.Load (string) <0x00067></div>
<div> at (wrapper xdomain-dispatch) FreeSWITCH.PluginManager.Load (object,byte[]&,byte[]&,string) <0x0017b></div><div> at (wrapper xdomain-invoke) FreeSWITCH.PluginManager.Load (string) <0x00126></div>
<div> at (wrapper remoting-invoke-with-check) FreeSWITCH.PluginManager.Load (string) <0x00047></div><div> at FreeSWITCH.Loader.loadFile (string) <0x004a3></div><div> at FreeSWITCH.Loader.Load () <0x0027b></div>
<div> at (wrapper runtime-invoke) <Module>.runtime_invoke_bool (object,intptr,intptr,intptr) <0x00046></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>