<p></p>
<p>I finally isolated the problem here. I was trying to deal with some NAT nonsense involving dropped Contact headers from my SIP trunk provider and had a block like this in the WITHINDLG route:</p>
<pre><code>        if (uri==myself && $ru=~";alias=10") {
                # Deal with BS on ACKs
                handle_ruri_alias();
                if($du != $null) {
                        $ru = $du;
                }
        }
</code></pre>
<p>The crash was happening in here. I've since switched to a different method of dealing with this and the problem has gone away.</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/issues/2121#issuecomment-624333026">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZNYJYCMZOMIY6G7WLDRQCFCJANCNFSM4JIGOUVQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZLZXHJIZEXITILP4RLRQCFCJA5CNFSM4JIGOUV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEU3JBYQ.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/issues/2121#issuecomment-624333026",
"url": "https://github.com/kamailio/kamailio/issues/2121#issuecomment-624333026",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>