<p>Following my previous comment.</p>
<p>It seems that the purpose of the last_uac_status line was to save the value of uac->last_received before it is modified. This way last_uac_status would have the value 0 when the first provisioning reply is received.</p>
<p>I guess we need the same thing here, right?</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/342#issuecomment-66910705">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciTKHUkUnJEi_Ur6_QAgHCxp4IZsCks5nXXJygaJpZM4Co3dA.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-66910705"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>