<p>George Joseph <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14897">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_pjsip_session: Fix issue with COLP and 491<br><br>The recent 491 changes introduced a check to determine if the active<br>and pending topologies were equal and to suppress the re-invite if they<br>were. When a re-invite is sent for a COLP-only change, the pending<br>topology is NULL so that check doesn't happen and the re-invite is<br>correctly sent. Of course, sending the re-invite sets the pending<br>topology.  If a 491 is received, when we resend the re-invite, the<br>pending topology is set and since we didn't request a change to the<br>topology in the first place, pending and active topologies are equal so<br>the topologies-equal check causes the re-invite to be erroneously<br>suppressed.<br><br>This change checks if the topologies are equal before we run the media<br>state resolver (which recreates the pending topology) so that when we<br>do the final topologies-equal check we know if this was a topology<br>change request.  If it wasn't a change request, we don't suppress<br>the re-invite even though the topologies are equal.<br><br>ASTERISK-29014<br><br>Change-Id: Iffd7dd0500301156a566119ebde528d1a9573314<br>---<br>M res/res_pjsip_session.c<br>1 file changed, 29 insertions(+), 17 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/97/14897/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14897">change 14897</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/+/14897"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 18 </div>
<div style="display:none"> Gerrit-Change-Id: Iffd7dd0500301156a566119ebde528d1a9573314 </div>
<div style="display:none"> Gerrit-Change-Number: 14897 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>