Hello,
does it work when you set the IPv6 address in the listen directly, e.g. without the #!define?
Cheers,
Henning
-----Original Message----- From: vunm.allsign--- via sr-users sr-users@lists.kamailio.org Sent: Dienstag, 8. April 2025 10:45 To: sr-users@lists.kamailio.org Cc: vunm.allsign@gmail.com Subject: [SR-Users] IPv6 bind wrong IP. #4199
Hi guys,
I opened issue on github: https://github.com/kamailio/kamailio/issues/4199
- Description:
Kamailio (5.8.x): SIP proxy FreeSWITCH: Media
- OS: Debian 12
gateway: aaaa:bbb:cccc:20::1 ipv6: aaaa:bbb:cccc:20::41e
- kamailio.cfg:
#!define ADDR_IPV4 xxx.xxx.xxx.xxx #!define ADDR_IPV6 [aaaa:bbb:cccc:20::41e]
listen=ADDR_IPV4 listen=ADDR_IPV6
- I execute netstat -nlutp:
tcp6 0 0 aaaa:bbb:cccc:20:::5060 :::* LISTEN 1691274/kamailio tcp6 0 0 aaaa:bbb:cccc:20:::5061 :::* LISTEN 1691274/kamailio udp6 0 0 aaaa:bbb:cccc:20:::5060 :::* 1691222/kamailio
Why I set listen ip is aaaa:bbb:cccc:20::41e but kamailio stripped the last part of the address aaaa:bbb:cccc:20::
I have tried many ways but it does not work.Is there any additional configuration required regarding the Debian network interface?
- Here is interfaces(of course i can ping from/to ipv6 address):
# Additional interfaces, just in case we're using # multiple networks allow- hotplug eth1 iface eth1 inet6 static address aaaa:bbb:cccc:20::41e netmask 64 gateway aaaa:bbb:cccc:20::1 autoconf 0
Thank you. __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- sr- users@lists.kamailio.org To unsubscribe send an email to sr-users- leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!