[SR-Users] Kamailio not listening to proper ipv6 address
selak Dev
selakdev at gmail.com
Fri Apr 20 15:59:42 CEST 2018
Hi,
I need to enable Kamailio to work with ipv6 also, and I enabled
auto_bind_ipv6=1
and when restarted I can see that it is listening to ipv6 ip addresses also.
The problem is that it stripped the ip address at the end and it is
listening to the wrong one.
When I try to register I get timeout, since it is not listening the correct
address.
ip address of the server is 2604:a880:400:d0::yyyy:xxxx
and when I execute "sudo netstat -plnt" too see which app is listening to
which address/port I can see:
....
tcp6 0 0 2604:a880:400:d0:::5085 :::*
LISTEN 17748/kamailio
tcp6 0 0 2604:a880:400:d0:::5061 :::*
LISTEN 17748/kamailio
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 with
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...
Have anybody had this problem before?
Do you know how to fix this?
Best regards,
Marko Selakovic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180420/1a8d1c72/attachment.html>
More information about the sr-users
mailing list