Dear all,<br>I&#39;m testing my proxy and I&#39;m using mediaproxy for natted client.<br>Everything works fine, if there is a client behind nat calling a public user, mediaproxy works fine. This is true also if there is a public client calling a natted user.
<br><br>I have some problem when there are 2 client behind NAT. <br><br>1. I tryed to test the system with 1 client behind NAT and 1 client behind the SAME NAT (both of client under the same subnet:192.168.10.x).<br>&nbsp;&nbsp;&nbsp;&nbsp; In this case Mediaproxy doesn&#39;t work. RTP in direct between clients.
<br><br>2. I tryed to test the system with 1 client behind NAT and 1 client behind
the SAME NAT (with clients under different subnet:192.168.10.x and 192.168.0.x).<br>
&nbsp;&nbsp;&nbsp;&nbsp; In this case Mediaproxy doesn&#39;t work. RTP in direct between clients.<br clear="all"><br>This is Mediaproxy Debug in the last case:<br><br>**********************************************<br>

<span style="font-family: courier new,monospace;">Dec&nbsp; 7 10:37:36 SERVER mediaproxy[2116]: request ZDhiMWM2NDhmNzQ1ODNjYThkZjIxZGNiMmEzZmQxMjI. <a href="http://192.168.0.167:58786">192.168.0.167:58786</a>:audio NAT_IP PROXY_IP remote NAT_IP remote X-Lite=20release=201011s=20stamp=2041150 info=
from:userA@PROXY_IP,to:UserB@PROXY_IP,fromtag:c1310701,totag:&nbsp;&nbsp;<br>Dec&nbsp; 7 10:37:36 </span><span style="font-family: courier new,monospace;">SERVER </span><span style="font-family: courier new,monospace;"> mediaproxy[2116]: session ZDhiMWM2NDhmNzQ1ODNjYThkZjIxZGNiMmEzZmQxMjI.: started. listening on MEDIAPROXY_IP:60014&nbsp;&nbsp;
<br>Dec&nbsp; 7 10:37:36 </span><span style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;">SERVER </span><span style="font-family: courier new,monospace;"> </span><span style="font-family: courier new,monospace;">
mediaproxy[2116]: execution time:&nbsp; 1.56 ms&nbsp;&nbsp;<br>Dec&nbsp; 7 10:37:43 </span><span style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;">SERVER </span><span style="font-family: courier new,monospace;">
 </span><span style="font-family: courier new,monospace;">mediaproxy[2116]: lookup ZDhiMWM2NDhmNzQ1ODNjYThkZjIxZGNiMmEzZmQxMjI. <a href="http://192.168.10.224:25732">192.168.10.224:25732</a>:audio NAT_IP PROXY_IP remote unknown unknown X-Lite=20release=201011s=20stamp=2041150 info=
from:UserA@PROXY_IP,to:UserB@PROXYIP,fromtag:c1310701,totag:67246350&nbsp;&nbsp;<br>Dec&nbsp; 7 10:37:43 </span><span style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;">SERVER </span><span style="font-family: courier new,monospace;">
 </span><span style="font-family: courier new,monospace;"> mediaproxy[2116]: execution time:&nbsp; 0.51 ms&nbsp;&nbsp;<br>Dec&nbsp; 7 10:38:00 </span><span style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;">
SERVER </span><span style="font-family: courier new,monospace;"> </span><span style="font-family: courier new,monospace;">mediaproxy[2116]: delete ZDhiMWM2NDhmNzQ1ODNjYThkZjIxZGNiMmEzZmQxMjI. info=&nbsp;&nbsp;<br>Dec&nbsp; 7 10:38:00 </span>
<span style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;">SERVER </span><span style="font-family: courier new,monospace;"> </span><span style="font-family: courier new,monospace;">
mediaproxy[2116]: session ZDhiMWM2NDhmNzQ1ODNjYThkZjIxZGNiMmEzZmQxMjI.: 0/0/0 packets, 0/0/0 bytes (caller/called/relayed)&nbsp;&nbsp;<br>Dec&nbsp; 7 10:38:00 </span><span style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;">
SERVER </span><span style="font-family: courier new,monospace;"> </span><span style="font-family: courier new,monospace;">mediaproxy[2116]: session ZDhiMWM2NDhmNzQ1ODNjYThkZjIxZGNiMmEzZmQxMjI.: ended.&nbsp;&nbsp;<br>Dec&nbsp; 7 10:38:00 
</span><span style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;">SERVER </span><span style="font-family: courier new,monospace;"> </span><span style="font-family: courier new,monospace;">
mediaproxy[2116]: execution time:&nbsp; 0.61 ms<br>*******************************<br></span><p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-GB"></span></p>&nbsp;I am sure of mediaproxy change SDP parameter even in these last cases (I can see on openser debug that proxy send out, for example, a 200 OK with SDP part changed. And xlogs DEBUG show me that openser enters in &quot;use_media_proxy&quot; routine) . 
<br><br>But when I sniff the packet on client side, I see SDP part with private IP !<br><br>Any suggestion?<br><br>Regards,<br>daniel<br><br>-- <br>Daniel Grotti<br>________________________<br>e-mail : <a href="mailto:d.grotti@gmail.com">
d.grotti@gmail.com</a>