<div dir="ltr"><div>Hi Marko,</div><div><br></div><div>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.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 April 2018 at 23:59, selak Dev <span dir="ltr"><<a href="mailto:selakdev@gmail.com" target="_blank">selakdev@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>Hi,<br><br></div>I need to enable Kamailio to work with ipv6 also, and I enabled <pre class="m_-4963064571999408474gmail-code">auto_bind_ipv6=1</pre>and when restarted I can see that it is listening to ipv6 ip addresses also.<br></div>The problem is that it stripped the ip address at the end and it is listening to the wrong one.<br></div>When I try to register I get timeout, since it is not listening the correct address.<br><br></div>ip address of the server is 2604:a880:400:d0::yyyy:xxxx<br><br></div>and when I execute "sudo netstat -plnt" too see which app is listening to which address/port I can see:<br>....<br></div>tcp6       0      0 2604:a880:400:d0:::5085 :::*                    LISTEN      17748/kamailio<br>tcp6       0      0 2604:a880:400:d0:::5061 :::*                    LISTEN      17748/kamailio<br><br></div>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<br><br>listen=[2604:a880:400:d0:0000:<wbr>0000:yyyy:xxxx]<br>or<br>listen=tcp:[2604:a880:400:d0:<wbr>0000:0000:yyyy:xxxx]:5061<br></div><div>or<br>listen=tcp:[2604:a880:400:d0::<wbr>yyyy:xxxx]:5061<br></div><div><br></div>I tried all combinations and the results are always the same...<br><br></div>Have anybody had this problem before?<br></div><div>Do you know how to fix this?<br></div><div><br><br></div>Best regards,<br></div>Marko Selakovic<br></div>
<br>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br></div>