<p></p>
<p>How I can remove brackets from IPv6 address?<br>
Example<br>
Now <code>$siptrace(src_host)</code> returns <code>[::1]</code><br>
I want get <code>::1</code> from <code>$siptrace(src_host)</code>.</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/pull/2777#issuecomment-858807149">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZKKI5TL5EOE6GGLXELTSDX4RANCNFSM46O4OL4Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZMOB23DO4FSLHLNC7LTSDX4RA5CNFSM46O4OL42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGMYFW3I.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/pull/2777#issuecomment-858807149",
"url": "https://github.com/kamailio/kamailio/pull/2777#issuecomment-858807149",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>