<div dir="ltr">Hi,<div>I have a problem with remote client who can't properly configure NAT and is sending private IP in all SDP and SIP packets. I've resolved issues with registration but can't resolve the issue with SDP. My topology is as following:</div><div><br></div><div><Client> ----- <NAT router> ------- <RTP Proxy> ---------- <OpenSIPS> -------- <NAT> ----------- <PBX></div><div><br></div><div>So, I need to simultaneously engage RTP Proxy to bridge external Internet and our local LAN and need to rewrite SDP body of original Client's packet with received IP address. If I'm doing fix_nated_sdp and then rtpproxy_offer - I'm getting doubled IPs in SDP message, like this:<br><br></div><div>
<div class="gmail-WordSection1">
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Segoe UI",sans-serif;color:black">100.11.100.200192.168.20.200</span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Segoe UI",sans-serif;color:black"><br></span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Segoe UI",sans-serif;color:black">Is there any way to update SDP of client's packet and then command RTP Proxy to use updated IP? Thanks!</span></p>
</div></div></div>