<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <font face="monospace">Hi Wadii,<br>
      <br>
      I haven;t checked the implementation, but the rtpproxy_engage
      should take care of the 183 with SDP. Have you tested it?<br>
      <br>
      Regards,<br>
    </font>
    <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 Bootcamp 5-16 Dec 2022, online
  <a class="moz-txt-link-freetext" href="https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/">https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/</a></pre>
    <div class="moz-cite-prefix">On 12/23/22 9:42 PM, Wadii ELMAJDI |
      Evenmedia wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:MR1P264MB3585A38367AB9AE50EC0769DCEE99@MR1P264MB3585.FRAP264.PROD.OUTLOOK.COM">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
      <div class="elementToProof ContentPasted0" style="font-family:
        Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color:
        rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
        hello , i do have a question related to rtpproxy module
        documentation.<br>
        <br>
        The doc describes that rewriting sdp body should happen during
        either INVITE , 200 OK or ACK.<br>
        In the case of SDP presence on invite <=> 200 , one should
        rtpproxy_offer during the invite and rtpproxy_answer during the
        200 OK.<br>
        <br>
      </div>
      <div class="elementToProof ContentPasted0" style="font-family:
        Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color:
        rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
        "Documentation : <span style="font-family:Helvetica,
          Arial;font-size:12px;text-align:justify;background-color:rgb(255,
          255, 255);display:inline !important" class="FluidPluginCopy
          ContentPasted1">Rewrites<span class="ContentPasted1"> </span></span><span
          class="acronym FluidPluginCopy ContentPasted1"
          style="font-family:Helvetica,
          Arial;font-size:12px;text-align:justify;background-color:rgb(255,
          255, 255)">SDP</span><span style="font-family:Helvetica,
          Arial;font-size:12px;text-align:justify;background-color:rgb(255,
          255, 255);display:inline !important" class="FluidPluginCopy
          ContentPasted1"><span class="ContentPasted1"> </span>body to
          ensure that media is passed through an<span
            class="ContentPasted1"> </span></span><span class="acronym
          FluidPluginCopy ContentPasted1" style="font-family:Helvetica,
Arial;font-size:12px;text-align:justify;background-color:rgb(255, 255,
          255)">RTP</span><span style="font-family:Helvetica,
          Arial;font-size:12px;text-align:justify;background-color:rgb(255,
          255, 255);display:inline !important" class="FluidPluginCopy
          ContentPasted1"><span class="ContentPasted1"> </span>proxy. To
          be invoked on INVITE for the cases the SDPs are in INVITE and
          200 OK and on 200 OK when SDPs are in 200 OK and ACK."</span><br>
      </div>
      <div class="elementToProof ContentPasted0" style="font-family:
        Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color:
        rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
        <br>
      </div>
      <div class="elementToProof ContentPasted0" style="font-family:
        Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color:
        rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
        <span style="background-color:rgb(255, 255, 255);display:inline
          !important" class="FluidPluginCopy ContentPasted2">But
          sometimes opensips receives a 183 Session Progress containing
          SDP before the 200 which i think is related to earlymedia .</span><br>
      </div>
      <div class="elementToProof ContentPasted0 ContentPasted3"
        style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
        255, 255);">
        I think those sdp packets should also be rewritten with the
        right rtp proxy ip/port. In which case the doc should mention
        "SDPs are in INVITE and 200 OK /183 Session Progress".<br>
        <br>
        My second question : since we can handle most cases with
        rtpproxy_offer/answer methods, what is the purpose of
        rtpproxy_engage ? is it to ease the management i described above
        ? <br>
        <br>
        Thank you<br>
        <br>
        <br>
      </div>
      <div class="elementToProof">
        <div id="Signature">
          <div>
          </div>
        </div>
      </div>
      <link rel="File-List" href="Signature
        (wadii@evenmedia.fr)_fichiers/filelist.xml">
      <link rel="Edit-Time-Data" href="Signature
        (wadii@evenmedia.fr)_fichiers/editdata.mso">
      <link rel="themeData" href="Signature
        (wadii@evenmedia.fr)_fichiers/themedata.thmx">
      <link rel="colorSchemeMapping" href="Signature
        (wadii@evenmedia.fr)_fichiers/colorschememapping.xml">
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-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>