<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Rtpengine takes and replaces the entire
      SDP body, so if there's another module also manipulating the SDP,
      one module won't see the changes made by the other one unless you
      call msg_apply_changes in between, leaving you with bits of string
      in the wrong places.<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Cheers<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 26/06/2020 08.50, Andrew Chen wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEytwJ2isD_Fz+djs6iuettUfOK0yHRhh1qeAmrKe+GResgH7g@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Thanks Richard.
        <div><br>
        </div>
        <div>I do have the nathelper module running but not rtpproxy. 
          How does nathelper cause this issue?</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Fri, Jun 26, 2020 at 8:27
          AM Richard Fuchs <<a href="mailto:rfuchs@sipwise.com"
            moz-do-not-send="true">rfuchs@sipwise.com</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div>
            <div>Looks like you're using both rtpengine and some other
              SDP-modifying module together, such as nathelper or
              rtpproxy, without calling msg_apply_changes() in between.</div>
            <div><br>
            </div>
            <div>Cheers<br>
            </div>
            <div><br>
            </div>
            <div>On 25/06/2020 16.46, Andrew Chen wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">Hi forum,
                <div><br>
                </div>
                <div>I'm starting my rtpengine project and I'm facing a
                  strange problem with rtpengine.  I am seeing this in
                  the SDP part of the INVITE:</div>
                <div><br>
                </div>
                <div>
                  <p
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(178,178,178);background-color:rgb(0,0,0)"><span
                      style="font-variant-ligatures:no-common-ligatures">a=rtcp:52021</span></p>
                  <p
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(178,178,178);background-color:rgb(0,0,0)"><span
                      style="font-variant-ligatures:no-common-ligatures">a=rtcp-mux</span></p>
                  <p
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(20,153,2);background-color:rgb(0,0,0)"><span
                      style="font-variant-ligatures:no-common-ligatures">2001:470:7:3A7:0:0:0:2</span></p>
                  <p
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(178,178,178);background-color:rgb(0,0,0)"><span
                      style="font-variant-ligatures:no-common-ligatures">a=direction:active</span></p>
                  <p
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(178,178,178);background-color:rgb(0,0,0)"><span
                      style="font-variant-ligatures:no-common-ligatures">a=oldmediaip:54.153.25.234</span></p>
                </div>
                <div><br>
                </div>
                <div>As you can see there is a random insert of the
                  local kamailio IP in there and I'm have tried the
                  following to remove it but failed to succeed:</div>
                <div><br>
                </div>
                <div>- Remove in the offer the combination of ICE and
                  replace-session-connection flags</div>
                <div>- Switched between rtpengine_offer and
                  rtpengine_manage</div>
                <div>- Restarted ngcp-rtpengine-daemon process</div>
                <div>- Used sdpops function sdp_remove_line_by_preifx()</div>
                <div><br>
                </div>
                <div>Currently running Kamailio 5.1.2.</div>
                <div><br>
                </div>
                <div>I am running out of ideas.</div>
                <div><br>
                </div>
                <div>Any suggestions would be greatly appreciated.</div>
                <div><br>
                </div>
                <div>-- <br>
                  <div dir="ltr">
                    <div dir="ltr">
                      <div dir="ltr">
                        <div dir="ltr" style="font-size:12.8px">Andy
                          Chen</div>
                        <div dir="ltr" style="font-size:12.8px">
                          <div>Sr. Telephony Lead Engineer</div>
                          <div><a href="mailto:achen@thinkingphones.com"
                              target="_blank" moz-do-not-send="true">achen@</a><a
                              href="http://fuze.com" target="_blank"
                              moz-do-not-send="true">fuze.com</a><br>
                          </div>
                          <div><br>
                            <br>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <br>
              <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">*Confidentiality
                Notice: The information contained in this e-mail and any</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
              <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments
                may be confidential. If you are not an intended
                recipient, you</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
              <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">are
                hereby notified that any dissemination, distribution or
                copying of this</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
              <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">e-mail
                is strictly prohibited. If you have received this e-mail
                in error,</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
              <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">please
                notify the sender and permanently delete the e-mail and
                any</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
              <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments
                immediately. You should not retain, copy or use this
                e-mail or</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
              <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">any
                attachment for any purpose, nor disclose all or any part
                of the</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
              <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">contents
                to any other person. Thank you.*</span> <br>
              <fieldset></fieldset>
              <pre>_______________________________________________
Kamailio (SER) - Users Mailing List
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
            </blockquote>
          </div>
          _______________________________________________<br>
          Kamailio (SER) - Users Mailing List<br>
          <a href="mailto:sr-users@lists.kamailio.org" target="_blank"
            moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
          <a
            href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
            rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      <div dir="ltr" class="gmail_signature">
        <div dir="ltr">
          <div>
            <div dir="ltr">
              <div dir="ltr" style="font-size:12.8px">Andy Chen</div>
              <div dir="ltr" style="font-size:12.8px">
                <div>Sr. Telephony Lead Engineer</div>
                <div>415 516 5535 (M)</div>
                <div><a href="mailto:achen@thinkingphones.com"
                    target="_blank" moz-do-not-send="true">achen@</a><a
                    href="http://fuze.com" target="_blank"
                    moz-do-not-send="true">fuze.com</a></div>
                <div><br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">*Confidentiality
        Notice: The information contained in this e-mail and any</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments
        may be confidential. If you are not an intended recipient, you</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">are
        hereby notified that any dissemination, distribution or copying
        of this</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">e-mail
        is strictly prohibited. If you have received this e-mail in
        error,</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">please
        notify the sender and permanently delete the e-mail and any</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments
        immediately. You should not retain, copy or use this e-mail or</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">any
        attachment for any purpose, nor disclose all or any part of the</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">contents
        to any other person. Thank you.*</span>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
  </body>
</html>