<div>Thanks!</div><div> </div><div>Yepp exactly what I'm seeing. </div><div> </div><div>I have a very specific case where the CUBE is both SBC and default gatway/NAT for clients. On top of that I'm using media flow-around.</div>
<div>When the CUBE sends the SDP info to the ITSP it contains the private IP of the phone. I was thinking that SIP-NAT would still look at the SIP/SDP and NAT any private to public IPs.</div><div> </div><div>I solved it by doing sip manipulation like this:</div>
<div> </div><div>voice class sip-profiles 10<br> request ANY sdp-header Audio-Connection-Info modify "192.168.100.*" "xx.xx.xx.xx"<br></div><div>As NAT is already active for the OTHER direction, I.E. from phone to ITSP, it uses that for traffic from ITSP to Phone.</div>
<div> </div><div>The reason I'm using flow-around is because I have 2 mobile phones as RDP/RD with an extension number. If these call each other directly, with flow-through the media has go to all the way to the CUBE and back, cause delays and quality problems.</div>
<div> </div><div>With flow-around the media is only in the carriers network/gateways.</div><div> </div><div> </div><div> </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 7, 2012 at 3:45 PM, Chris Ward (chrward) <span dir="ltr"><<a href="mailto:chrward@cisco.com" target="_blank">chrward@cisco.com</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div lang="EN-US" vlink="purple" link="blue">
<div>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt">Using media flow-around means you don’t want the CUBE to terminate the media sessions so it flows directly from one side to the other. I think you are seeing
exactly that. The CUBE is terminating the SIP sessions so CUBE will control all the SDP information. It sounds like the CUBE is by-passing NAT, and I would expect it to.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt">Why are you using Flow-Around mode?
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt">+Chris<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt">Unity Connection TME<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-family:"Tahoma","sans-serif";font-size:10pt">From:</span></b><span style="font-family:"Tahoma","sans-serif";font-size:10pt"> <a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a> [mailto:<a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a>]
<b>On Behalf Of </b>Roger Wiklund<br>
<b>Sent:</b> Wednesday, November 07, 2012 6:33 AM<br>
<b>To:</b> Cisco VOIP<br>
<b>Subject:</b> [cisco-voip] SIP NAT in CUBE with media flow-around?<u></u><u></u></span></p><div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I've configured a CUBE that has a public IP on the outside interface and private in the inside.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I'm using media flow-around and PAT.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">The problem is that SDP info sent to the ITSP contains the private IP. It seems that the CUBE is not NATing the SDP.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I have ip nat service sip udp port 5060 enabled, I also tried to disable it without any luck.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Also tried the piggyback stuff and sip-sbc nat stuff, nothing is working.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I'm beginning to suspect that NAT Traversal is not supported in flow-around mode.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Any pointers?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">/Roger<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div></div></div>
</div>
</blockquote></div><br></div>