<p></p>
<p>Looking at the backtrace, the execution continues with a <code>faked_msg</code> structure:</p>
<pre><code>#14 0x000000000048e205 in run_top_route (a=0x7f3f732aa9c0, msg=0xb04f60 <_faked_msg>, c=0x0) at core/action.c:1661
#15 0x00007f3f705f7d0e in async_http_cb (reply=0x7f3f2b7ee620, param=0x7f3f2b7eca18) at async_http.c:256
</code></pre>
<p>which, based on the code, is done when the query is done without suspending the transaction:</p>
<ul>
<li><a href="https://github.com/kamailio/kamailio/blob/master/src/modules/http_async_client/async_http.c#L220-L268">https://github.com/kamailio/kamailio/blob/master/src/modules/http_async_client/async_http.c#L220-L268</a></li>
</ul>
<p>Now I see that <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/abalashov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/abalashov">@abalashov</a>'s example is:</p>
<pre><code>   $http_req(suspend) = 1;
</code></pre>
<p>So I wonder if there is an issue propagating it or there are cases in <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/abalashov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/abalashov">@abalashov</a>'s config not setting it.</p>
<p>On the other hand, the crash seems to be because in the worker process continuing the execution with the faked_msg, the list of avps is not valid, maybe they were not reset from a previous execution. The avps there are not for sure those you set for the received SIP request, because, again, it is not resuming any transaction in this case, so it doesn't get the avps from transaction.</p>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/abalashov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/abalashov">@abalashov</a> - do you have event_route blocks in your config? Those are the usual suspects running with a faked_msg structure.</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/2286#issuecomment-614556955">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMW2U2UEKE6IJ3I2Y3RM3LTVANCNFSM4MIVPAIQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZNMTD4RKZAQ45S5VPLRM3LTVA5CNFSM4MIVPAI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOESQWKGY.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/2286#issuecomment-614556955",
"url": "https://github.com/kamailio/kamailio/issues/2286#issuecomment-614556955",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>