<div dir="ltr">Do a packet trace and see what IPs are in the SDP. Are they the LAN IPs?<div><br></div><div>Likely your phone or NAT router is setting/changing them to the external one, which is required to get audio working through NAT normally (ie connecting to something outside of your LAN). In this case it's the exact opposite of what you want. You'll want to find a way to disable that behaviour - which'll be done either on the phone or router (eg disable SIP ALG).<div><br></div><div>Your other option is to see if there's any way to enable NAT loopback on your router. The packets would still go to the external IP, so via the NAT router which isn't ideal, but it would at least let them communicate without the packets going over your WAN.</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 5 September 2014 02:44, Ahmed habiba <span dir="ltr"><<a href="mailto:ahabiba@gmail.com" target="_blank">ahabiba@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I'm trying to use "<span style="background-color:rgb(249,249,249);color:rgb(0,0,0);font-family:monospace,Courier;font-size:13px;line-height:1.3em">inbound-bypass-media=true</span>" in sip profile internal.xml, however when I do this I can not get any voice on caller side, considering that both devices are behind a NAT(in the same private network), and my FreeSWITCH has a public IP as below.</div>
<div><br></div><div>[FreeSWITCH]-->internet--->{NAT}--->Phone1</div><div> |--->Phone2</div><div><br></div><div>Your kind help will be appreciated.</div><span class="HOEnZb"><font color="#888888"><div>
<div><br></div>-- <br><div dir="ltr"><div>Thanks and Best Regards,</div>
<div> </div>
<div>Ahmed Habiba</div>
<div><br></div></div>
</div></font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>