<div dir="ltr">HI cao<div><br></div><div>You would need to take a look to SDPs on INVITE and ACK to check , external IP address are there in order to work properly. If that is the case, you would need to check that packets are forwarded internally behind two NATs.</div><div><br></div><div>What RTP Proxy are you using? I highly recommend to use rtpengine</div><div><br></div><div>Thats not a recommended situation we would not have when ipv6 would be a really. Hope to be soon! :)</div><div><br></div><div>Regards</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-09 6:34 GMT+02:00 cao tao <span dir="ltr"><<a href="mailto:csuappreciation@gmail.com" target="_blank">csuappreciation@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">

<div style="font-family:'Helvetica Neue';font-size:14px"><span style="font-size:17px"><span style="font-family:'Courier New'">Hello:</span></span></div><div style="font-family:'Helvetica Neue';font-size:14px"><span style="font-size:17px"><span style="font-family:'Courier New'"><br></span></span></div><div style="font-family:'Courier New';font-size:17px"><div><div><font color="#222222" face="Courier New" size="4">     I use kamailio as my SIP signal proxy, and media-proxy as RTP relayer. It works well at many situations. But when it comes to two layer of NAT(a user behind two layer of NAT),  I got a single way media(the sip signal layer was ok). I can’t hear the voice of user who behinds two layer of NAT, but he can hear the voice of mine.</font></div><div> </div><div>Most part of my kamailio config is default, and simply enable media-proxy by engage_media_proxy():
</div><div>          if (is_method("INVITE") && !has_totag()) {</div><div>               engage_media_proxy();     </div><div>          }  </div><div>       </div><div></div></div><div style="font-size:small"><div><span style="font-size:17px">And in my UAC/UAS side, I use PJSIP.</span></div><div><span style="font-size:17px"><br></span></div><div><span style="font-size:17px">Can anybody give me some help?</span></div><div><span style="font-size:17px"><br></span></div><div><span style="font-size:17px">Any suggestion will be appreciated!</span></div></div></div></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a 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>
<br></blockquote></div><br></div>