<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Adding received information to Path helps to identify properly the
connection to be used. Because both devices are behind the same NAT,
practically they show the same source IP when they send traffic to
server.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 14/03/16 04:05, 张顺通 wrote:<br>
</div>
<blockquote
cite="mid:CA+igrvzncCHkgoL9hT_tsnYH_WqC-J13WqqUEeTcReZoXczpaQ@mail.gmail.com"
type="cite">
<div dir="ltr"><span style="font-size:14px">KA_</span><span
style="font-size:14px">EDGE have two IP,external public IP and
internal IP.</span><br>
<div><span style="font-size:14px">I add modparam("path",
"use_received", 1) and replace add_path()
to add_path_received() in edge server.</span></div>
<div><span style="font-size:14px">add modparam("registrar",
"path_use_received", 1) in </span><span
style="font-size:14px">KA_</span><span
style="font-size:14px">REGISTER server.</span></div>
<div><span style="font-size:14px"><br>
</span></div>
<div><span style="font-size:14px">DB path
info <<a class="moz-txt-link-freetext" href="sip:aD15fXXXXXXXXXXXXeEpfqRY=@">sip:aD15fXXXXXXXXXXXXeEpfqRY=@</a><a
moz-do-not-send="true" href="http://10.10.10.11">10.10.10.11</a>;lr;ob>
--> <sip:</span><span style="font-size:14px">10.10.10.11</span><span
style="font-size:14px">;lr;received=<a class="moz-txt-link-freetext" href="sip:42.129.1.1:43640%3Btransport%3Dtcp">sip:42.129.1.1:43640%3Btransport%3Dtcp</a>></span></div>
<div><span style="font-size:14px"><br>
</span></div>
<div><span style="font-size:14px">This kind of situation very
little,It is not easy to reappear.</span><br>
</div>
<div><span style="font-size:14px">Can you tell me why this </span><span
style="font-size:14px">situation happen? and Why this change
can solve the problem?</span></div>
<div><br>
</div>
<div>Thanks for Your Time.<br>
</div>
<div><span style="font-size:14px"><br>
</span></div>
<div><span style="font-size:14px"><br>
</span></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-03-09 22:37 GMT+08:00 Daniel Tryba
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:d.tryba@pocos.nl" target="_blank">d.tryba@pocos.nl</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span
class="">On Wed, Mar 09, 2016 at 10:05:11PM +0800, 张顺通
wrote:<br>
> Yes,Use Path in DB. like
<<a class="moz-txt-link-freetext" href="sip:XXxXXXXXXXXXX/ogxZg=@">sip:XXxXXXXXXXXXX/ogxZg=@</a><a moz-do-not-send="true"
href="http://10.10.232.29" rel="noreferrer"
target="_blank">10.10.232.29</a>;lr;ob><br>
> KA_REGISTER wile the path info in DB.<br>
<br>
</span>Should not be a problem if you use the use_received
options in<br>
<a moz-do-not-send="true"
href="http://kamailio.org/docs/modules/stable/modules/path.html#idp135216"
rel="noreferrer" target="_blank">http://kamailio.org/docs/modules/stable/modules/path.html#idp135216</a><br>
and<br>
<a moz-do-not-send="true"
href="http://kamailio.org/docs/modules/stable/modules/registrar.html#registrar.p.path_use_received"
rel="noreferrer" target="_blank">http://kamailio.org/docs/modules/stable/modules/registrar.html#registrar.p.path_use_received</a><br>
<br>
(and actually add the source as received on the kamailio
edge server).<br>
<div class="HOEnZb">
<div class="h5"><br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) -
sr-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<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://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>
Kamailio World Conference, Berlin, May 18-20, 2016 - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
</body>
</html>