<p></p>
<p>Finally, I was able to reproduce the problem by removing a log message to print the From header at the beginning of the routing and calling <code>lost_held_query</code> directly. Since <code>parse_headers()</code> is also used to get Geolocation and P-A-I header content I did not remove it, but changed the method for parsing the From content. The fix worked at least in my local setup. <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/sergey-safarov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sergey-safarov">@sergey-safarov</a> thanks for testing and could you please retry with latest commit.</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/2723#issuecomment-832266854">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZNDZ6LVRPYATV7ED5DTMBS3NANCNFSM436VQGFA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZIEVD2AD5ITKYY4XZTTMBS3NA5CNFSM436VQGFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGGNWEZQ.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/2723#issuecomment-832266854",
"url": "https://github.com/kamailio/kamailio/issues/2723#issuecomment-832266854",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>