[asterisk-dev] New SIP channel driver project page

Saúl Ibarra Corretgé saghul at gmail.com
Thu Nov 8 02:48:25 CST 2012


Hi,


Faidon Liambotis wrote:
> On 11/08/12 01:02, Saúl Ibarra Corretgé wrote:
>> While I agree that it would be ideal not to bundle PJSIP and depend on
>> whatever version your favorite distro provides, my experience with
>> PJSIP has shown me that it's very unlikely. For SIP SIMPLE SDK
>> (Blink's core) we have almost 50 patches on top of PJSIP. Many of them
>> are backports, but many others are just things we need which are not
>> suitable for upstream, and some others have been in PJSIP's tracker
>> for 3-4 years now. What should we do then?
>
> Fork it so that both you, Asterisk and others can benefit?
> Better than putting the load on distributions.
>
>> So we bundle it, there is no other way for us. Asterisk is a very big
>> and complex project so unfortunately I guess it will run into the same
>> problem as we did.
>
> Well, I know nothing of pjsip and its upstreams but I'm guessing that
> they might start being more receptive to patches if Asterisk starts
> using them and pushing them fixes. If there's no prespective of that,
> then this should count as a point against it as an option.
>

As Joshua has said earlier, PJSIP is project that is kind of meant to be 
embedded in applications. The build system only provides static 
libraries and if you need changes to the library deep down, you need to 
modify PJSIP itself in a way it may not really benefit anyone.

We added new callbacks and stuff because we  wrap PJSIP in Python, and 
their purpose if really specific, I don't really see anyone benefiting 
from a lot of our patches.

Moreover, at some point in time I broke PJSUA API, because we don't use 
it and I don't want to support it, so I don't think a "proper fork" with 
such a narrow scope would help anyone.

Our next step is to kind of fork PJSIP and package it standalone, then 
our SDK will build-depend on it. But this is for convenience and to save 
building time, for the most part.


Regards,

-- 
Saúl Ibarra Corretgé
http://saghul.net/blog | http://about.me/saghul



More information about the asterisk-dev mailing list