[Asterisk-code-review] res pjsip: improve realtime performance #2 (asterisk[13])

Alexei Gradinari asteriskteam at digium.com
Fri May 27 10:27:32 CDT 2016


Alexei Gradinari has posted comments on this change.

Change subject: res_pjsip: improve realtime performance #2
......................................................................


Patch Set 1:

Endpoint's state is used for Device State and creating/destroying extension in regcontext.
So there is drawback with my patch that between asterisk start and until next reregistration the Device State isn't correct and missing extension in regcontext for endpoints without qualifying.

In my case this patch decreases starting time from 30 seconds to 2 seconds which is very important to us.
We don't use regcontext and don't use Device State for endpoint without qualifying.

I'm thinking how to get all endpoints without qualifying and active contacts...
I don't know how do it properly without the reference to endpoint from contact object.
There is already endpoint field (struct ast_sip_endpoint *) in ast_sip_contact, but with comment
'Endpoint that added the contact, only available in observers'
The endpoint' name is not saved to realtime.
I think it's necessary to save it to realtime.

-- 
To view, visit https://gerrit.asterisk.org/2906
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Id324c1776fa55d3741e0c5457ecac0304cb1a0df
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-Reviewer: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-HasComments: No



More information about the asterisk-code-review mailing list