[Freeswitch-users] How to create a C++ application (project), that can code FS C code function?

Yossi Neiman freeswitch at cartissolutions.com
Tue Feb 22 04:45:58 MSK 2011

Once upon a time I wrote the first C++ module that used to be in the 
tree.  Changes to the core obsoleted the module, but I can tell you that 
the process between making an application module is basically setting 
your module to compile with the c++ compiler.  The only difficulty comes 
into play when you want to expose functionality to C code.

Yossi Neiman
Cartis Solutions, Inc. - http://www.cartissolutions.com

On 02/14/2011 03:30 AM, Frankie Yiu wrote:
> Hi there,
> I am new to FreeSwitch and I would like to implement a C++ application 
> / mod that would do some analysis of RTP packets.  I would like to ask 
> what mod I should use as a template to create my C++ project so that I 
> can access the core FreeSwitch APIs / functions, since they are in C 
> language?
> I know under Endpoints, there are 2 MODs that are using C++ code 
> (mod_h323 and mod_opal), but I don't know if I should implement the 
> same way if I am creating an "application" instead of "endpoints".
> Please kindly let me know if there is any special / required function 
> that I need to implemented in C++ code.
> Thanks in advance.
> Frankie
> _______________________________________________
> 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/20110221/d7c71798/attachment.html 

More information about the FreeSWITCH-users mailing list