<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br><div>Hi Bogdan,</div><div><br></div><div>I encountered another problem. </div><div><br></div><div>client send register to opensips then opensips send to server 1. server1 send 200OK back to opensips and then client</div><div><br></div><div>server2 send MESSAGE to opensips. With tcpdump I can see the opensips server has received the MESSAGE. But opensips process failed to received it.</div><div>I add log in net_udp.c handle_io() , I got log for register and 200 ok. But there is no log for the MESSAGE. </div><div><br></div><div>any idea for such error? </div><div><br></div><div>Thanks.</div><div>Sean </div><div><br></div><br><br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br>At 2018-01-09 22:41:34, "Bogdan-Andrei Iancu" <bogdan@opensips.org> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<tt>HI Sean,<br>
<br>
If I understand correctly your setup, you should use into PATH
support on opensips (RFC 3327). Also take a look at the path
module in OpenSIPS:<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.3.x/path.html">http://www.opensips.org/html/docs/modules/2.3.x/path.html</a><br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Summit 2018
<a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2018Amsterdam">http://www.opensips.org/events/Summit-2018Amsterdam</a>
</pre>
<div class="moz-cite-prefix">On 01/09/2018 03:27 AM, liuyuanting1209
wrote:<br>
</div>
<blockquote type="cite" cite="mid:29dbdfac.1da5.160d887d118.Coremail.liuyuanting1209@163.com">
<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div>Hi, </div>
<div><br>
</div>
<div>I am new on opensips. could you please help to solve my
questions. Thanks a lot.</div>
<div><br>
</div>
<div>My environment:</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding:
0px;">
<div>client is behind NAT(any kinds of NAT), </div>
<div>opensips server has public ip, register server is
different with invite server. </div>
<div>sip server only has private ip but opensips can reach
it directly. </div>
<div>media server has public ip.</div>
</blockquote>
<div><br>
</div>
<div>So I want opensips solve NAT problem. </div>
<div>1 if I use nathelper module, after contact fix, the
server can only get opensips's private ip and port</div>
<div>2 if I use nat_traversal module, after contact fix, the
sip server can only get the ip watched from opensips. </div>
<div><br>
</div>
<div>I want to let sip server get the ip watched from sip
server, so sip server only needs to store one ip. is there
such way for opensips ?</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks a lot.</div>
<div>Sean Liu</div>
</div>
<br>
<br>
<span title="neteasefooter">
<p> </p>
</span></div>
<br>
<br>
<span title="neteasefooter">
<p> </p>
</span><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</blockquote></div><br><br><span title="neteasefooter"><p> </p></span>