Having run pjsip for about a year now in production, I can say that the current 
implementation isn’t very reliable for scaling.
Due to the issues I describe below, I have to run multiple asterisk boxes with 
around 100 endpoints per box max.
Even at that leve, Asterisk on all boxes randomly stop responding to sip 
packets for up to 30 seconds.
It only happens 2 to 3 times a week which makes debugging or running core dumps 
hard to catch.
It does however still send out OPTIONS so it’s not totally dead during that 
time. The CLI still works as normal too.
I had a discussion with George about this, but we never found a solution due to 
the difficulty in capturing a core dump of the issue.

Another problem is Qualify. When doing PJSIP RELOAD, Asterisk stops dealing 
with inbound packets for about 60 seconds (while it qualifies everything 
again?).

Asterisk start up time is also greatly increased by qualify in PJSIP.

My short term plan is to switch back to Chansip until the issues are resolved. 
A discussion relating to depreciating chansip is a little worrying for me at 
this time.

Here are some issues related to this that I’ve been monitoring. I have tried to 
dive into the code, but it’s too steeper learning curve for me to work out how 
things are being done.

https://issues.asterisk.org/jira/browse/ASTERISK-27247
https://issues.asterisk.org/jira/browse/ASTERISK-26806
https://issues.asterisk.org/jira/browse/ASTERISK-26599
https://issues.asterisk.org/jira/browse/ASTERISK-26194


From: asterisk-dev-boun...@lists.digium.com 
[mailto:asterisk-dev-boun...@lists.digium.com] On Behalf Of James Finstrom
Sent: 08 October 2017 15:56
To: Asterisk Developers Mailing List
Subject: [asterisk-dev] One sip stack to rule them all....

One does not simply depricate a sip stack.

Ok so at devcon there was a discussion of depricating chan_sip. This may sound 
a lot worse than it actually is. Chan_sip has been essentially untouched in 
4ish years. It does not receive bug fixes. It is just sort of a barge floating 
in the ocean.

So one of the things that is needed to finally put Chan sip to bed is feature 
parody.  Someone brought up CCSS.

What features do you feel you would lose going from chan_sip to pjsip.

Are there any bugs in pjsip that keep you from migrating?
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to