[asterisk-dev] SIP Stack Research

Russell Bryant russell at russellbryant.net
Thu Nov 8 10:06:05 CST 2012


On Thu, Nov 8, 2012 at 10:24 AM, Matthew Jordan <mjordan at digium.com> wrote:

> On 11/08/2012 07:35 AM, joachim wrote:
> >
> > I can't speak for the other projects due to a lack of experience with
> > them, but we (Zoiper) are very happy with Resiprocate. The product is
> > rock stable and the core team is very skilled.
> >
>
> Given that reSIProcate is written in C++, it would be fairly difficult
> to adopt for the Asterisk project.  Not impossible, but it would most
> likely entail having to write wrappers around the C++ objects ourselves
> that expose them in a manner consumable by C applications.  This means
> that we would either have to have a C++ wrapper module in Asterisk
> (eek), or else we would have to have a C++ library that wraps
> reSIProcate and have a resource module consume that intermediary
> library.  Note that this would also eliminate some of the benefit of
> having reSIProcate as a packaged library.
>
> While certainly worth looking at, it would be a significant amount of
> work just getting that SIP stack incorporated in a usable fashion in
> Asterisk.
>

I'm not sure that I understand the technical limitations here.  It's
certainly possible write an Asterisk module in C++ today and consume all of
Asterisk's C APIs.  There have been C++ modules in the past.

If there's a concern about having a critical module in C++ in a community
otherwise working in C, and the potential skill gaps resulting in bad code
... I get that.  It's certainly worth taking into account.

-- 
Russell Bryant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20121108/2168aeae/attachment-0001.htm>


More information about the asterisk-dev mailing list