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
Hopefully @ngvoice, @jaybeepee or @richardgood can check it.
If you think you can have a patch to fix it, then just make a pull request here on github.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/364#issuecomment-149238614
I pushed a patch for it in master branch. Testing is still needed.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/364#issuecomment-174341155
Closed #364.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/364#event-524354385