<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:DaunPenh;
        panose-1:1 1 1 1 1 1 1 1 1 1;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Marko,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>In our network, we have it working with this listen line:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>listen = [2600:1234:7522:abcd::aaaa:bbbb]:5060<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>which is slightly different from what you have below. We are listening on both udp and tcp. I don’t know if that will help you or not – but they key take away may be that it does work. We are running version 5.0.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am assuming the address is not really yyyy:xxxx as that would not be a valid IPv6 address. But you are probably just obfuscating that.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Michael<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b>From:</b> sr-users <sr-users-bounces@lists.kamailio.org> <b>On Behalf Of </b>selak Dev<br><b>Sent:</b> Friday, April 20, 2018 9:00 AM<br><b>To:</b> sr-users@lists.kamailio.org<br><b>Subject:</b> [SR-Users] Kamailio not listening to proper ipv6 address<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div><div><div><div><div><div><div><div><div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Hi,<o:p></o:p></p></div><p class=MsoNormal>I need to enable Kamailio to work with ipv6 also, and I enabled <o:p></o:p></p><pre>auto_bind_ipv6=1<o:p></o:p></pre><p class=MsoNormal>and when restarted I can see that it is listening to ipv6 ip addresses also.<o:p></o:p></p></div><p class=MsoNormal>The problem is that it stripped the ip address at the end and it is listening to the wrong one.<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>When I try to register I get timeout, since it is not listening the correct address.<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>ip address of the server is 2604:a880:400:d0::yyyy:xxxx<o:p></o:p></p></div><p class=MsoNormal>and when I execute "sudo netstat -plnt" too see which app is listening to which address/port I can see:<br>....<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>tcp6       0      0 2604:a880:400:d0:::5085 :::*                    LISTEN      17748/kamailio<br>tcp6       0      0 2604:a880:400:d0:::5061 :::*                    LISTEN      17748/kamailio<o:p></o:p></p></div><p class=MsoNormal>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:0000:yyyy:xxxx]<br>or<br>listen=tcp:[2604:a880:400:d0:0000:0000:yyyy:xxxx]:5061<o:p></o:p></p></div><div><p class=MsoNormal>or<br>listen=tcp:[2604:a880:400:d0::yyyy:xxxx]:5061<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>I tried all combinations and the results are always the same...<o:p></o:p></p></div><p class=MsoNormal>Have anybody had this problem before?<o:p></o:p></p></div><div><p class=MsoNormal>Do you know how to fix this?<o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p></div><p class=MsoNormal>Best regards,<o:p></o:p></p></div><p class=MsoNormal>Marko Selakovic<o:p></o:p></p></div></div></body></html>