Hi Marko,Depending on your version of netstat it may be truncating the IPv6 address. Try using `ss -n -6 state listening` and see what it reports.On 20 April 2018 at 23:59, selak Dev <selakdev@gmail.com> wrote:______________________________Marko SelakovicHave anybody had this problem before?It somehow stripped the last part of the address (yyyy:xxxx). I dont know if it is related to :: which would be all zeros, but it doesn't work even if i explicitly specify which address to listen withtcp6 0 0 2604:a880:400:d0:::5085 :::* LISTEN 17748/kamailioand when I execute "sudo netstat -plnt" too see which app is listening to which address/port I can see:ip address of the server is 2604:a880:400:d0::yyyy:xxxxWhen I try to register I get timeout, since it is not listening the correct address.The problem is that it stripped the ip address at the end and it is listening to the wrong one.Hi,I need to enable Kamailio to work with ipv6 also, and I enabledauto_bind_ipv6=1and when restarted I can see that it is listening to ipv6 ip addresses also.
....
tcp6 0 0 2604:a880:400:d0:::5061 :::* LISTEN 17748/kamailio
listen=[2604:a880:400:d0:0000:0000:yyyy:xxxx]
or
listen=tcp:[2604:a880:400:d0:0000:0000:yyyy:xxxx]:5061 or
listen=tcp:[2604:a880:400:d0::yyyy:xxxx]:5061 I tried all combinations and the results are always the same...Do you know how to fix this?Best regards,_________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr- users