<p>George Joseph <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/8084">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_pjsip_pubsub: Prune subs with reliable transports at startup<br><br>In an earlier release, inbound registrations on a reliable transport<br>were pruned on Asterisk restart since the TCP connection would have<br>been torn down and become unusable when Asterisk stopped. This same<br>process is now also applied to inbound subscriptions.<br><br>Also fixed issues in res_pjsip_registrar where it wasn't handling the<br>monitoring correctly when multiple registrations came in over the same<br>transport.<br><br>To accomplish this, the pjsip_transport_event feature needed to<br>be refactored to allow multiple monitors (multiple subcriptions or<br>registrations from the same endpoint) to exist on the same transport.<br>Since this changed the API, any external modules that may have used the<br>transport monitor feature (highly unlikey) will need to be changed.<br><br>ASTERISK-27612<br>Reported by: Ross Beer<br><br>Change-Id: Iee87cf4eb9b7b2b93d5739a72af52d6ca8fbbe36<br>---<br>M CHANGES<br>A contrib/ast-db-manage/config/versions/d3e4284f8707_add_prune_on_boot_to_ps_subscription_.py<br>M include/asterisk/res_pjsip.h<br>M res/res_pjsip.c<br>M res/res_pjsip/include/res_pjsip_private.h<br>M res/res_pjsip/pjsip_transport_events.c<br>M res/res_pjsip_outbound_registration.c<br>M res/res_pjsip_pubsub.c<br>M res/res_pjsip_registrar.c<br>9 files changed, 310 insertions(+), 80 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/84/8084/3</pre><p>To view, visit <a href="https://gerrit.asterisk.org/8084">change 8084</a>. To unsubscribe, 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/8084"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Iee87cf4eb9b7b2b93d5739a72af52d6ca8fbbe36 </div>
<div style="display:none"> Gerrit-Change-Number: 8084 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>