[Freeswitch-users] mod_managed on linux centos

Yitzchok adminjew at gmail.com
Thu Sep 2 13:12:28 PDT 2010


So it seems like Demo.csx does work but only on the first call.

freeswitch at li133-47> managed ApiDemo

ApiDemo executed with args '' and event type API.
freeswitch at li133-47> managed ApiDemo
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
  at System.Runtime.Remoting.Contexts.Context.get_NeedsContextSink ()
[0x00000] in <filename unknown>:0
  at (wrapper xdomain-invoke) FreeSWITCH.ApiPluginExecutor:ExecuteApi
(string,intptr,intptr)
  at (wrapper remoting-invoke-with-check)
FreeSWITCH.ApiPluginExecutor:ExecuteApi (string,intptr,intptr)
  at FreeSWITCH.Loader.Execute (System.String command, IntPtr streamHandle,
IntPtr eventHandle) [0x00000] in <filename unknown>:0


2010-09-02 16:08:23.874678 [ERR] mod_managed.cpp:404 Execute failed for
ApiDemo (unknown module or exception).



Yitzchok


On Thu, Sep 2, 2010 at 3:45 PM, Jeff Lenk <jeff at jefflenk.com> wrote:

>
> Please just use the file provided in
> src/mod/languages/mod_managed/managed/Demo.csx
>
> when you copy this file to install-location/mod/managed it should be loaded
> automatically in a running instance of fs. If this does not happen then the
> mono runtime is not setup or working correctly.
>
>
> --
> View this message in context:
> http://freeswitch-users.2379917.n2.nabble.com/mod-managed-on-linux-centos-tp5485480p5492556.html
> Sent from the freeswitch-users mailing list archive at Nabble.com.
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100902/4ec75f01/attachment-0001.html 


More information about the FreeSWITCH-users mailing list