<p>Hi,</p>

<p>Sorry for the long delay, the patch causes a new issue: OpenSIPS doesn't switch from the fr_timer to the fr_inv_timer when the first provisional reply is received.</p>

<p>Looking at the code without applying the patch, I see that last_uac_status is 0 when the first provisioning reply is received. Therefore, the condition last_uac_status&lt;msg_status evaluates to true and OpenSIPS switches to the fr_inv_timer.</p>

<p>After applying the patch, I see that uac-&gt;highest_received is 100 when the first provisioning reply is received. So, the condition uac-&gt;highest_received&lt;msg_status evaluates to false and OpenSIPS doesn't switch to the fr_inv_timer.</p>

<p>Thanks,<br>
Mickael</p>

<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/issues/342#issuecomment-66910428">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcidLNaPLqCWMv2ZFqbfVjyszyXRUOks5nXW-qgaJpZM4Co3dA.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/342#issuecomment-66910428"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>