<p></p>
<p dir="auto">I haven't implemented this function and didn't dig in the code, but knowing that it comes from Kamailio branch and mostly the SER-originated functions support parameters as expressions with variables, I would say to try the Kamailio style with variables inside string, like:</p>
<pre class="notranslate"><code class="notranslate">detailed_ipv4_type("$si", "$var(iptype)");
</code></pre>
<p dir="auto">Probably we would need to catch such cases if they cause issues.</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/3159#issuecomment-1165807125">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZNYLJOX2VO75TPUNOTVQXZQHANCNFSM5ZSPJBNA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZK44RQG4OESAPOT2SLVQXZQHA5CNFSM5ZSPJBNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIV6M4FI.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/3159/1165807125</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/3159#issuecomment-1165807125",
"url": "https://github.com/kamailio/kamailio/issues/3159#issuecomment-1165807125",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>