Description

According rfc5952#section-4.2.1

4.2.1. Shorten as Much as Possible
The use of the symbol "::" MUST be used to its maximum capability.
For example, 2001:db8:0:0:0:0:2:1 must be shortened to 2001:db8::2:1.

The current Kamailio master does not use :: inside IPv6 address representation. Example

INVITE user@example.com SIP/2.0
Record-Route: <sip:[2600:1f1c:6d5:aa02:0:0:0:4];transport=tcp;r2=on;lr=on;ftag=gK0c013f75>
Record-Route: <sip:3.101.84.4;r2=on;lr=on;ftag=gK0c013f75>
Via: SIP/2.0/TCP [2600:1f1c:6d5:aa02:0:0:0:4];branch=z9hG4bK66f8.35b78246c71e1583d2785ae652c42ed5.0

Possible Solutions

Port feature from another IPv6 address formatting functions with RFC5952 support.
Example: function x_IPv6ToString, string 404 - 440.


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