<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Bogdan,<div><br></div><div>Great thanks for that.</div><div><br></div><div>Jon<br><br><div><hr id="stopSpelling">Subject: Re: [OpenSIPS-Users] IPv6 Contact header issue with brackets being removed 1.11<br>To: hunterj91@hotmail.com; users@lists.opensips.org<br>From: bogdan@opensips.org<br>Date: Fri, 5 Feb 2016 13:35:11 +0200<br><br>
  
    
  
  
    <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="ecxmoz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a 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:51, Jonathan Hunter
      wrote:<br>
    </div>
    <blockquote cite="mid:DUB112-W14AAF3E046A2FA0D176E46BDD20@phx.gbl">
      <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
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="ecxstopSpelling">Subject: Re: [OpenSIPS-Users] IPv6
            Contact header issue with brackets being removed 1.11<br>
            To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>; <a class="ecxmoz-txt-link-abbreviated" href="mailto:hunterj91@hotmail.com">hunterj91@hotmail.com</a><br>
            From: <a class="ecxmoz-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 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,&nbsp;
                <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&nbsp;</div>
                <div><br>
                </div>
                <div>Host as 2A01 and &nbsp;Port:
                  7E00:0:0:F03C:91FF:FE98:BDCE:5080.&nbsp;</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 class="ecxmoz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a 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></div></div>                                               </div></body>
</html>