<p>RFC 3261 does not force UACs to use the same call ID for all registrations, only strongly suggests it. Some UAC implementations may not use the same call ID, causing the cseq check in <code>urecord.c</code> after a contact match to not occur in situations where an out of order request may be received.</p>

<p>Proposed change simply forces the call ID to be updated every time so that it is always accurate.</p>

<hr>

<h4>You can merge this Pull Request by running</h4>
<pre>  git pull https://github.com/dsanders11/opensips patch-1</pre>
<p>Or view, comment on, or merge it at:</p>
<p>&nbsp;&nbsp;<a href='https://github.com/OpenSIPS/opensips/pull/346'>https://github.com/OpenSIPS/opensips/pull/346</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>usrloc: Always update the call ID when updating a contact</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/346/files#diff-0">modules/usrloc/ucontact.c</a>
    (7)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/OpenSIPS/opensips/pull/346.patch'>https://github.com/OpenSIPS/opensips/pull/346.patch</a></li>
  <li><a href='https://github.com/OpenSIPS/opensips/pull/346.diff'>https://github.com/OpenSIPS/opensips/pull/346.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/pull/346">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNzgzMDY2NywiZGF0YSI6eyJpZCI6NDQ1MTA1Njh9fQ==--d6215fa172a361f7a13e50686957a41d7e2cdc00.gif" width="1" /></p>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"View this Pull Request on GitHub","action":{"@type":"ViewAction","url":"https://github.com/OpenSIPS/opensips/pull/346","name":"View Pull Request"}}</script>