[Asterisk-code-review] res pjsip registrar.c: Update remove existing AOR contact ha... (asterisk[15])

Richard Mudgett asteriskteam at digium.com
Thu Sep 28 16:33:43 CDT 2017


Richard Mudgett has uploaded a new patch set (#3). ( https://gerrit.asterisk.org/6632 )

Change subject: res_pjsip_registrar.c: Update remove_existing AOR contact handling.
......................................................................

res_pjsip_registrar.c: Update remove_existing AOR contact handling.

When "rewrite_contact" is enabled, the "max_contacts" count can block
re-registrations because the source port from the endpoint can be random.
When the re-registration is blocked, the endpoint may give up
re-registering and require manual intervention.

* The "remove_existing" option now removes the soonest to expire contacts a
registration does not affect that are over the "max_contacts" count.  The
behaviour change is beneficial when "rewrite_contact" is enabled and
"max_contacts" is greater than one.  The removed contact is likely the old
contact created by "rewrite_contact" that the device is refreshing.

ASTERISK-27192

Change-Id: I64c107a10b70db1697d17136051ae6bf22b5314b
---
M CHANGES
M configs/samples/pjsip.conf.sample
M res/res_pjsip.c
M res/res_pjsip_registrar.c
4 files changed, 170 insertions(+), 20 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/32/6632/3
-- 
To view, visit https://gerrit.asterisk.org/6632
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I64c107a10b70db1697d17136051ae6bf22b5314b
Gerrit-Change-Number: 6632
Gerrit-PatchSet: 3
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170928/6b9312e2/attachment.html>


More information about the asterisk-code-review mailing list