<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Jonathan,<br>
      <br>
      Indeed, there was a bug in the nathelper module when comes to
      re-building the contact with ipv6. I just pushed a fix on all
      maintained branches.<br>
      <br>
      Thanks and regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 05.02.2016 12:51, Jonathan Hunter
      wrote:<br>
    </div>
    <blockquote cite="mid:DUB112-W14AAF3E046A2FA0D176E46BDD20@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
      <div dir="ltr">
        <div><span style="text-align: center;">Hi Bogdan, thanks for the
            fast response as ever! :)</span></div>
        <div><span style="text-align: center;"><br>
          </span></div>
        <div><span style="text-align: center;">I have
            fix_nated_contact(); defined, as its an IPv4 and v6
            platform.</span></div>
        <div><span style="text-align: center;"><br>
          </span></div>
        <div><span style="text-align: center;">If I hash it out the
            issue goes away, so I will therefore put an exception in for
            IPv6.</span></div>
        <div><span style="text-align: center;"><br>
          </span></div>
        <div><span style="text-align: center;">I presume thats the
            issue! :)</span></div>
        <div><span style="text-align: center;"><br>
          </span></div>
        <div><span style="text-align: center;">Many thanks</span></div>
        <div><span style="text-align: center;"><br>
          </span></div>
        <div><span style="text-align: center;">Jon</span></div>
        <span style="text-align: center;"><br>
        </span>
        <div>
          <div style="text-align: center;"><br>
          </div>
          <br>
          <div>
            <hr id="stopSpelling">Subject: Re: [OpenSIPS-Users] IPv6
            Contact header issue with brackets being removed 1.11<br>
            To: <a class="moz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>; <a class="moz-txt-link-abbreviated" href="mailto:hunterj91@hotmail.com">hunterj91@hotmail.com</a><br>
            From: <a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a><br>
            Date: Fri, 5 Feb 2016 12:31:03 +0200<br>
            <br>
            <tt>Hi Jonathan,<br>
              <br>
              OpenSIPS, by default, does not touch the Contact hdr - are
              you doing in your script any Contact related operation ?<br>
              <br>
              Regards,<br>
            </tt>
            <pre class="ecxmoz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
            <div class="ecxmoz-cite-prefix">On 05.02.2016 12:16,
              Jonathan Hunter wrote:<br>
            </div>
            <blockquote
              cite="mid:DUB112-W3375CAE13BE0A7EAC7913DBDD20@phx.gbl">
              <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
              <div dir="ltr">Hi guys, 
                <div><br>
                </div>
                <div>I am currently testing IPv6 on OpenSIPS v 1.11</div>
                <div><br>
                </div>
                <div>I can see that if I send in an INVITE with the
                  following contact address;</div>
                <div><br>
                </div>
                <div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>Contact: <b>&lt;sip:User1@[2a01:7e00::f03c:91ff:fe98:bdce]:5080&gt;</b></div>
                  <div><br>
                  </div>
                  <div>OpenSIPS then modifies it and sends it on as;</div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>Contact:<b>
                      &lt;sip:User1@2A01:7E00:0:0:F03C:91FF:FE98:BDCE:5080&gt;</b></div>
                </div>
                <div><br>
                </div>
                <div>As can be seen without the square brackets the far
                  end is rejecting with a bad contact header response as
                  it sees </div>
                <div><br>
                </div>
                <div>Host as 2A01 and  Port:
                  7E00:0:0:F03C:91FF:FE98:BDCE:5080. </div>
                <div><br>
                </div>
                <div>Is this just a configuration issue?</div>
                <div><br>
                </div>
                <div>Any help/comments would be great.</div>
                <div><br>
                </div>
                <div>Many thanks</div>
                <div><br>
                </div>
                <div>Jon</div>
                <div><br>
                </div>
                <div>
                  <div><font face="Segoe UI, Segoe UI Web Regular, Segoe
                      UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans,
                      Arial, sans-serif" color="#666666"><span
                        style="font-size:12.1088px;line-height:17.1945px;white-space:nowrap;background-color:rgb(255,
                        255, 255);"><br>
                      </span></font></div>
                  <div><font face="Segoe UI, Segoe UI Web Regular, Segoe
                      UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans,
                      Arial, sans-serif" color="#666666"><span
                        style="font-size:12.1088px;line-height:17.1945px;white-space:nowrap;background-color:rgb(255,
                        255, 255);"><br>
                      </span></font></div>
                  <div><br>
                  </div>
                </div>
              </div>
              <br>
              <fieldset class="ecxmimeAttachmentHeader"></fieldset>
              <br>
              <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
            </blockquote>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>