<div dir="ltr"><font color="#333333"><font face="verdana,sans-serif">So it seems like Demo.csx does work but only on the first call.</font></font><div><font color="#333333"><font face="verdana,sans-serif"><br></font></font></div>
<div><font color="#333333"><font face="verdana,sans-serif"><div>freeswitch@li133-47> <font class="Apple-style-span" color="#666666">managed ApiDemo</font></div><div><br></div><div><font class="Apple-style-span" color="#006600">ApiDemo executed with args '' and event type API.</font></div>
<div><font class="Apple-style-span" color="#000000">freeswitch@li133-47> </font><font class="Apple-style-span" color="#666666">managed ApiDemo</font></div><div><font class="Apple-style-span" color="#FF0000">2010-09-02 16:08:23.874678 [ERR] switch_cpp.cpp:1177 Exception in Execute(ApiDemo): System.NullReferenceException: Object reference not set to an instance of an object</font></div>
<div><font class="Apple-style-span" color="#FF0000"> at System.Runtime.Remoting.Contexts.Context.get_NeedsContextSink () [0x00000] in <filename unknown>:0</font></div><div><font class="Apple-style-span" color="#FF0000"> at (wrapper xdomain-invoke) FreeSWITCH.ApiPluginExecutor:ExecuteApi (string,intptr,intptr)</font></div>
<div><font class="Apple-style-span" color="#FF0000"> at (wrapper remoting-invoke-with-check) FreeSWITCH.ApiPluginExecutor:ExecuteApi (string,intptr,intptr)</font></div><div><font class="Apple-style-span" color="#FF0000"> at FreeSWITCH.Loader.Execute (System.String command, IntPtr streamHandle, IntPtr eventHandle) [0x00000] in <filename unknown>:0</font></div>
<div><font class="Apple-style-span" color="#FF0000"><br></font></div><div><font class="Apple-style-span" color="#FF0000"><br></font></div><div><font class="Apple-style-span" color="#FF0000">2010-09-02 16:08:23.874678 [ERR] mod_managed.cpp:404 Execute failed for ApiDemo (unknown module or exception).</font></div>
<div><font class="Apple-style-span" color="#FF0000"><br></font></div><div><br></div><div><br></div></font></font>Yitzchok<br>
<br><br><div class="gmail_quote">On Thu, Sep 2, 2010 at 3:45 PM, Jeff Lenk <span dir="ltr"><<a href="mailto:jeff@jefflenk.com">jeff@jefflenk.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Please just use the file provided in<br>
src/mod/languages/mod_managed/managed/Demo.csx<br>
<br>
when you copy this file to install-location/mod/managed it should be loaded<br>
automatically in a running instance of fs. If this does not happen then the<br>
mono runtime is not setup or working correctly.<br>
<font color="#888888"><br>
<br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/mod-managed-on-linux-centos-tp5485480p5492556.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/mod-managed-on-linux-centos-tp5485480p5492556.html</a><br>
</font><div><div></div><div class="h5">Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div></div>