<p></p>
<p dir="auto">Being something that should be useful in other places, I added a new inter-module API function that implements the logic above, respectively <code class="notranslate">t_find(...)</code> via the commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kamailio/kamailio/commit/a9cf4577c25d7933531b8969a1941bac4faf8d68/hovercard" href="https://github.com/kamailio/kamailio/commit/a9cf4577c25d7933531b8969a1941bac4faf8d68"><tt>a9cf457</tt></a> .</p>
<p dir="auto">It is completely independent, does not touch other internal functions, so should be fine to backport as well.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3156#issuecomment-1227224244">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZOSQK5V3OU5FDEXJPDV25UYHANCNFSM5ZIRRXFA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZLEZJASQ6RKU3QDMHTV25UYHA5CNFSM5ZIRRXFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJES7JNA.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3156/1227224244</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3156#issuecomment-1227224244",
"url": "https://github.com/kamailio/kamailio/issues/3156#issuecomment-1227224244",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>