[Freeswitch-dev] Managed module similar to mod_skypopen

Michael Giagnocavo mgg at giagnocavo.net
Mon Dec 19 17:38:05 MSK 2011

Hi Suneel,

                The managed interfaces are identical to the C interfaces - we just use SWIG to auto-generate C# wrappers. Apart from the loading system and a few handy calls (like Logging), it really is entirely C-like.

                Unfortunately, the wrappers can get quite verbose, especially with double pointer arguments and so on. I suggest you look at an unmanaged module and see what it calls, then try the same calls from C#.

                If you're finding certain functions from being extra annoying via SWIG, let me know. Perhaps we can write some unmanaged functions to make accomplishing those things a bit more friendly for C#.


From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Papineni, Suneel
Sent: Monday, December 19, 2011 5:08 AM
To: freeswitch-dev at lists.freeswitch.org
Subject: [Freeswitch-dev] Managed module similar to mod_skypopen


I want to write a managed module in c# which is similar to mod_skypopen module.

In fact I am trying to understand mod_skypopen module and exploring the possibilities of writing it as a managed module in C# with the options of interfaces and skype users and other features.

This is for my understanding and learning purposes about managed modules. Could someone please guide me how to add interfaces and handle calls that comes to these interfaces in managed code.

Note: I looked into the examples that are provided at http://wiki.freeswitch.org/wiki/Mod_managed and tried to understand the basics.

Thanks & Regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20111219/52f819d2/attachment-0001.html 

Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list