This is an issue in 4.2, not sure about how 4.3+ currently handle this call path. rx_add_framed_ip_avp() is called with an IP formatted as "[2001:db8::ff00:42:8329]" This passes the INET6_ADDRSTRLEN check due to '::' compression, but inet_pton will fail to parse.
One possible hack/fix is: check for leading/trailing '[]' for V6 addrs and strip them prior to calling inet_pton
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/364