[asterisk-dev] C++ Asterisk Module

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Apr 6 11:03:06 CDT 2017


On Wed, Apr 05, 2017 at 11:27:09PM -0300, Valter Nogueira wrote:
> How could I write a C++ module for Asterisk?

Technically: the module needs to have a .cc suffix. Look for _CC_ (as
opposed to _C_) is Makefile.moddir_rules. 

> Is there any GPL C++ module for Asterisk?

channels/chan_vpb.cc is in the tree (though disabled by default).
Asterisk 11 had channels/chan_h323.c that was C, but interfaced with
C++ code under channels/h323/ .

-- 
               Tzafrir Cohen
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com



More information about the asterisk-dev mailing list