<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
<div class="moz-cite-prefix">On 15/12/14 22:25, Kees Meijs - SIGNET
B.V. wrote:<br>
</div>
<blockquote cite="mid:548F51CB.7080304@signet.nl" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
Good evening,<br>
<br>
During pre-production testing, we discovered quite odd IPv6 socket
issues. Problems arise when a SIP dialog is initiated from within
Kamailio (e.g. a SIP INVITE message).<br>
<br>
Using ngrep, it seems very odd IPv6 sockets are opened, for
example:<br>
<br>
<blockquote type="cite">U 2001:beef:34a:10::234:5060 ->
2001:beef:285:1::3:5060 1573541542@0:1440<br>
U 2001:beef:34a:10::234 -> 2001:beef:285:1::3
+1573541542@1448:17<br>
</blockquote>
<br>
Obviously the "1573541542@0:1440" part is bogus,</blockquote>
<br>
Where is that bogus part appearing effectively? Inside the SIP
packet or just the output of ngrep about source and destination?<br>
<br>
Topoh and header manipulation doesn't have anything to do with
sending/receiving sockets...<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote cite="mid:548F51CB.7080304@signet.nl" type="cite"> I
expect output similar to:<br>
<br>
<blockquote type="cite">U 2001:beef:34a:10::234:5060 ->
2001:beef:285:1::3:5060<br>
INVITE <a class="moz-txt-link-freetext" href="sip:s@">sip:s@</a>[2001:beef:285:1::3]:5060 SIP/2.0.<br>
</blockquote>
<br>
When I do a REGISTER from UA using IPv6, the dialog (and return
packets) seem completely normal.<br>
<br>
Using IPv4, there's no problem at all.<br>
<br>
It seems the socket problems are triggered when:<br>
<ol>
<li>Using the topoh module.</li>
<li>When altering From: headers e.g. using uac_replace_from().</li>
</ol>
<p>When topoh is disabled and no headers are altered, IPv6 works
as good as IPv4.<br>
</p>
<p>We could reproduce the problem using Kamailio 4.1.4, 4.1.5 and
4.2.0 on Debian (64-bit).<br>
</p>
<p>Please advice what to do.<br>
</p>
<p>Thanks in advance!<br>
</p>
<p>Best regards,<br>
Kees<br>
</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>