Thanks for the response Raffaele,<div><br></div><div>I've successfully gotten the plugins to work. What I'm looking for is a way to write a lower-level FreeSWITCH module, as is implied by the wiki document. Mostly I'm trying to get something that runs stably in it's own thread from switch startup.</div>
<div><br></div><div>Josh<br><div><br><div class="gmail_quote">On Mon, Sep 7, 2009 at 11:00 PM, Raffaele P. Guidi <span dir="ltr"><<a href="mailto:raffaele.p.guidi@gmail.com">raffaele.p.guidi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I suppose you are working in windows with the binary distribution (that doesn't contain the mod_managed binaries, sources and examples. A bit weird, I think). You can get them from here <a href="http://fisheye.freeswitch.org/browse/FreeSWITCH/src/mod/languages/mod_managed" target="_blank">http://fisheye.freeswitch.org/browse/FreeSWITCH/src/mod/languages/mod_managed</a>. The package contains a Demo.csx file featuring three examples: api, app and load notification plugin - very simple to understand and that will be easy to extend. Once mod_managed is installed you can put that file into the "managed" dir and will be automatically deployed. <div>
The csx (wich is csharp script) can also be compiled into an exe file and will work the same way.</div><div><div><br></div><div>Regards,</div><div> Raffaele <br><br><div class="gmail_quote"><div><div></div><div class="h5">
On Tue, Sep 8, 2009 at 07:41, Josh Rivers <span dir="ltr"><<a href="mailto:josh@radianttiger.com" target="_blank">josh@radianttiger.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5"><div>The wiki says:</div>mod_managed exposes nearly the entire FreeSWITCH C API (courtesy of
SWIG). This allows creation of not just API functions and call apps,
but any type of module that FreeSWITCH supports (codecs, endpoints,
etc.). The types are in the FreeSWITCH.Native namespace.
FreeSWITCH.Native. The FreeSWITCH.Native.freeswitch type contains
static members to access all the functions.<div><br></div><div>Does anybody have a starting point they can share for a non-API/APP managed module. I'd like to build something that runs in the SWITCH_MODULE_SHUTDOWN_FUNCTION/SWITCH_MODULE_SHUTDOWN_FUNCTION/SWITCH_MODULE_SHUTDOWN_FUNCTION lifecycle. How can this be done?</div>
<div><br></div><div>Thanks!</div><div>Josh</div>
<br></div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
<br></blockquote></div><br></div></div>
<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>
<br></blockquote></div><br></div></div>