<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">`replace-origin` and
      `replace-session-connection` are optional for normal operation and
      are preempted by `ICE=force-relay`. If you want c= and o= (and m=)
      lines updated, you should use `ICE=force` instead.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Cheers</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 19/04/2019 05.25, David Dean wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:924422096.2816968.1555665921040@mail.yahoo.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div class="ydpfc76e325yahoo-style-wrap">
        <div style="font-size: 16px;">Sorry, not sure I understand.</div>
        <div style="font-size: 16px;"><br>
        </div>
        <div style="font-size: 16px;">The documentation says these
          options will update c= and m= but in my case they aren't
          applying and I don't know why.</div>
        <div style="font-size: 16px;"><br>
        </div>
        <div style="font-size: 16px;">Are you saying c= and m= won't be
          updated if ICE is being forced?</div>
        <div style="font-size: 16px;"><br>
        </div>
        <div style="font-size: 16px;">---------</div>
        <div><span style="font-size: 16px;"><a class="moz-txt-link-freetext" href="https://www.kamailio.org/docs/modules/4.4.x/modules/rtpengine.html#rtpengine.f.rtpengine_offer">https://www.kamailio.org/docs/modules/4.4.x/modules/rtpengine.html#rtpengine.f.rtpengine_offer</a></span><br>
        </div>
        <div style="font-size: 16px;"><br>
        </div>
        <div>
          <div><span style="font-size: 16px;">replace-origin - flags
              that IP from the origin description (o=) should be also
              changed.</span></div>
          <div><span style="font-size: 16px;"><br>
            </span></div>
          <div><span style="font-size: 16px;">replace-session-connection
              - flags to change the session-level SDP connection (c=) IP
              if media description also includes connection information.</span></div>
        </div>
        <div><span style="font-size: 16px;"><br>
          </span></div>
        <div><span style="font-size: 16px;"><br>
          </span></div>
        <div><span style="font-size: 16px;"><br>
          </span></div>
        <div style="font-size: 16px;"><br>
        </div>
        <div id="ydpfc76e325yahoo_quoted_6196306485"
          class="ydpfc76e325yahoo_quoted" style="font-size: 16px;">
          <div style="font-size: 13px; color: rgb(38, 40, 42);">
            <div> On Friday, 19 April 2019, 10:15:28 GMT+1, Daniel Tryba
              <a class="moz-txt-link-rfc2396E" href="mailto:d.tryba@pocos.nl"><d.tryba@pocos.nl></a> wrote: </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>On Fri, Apr 19, 2019 at 08:52:30AM +0000, David Dean
              wrote:<br clear="none">
              > I'm using the following rtpengine_offer() to force
              the use of ICE relay and also replace o= and m=<br
                clear="none">
              > ?? ??rtpengine_offer("replace-origin
              replace-session-connection ICE=force-relay RTP");<br
                clear="none">
              > <br clear="none">
              > The SDP is being updated to include an ICE relay
              candidate, but the IP addresses in the o= and m= lines are
              not changing??to the servers IP address (X.X.X.X).<br
                clear="none">
              <br clear="none">
              <br clear="none">
              This is a feature, not a bug: <a shape="rect"
                href="https://github.com/sipwise/rtpengine"
                rel="nofollow" target="_blank" moz-do-not-send="true">https://github.com/sipwise/rtpengine</a>
              <div class="ydpfc76e325yqt3035631431"
                id="ydpfc76e325yqtfd92577"><br clear="none">
                "<br clear="none">
                * ICE</div>
              <br clear="none">
              ...<br clear="none">
              With force-relay, existing ICE candidates are left in
              place except relay<br clear="none">
              type candidates, and rtpengine inserts itself as a relay
              candidate. It<br clear="none">
              will also leave SDP c= and m= lines unchanged.<br
                clear="none">
              <br clear="none">
              This flag operates independently of the replace flags.<br
                clear="none">
              "<br clear="none">
              <br clear="none">
              Strange that media adress doesn't work, but try replace.
              Maybe that<br clear="none">
              works?<br clear="none">
              <br clear="none">
              <br clear="none">
              _______________________________________________<br
                clear="none">
              Kamailio (SER) - Users Mailing List<br clear="none">
              <a shape="rect" href="mailto:sr-users@lists.kamailio.org"
                rel="nofollow" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a><br
                clear="none">
              <a shape="rect"
                href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
                rel="nofollow" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
              <div class="ydpfc76e325yqt3035631431"
                id="ydpfc76e325yqtfd36274"><br clear="none">
              </div>
            </div>
          </div>
        </div>
      </div>
      <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>