Does it make sense to return ipv6 host without square brackets instead of the full value? There is {s.unbracket} transformation if one needs it to remove the brackets:

I am thinking from the perspective that host/domain parts of URI variables just return the value as it is, like $rd returns host as it is in sip:user@host.

Maybe you can add another variable like $siptrace(src_hostip) which return bare IP, without brackets for IPv6 case and $siptrace(src_host) will return the full value as it is in proto:host:port.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.