<p>Joe <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/16160">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_pjsip_registrar: Remove unavailable contacts if exceeds max_contacts<br><br>The behavior of max_contacts and remove_existing are connected. If<br>remove_existing is enabled, the soonest expiring contacts are removed.<br>This may occur when there is an unavailable contact. Similarly,<br>when remove_existing is not enabled, registrations from good<br>endpoints are rejected in favor of retaining unavailable contacts.<br><br>This commit changes this behavior, to remove unavailable contacts<br>when they exceed max_contacts, if there are any, regardless of the<br>setting of remove_existing.<br><br>ASTERISK-29525<br><br>Change-Id: Ia2711b08f2b4d1177411b1be23e970d7fdff5784<br>---<br>A doc/CHANGES-staging/res_pjsip_registrar.txt<br>M include/asterisk/res_pjsip.h<br>M res/res_pjsip.c<br>M res/res_pjsip/location.c<br>M res/res_pjsip_registrar.c<br>5 files changed, 87 insertions(+), 13 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/60/16160/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/16160">change 16160</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/16160"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: Ia2711b08f2b4d1177411b1be23e970d7fdff5784 </div>
<div style="display:none"> Gerrit-Change-Number: 16160 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Joe <ynadiv@corpit.xyz> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>