<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'><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: users@lists.opensips.org; hunterj91@hotmail.com<br>From: bogdan@opensips.org<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,
<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><sip:User1@[2a01:7e00::f03c:91ff:fe98:bdce]:5080></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>
<sip:User1@2A01:7E00:0:0:F03C:91FF:FE98:BDCE:5080></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 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></body>
</html>