<p>About 50% during testing, the SIP message including SDP during the relay of at least a 200 response to INVITE appears to be sending the original SIP message instead of the top-hidden version of the message.</p>

<p>Problem is more evident when rtpengine is used as well since the SDP has the wrong ports for RTP channels.</p>

<p>Due to corporate public IP addresses within PCAP and opensips log files, I've emailed the evidence for troubleshooting directly to Vlad Paiu for analysis.</p>

<p>Using topology_hiding("UC") call and rtp_engine flags of "replace-origin ICE=remove"</p>

<p>Example flow:<br>
Customer -&gt; Opensips -&gt; Vendor</p>

<p>"Opensips" is where topology_hiding, and rtpengine reside...</p>

<p>Example:<br>
INVITE from Customer w/SDP:</p>

<ul class="task-list">
<li>Customer sends INVITE with port 10000 to Opensips</li>
<li>Opensips performs top-hiding and rtpengine offer, relays INVITE with port 50000 to Vendor, and properly mangles the call-id header</li>
</ul>

<p>All the 100's and 180's go on as usual it appears.</p>

<p>200 Response from Vendor:</p>

<ul class="task-list">
<li>Vendor sends 200 OK with port 11000 to Opensips</li>
<li>Opensips sends 200 OK with port 11000 to Customer, and the original call-id value shows up</li>
</ul>

<p>The last line above is incorrect.  Opensips SHOULD have sent port 50000 to the Customer.  The entire SIP message is actually incorrect. This is evidenced easily by the Call-ID header not containing the mangled value.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/433">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciXkAUxMeR9xbmvPShFlsP-7cvqPiks5n2aNsgaJpZM4Dwxdd.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/433"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>