<p></p>
<blockquote>
<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>
</blockquote>
<p><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> - use sr-users mailing list for questions about operations that can be done in kamailio.cfg, the comments on PR should be related to the changes proposed by it.</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-858815349">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZIWN4LH6MY2X5H3M4LTSDZALANCNFSM46O4OL4Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZMZYFA7Q2JKEBR7YNDTSDZALA5CNFSM46O4OL42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGMYHW5I.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-858815349",
"url": "https://github.com/kamailio/kamailio/pull/2777#issuecomment-858815349",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>