<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Mark,<br>
      <br>
      I should try to call fix_nated_sdp (for changing a particular sdp
      line) only once.  <br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
  <a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
    <div class="moz-cite-prefix">On 08/16/2019 01:35 PM, Mark Farmer
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAOvQDetZ5u4a2kMEEkdgQ158FMKe3=n+EB8oNba8g9anceK8oA@mail.gmail.com">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">Good morning
              <div><br>
              </div>
              <div>I'm having a problem with SDP info when a call
                results in 486, 603 etc. OpenSIPS is running in mhomed
                mode with 2 interfaces, the phones are behind NAT &
                working nicely but when the call is routed to Asterisk,
                the SDP needs to change such that the internal IP's are
                used.</div>
              <div><br>
              </div>
              <div>rtpproxy_offer etc is used for the initial call so I
                tried using 2 calls to fix_nated_sdp to change the c
                & o parameters but that seems to append the new IP
                to the existing one followed by rewritehostport
                & force_send_socket</div>
              <div><br>
              </div>
              <div>How should I correctly handle this?</div>
              <div><br>
              </div>
              <div>Many thanks</div>
              <div>Mark.</div>
              <div><br>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>