<p></p>
<p>I've been testing a scenario where processing the HTTP requests took longer enough for SIP 200 retransmissions to be triggered.<br>
In that case, <code>reply_received()</code> checks if the message was marked as suspended, but that works only if the onreply route calls <code>t_suspend()</code>.<br>
The retransmission was dropped instead, so I had to look into the transaction's T_ASYNC_SUSPENDED flag.<br>
The latest commit solves this, and should be safe for normal usages.<br>
I need to test more edge cases, will update.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2721#issuecomment-832702770">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZIYIL3NHH7QP6S254DTMFEHDANCNFSM4345BDPA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZOTWP6YX4D6DHFVPSDTMFEHDA5CNFSM4345BDPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGGRASMQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2721#issuecomment-832702770",
"url": "https://github.com/kamailio/kamailio/pull/2721#issuecomment-832702770",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>