[Freeswitch-users] Using mod_managed to create full FreeSWITCH modules
Josh Rivers
josh at radianttiger.com
Mon Sep 7 23:23:48 PDT 2009
Thanks for the response Raffaele,
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.
Josh
On Mon, Sep 7, 2009 at 11:00 PM, Raffaele P. Guidi <
raffaele.p.guidi at gmail.com> wrote:
> 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
> http://fisheye.freeswitch.org/browse/FreeSWITCH/src/mod/languages/mod_managed.
> 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. The csx (wich is csharp
> script) can also be compiled into an exe file and will work the same way.
>
> Regards,
> Raffaele
>
> On Tue, Sep 8, 2009 at 07:41, Josh Rivers <josh at radianttiger.com> wrote:
>
>> The wiki says:
>> 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.
>> 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?
>>
>> Thanks!
>> Josh
>>
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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/20090907/aedfeb2b/attachment-0002.html
More information about the FreeSWITCH-users
mailing list