<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
<div class="moz-cite-prefix">On 4/11/13 12:53 PM, Jakub Hrabovský
wrote:<br>
</div>
<blockquote cite="mid:20130411125305.D432B06E@atlas.sk" type="cite">
<p style="padding: 0 0 0 0; margin: 0 0 0 0;">Hi,</p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;"> </p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;">I started working on
IPv4/IPv6 Translation issue in Kamailio by using rtpproxy as
Media relay last year in my Bachelor-project.</p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;">I solved the trouble
with Translation between IPv4 and IPv6 clients, where IPv4
client used public IPv4 address. Now I am working on the issue,
where</p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;">IPv4 client uses
private IPv4 (is behind NAT in local network), so I have to
provide IPv4/v6 and NAT for all messages in one call. </p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;"> </p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;">My topology consists
of:</p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;">Kamailio 3.3.4 -
SIPproxy (supports IPv4/IPv6, <span style="font-size: 10pt;">public
IPv4 and IPv6 addresses</span><span style="font-size: 10pt;">)
- makes NAT translation, works as SIPoutbound proxy and
communicates with rtpproxy (v1.2.1), </span></p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;">Kamailio 3.3.4 -
SIPprotocol GW (== SIP bridge) - translates IPv4 messages to
IPv6 (and IPv6 to IPv4), uses other rtpproxy, has <span
style="font-size: 10pt;">public IPv4 and IPv6 addresses</span></p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;">+ only IPv4 and only
IPv6 clients (Linphone v3.5.2)</p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;"> </p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;">I assume, that both
(IPv4 and IPv6) clients are in the same SIP domain.</p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;"><span
style="font-size: 10pt;">I solve IPv4-IPv6 translation so,
that each message from IPv6 client goes to SIP proxy and (if
needed) is forwarded to SIP Protocol GW. Translated medssage
is then forwarded back to SIP proxy and from that to </span><span
style="font-size: 10pt;">callee.
</span></p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;"> </p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;">Here i have some
problems:</p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;">-1.) IPv6 client
doesnt respond to invites from IPv4 client. The messages are
ignored at IPv6 client.</p>
</blockquote>
does the SIP request gets to client? Can you paste here the INVITE?<br>
<br>
<blockquote cite="mid:20130411125305.D432B06E@atlas.sk" type="cite">
<p style="padding: 0 0 0 0; margin: 0 0 0 0;"> </p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;">-2.) Rtpproxy on the
machine with SIP protocol gateway (which provides IPv4/v6
translation) removes session earlier than I need (usually after
30 seconds of call) and the result is call break.</p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;">this issue doesnt
appear for rtpproxy on SIP proxy. I dont know what causes this
behavior, if it is only in some parameters, witch i have to set,
or it is bug in rtpproxy or .... <br>
</p>
</blockquote>
This sounds like mis-routed ACK. RTPPRoxy does not clear sessions by
itself.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<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>