Dear Sir,
I have opened an issue on GitHub: "IPv6 bind wrong IP. #4199".
System Details:
Kamailio (5.8.x) – SIP Proxy
FreeSWITCH – Media Server
OS – Debian 12
Gateway – aaaa:bbb:cccc:20::1
IPv6 Address – aaaa:bbb:cccc:20::41e
kamailio.cfg:
netstat Output:
As shown, although I explicitly set the listen
IP to aaaa:bbb:cccc:20::41e
, Kamailio strips the last part of the address and binds to aaaa:bbb:cccc:20::
I also upgraded to version 6.0 with default cfg and set auto_bind_ipv6=1 or changed ipv6 address
, but the issue still persists.
IPv6 Interface Configuration:
I can successfully ping in and out using this IPv6 address.
Do I need to configure anything else in Kamailio or the system to ensure it binds to the full IPv6 address aaaa:bbb:cccc:20::41e
as expected?
Currently I can register with ipv4, but ipv6 does not.
Thank you for your assistance.