<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">yes, you can use the b2b_logic (together with
      b2b_entities) for that, but it may be a too heavy tool for the
      purpose. Maybe you can try to generate the PRACK from OpenSIPS
      level by using the t_uac_dlg MI function [1] via the mi_script
      module [2] - basically to trigger that MI cmd from the
      onreply_route, when receiving the 180 reply.<br>
      <br>
      [1]
      <a class="moz-txt-link-freetext" href="https://opensips.org/html/docs/modules/3.4.x/tm.html#mi_t_uac_dlg">https://opensips.org/html/docs/modules/3.4.x/tm.html#mi_t_uac_dlg</a><br>
      [2]
      <a class="moz-txt-link-freetext" href="https://opensips.org/html/docs/modules/3.4.x/mi_script.html#afunc_mi">https://opensips.org/html/docs/modules/3.4.x/mi_script.html#afunc_mi</a><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>
  <a class="moz-txt-link-freetext" href="https://www.siphub.com">https://www.siphub.com</a></pre>
    <div class="moz-cite-prefix">On 25.02.2024 14:54, Social Boh wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:fd54ef29-8dfe-4a01-9ac2-ecfef090d47c@bohboh.info">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>I know the best way is the original caller handle and reply the
        183, but I HAVE to do this at OpenSIPs level.</p>
      <p>Can I use B2B_Entities and B2B_logic to do this? Is there a
        scenario to use tu parse and reply the 183?</p>
      <p>Thank you <br>
      </p>
      <pre class="moz-signature" cols="72">---
I'm SoCIaL, MayBe</pre>
      <div class="moz-cite-prefix">El 16/02/2024 a las 11:31 a. m.,
        Bogdan-Andrei Iancu escribió:<br>
      </div>
      <blockquote type="cite"
        cite="mid:49eb93af-dd10-4fae-82bd-1d19edca403a@opensips.org">
        <meta http-equiv="Content-Type"
          content="text/html; charset=UTF-8">
        <font face="monospace">I agree here, the 183 must be relayed
          back to the original caller (which generate the received
          INVITE) and let it do the PRACK - this confirmation must be
          end-2-end in the dialog.<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" moz-do-not-send="true">https://www.opensips-solutions.com</a>
  <a class="moz-txt-link-freetext" href="https://www.siphub.com"
        moz-do-not-send="true">https://www.siphub.com</a></pre>
        <div class="moz-cite-prefix">On 12.02.2024 11:36, Ihor
          Olkhovskyi wrote:<br>
        </div>
        <blockquote type="cite"
cite="mid:CAJTkRNtNYHe2Sid19y0sw8d457j3iCwoJHOjOpjYD4tZU-ekbA@mail.gmail.com">
          <meta http-equiv="content-type"
            content="text/html; charset=UTF-8">
          <div dir="ltr">
            <div>You should relay 183 to original source (ione that is
              sending INVITE) and got PRACK from there. <br>
            </div>
            <div>That would be the most correct way of handling this<br>
            </div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">Le lun. 12 févr. 2024
              à 02:29, Social Boh <<a
                href="mailto:social@bohboh.info" moz-do-not-send="true"
                class="moz-txt-link-freetext">social@bohboh.info</a>>
              a écrit :<br>
            </div>
            <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Maybe
              someone can help me.<br>
              <br>
              This is the scenario.<br>
              <br>
              OpenSIPs receive a INVITE and send it to a server that
              reply with a 302 <br>
              message (always)<br>
              <br>
              Then OpenSIPs, in the failure route, take the user part
              present in the <br>
              302 contact header, change the destination IP and send
              with t_relay<br>
              <br>
              The destination reply with a 183 with Require: 100rel
              header so OpenSIPs <br>
              have to reply with a PRACK. This is my problem.<br>
              <br>
              I don't know which is the best way to handle this (the
              PRACK)<br>
              <br>
              Thank you<br>
              <br>
              Regards<br>
              <br>
              ---<br>
              I'm SoCIaL, MayBe<br>
              <br>
              El 9/02/2024 a las 6:46 a. m., Social Boh escribió:<br>
              > Hello list,<br>
              ><br>
              > can OpenSIPs generate a PRACK message to reply a
              180/183 message?<br>
              ><br>
              > Thank you<br>
              ><br>
              > Regards<br>
              ><br>
              > ---<br>
              > I'm SoCIaL, MayBe<br>
              ><br>
              ><br>
              > _______________________________________________<br>
              > Users mailing list<br>
              > <a href="mailto:Users@lists.opensips.org"
                target="_blank" moz-do-not-send="true"
                class="moz-txt-link-freetext">Users@lists.opensips.org</a><br>
              > <a
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                rel="noreferrer" target="_blank" moz-do-not-send="true"
                class="moz-txt-link-freetext">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
              <br>
              _______________________________________________<br>
              Users mailing list<br>
              <a href="mailto:Users@lists.opensips.org" target="_blank"
                moz-do-not-send="true" class="moz-txt-link-freetext">Users@lists.opensips.org</a><br>
              <a
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                rel="noreferrer" target="_blank" moz-do-not-send="true"
                class="moz-txt-link-freetext">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
            </blockquote>
          </div>
          <br clear="all">
          <br>
          <span class="gmail_signature_prefix">-- </span><br>
          <div dir="ltr" class="gmail_signature">
            <div dir="ltr">Best regards,
              <div>Ihor (Igor)<br>
              </div>
            </div>
          </div>
          <br>
          <fieldset class="moz-mime-attachment-header"></fieldset>
          <pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext"
          href="mailto:Users@lists.opensips.org" moz-do-not-send="true">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
          moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
        </blockquote>
        <br>
        <br>
        <fieldset class="moz-mime-attachment-header"></fieldset>
        <pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext"
        href="mailto:Users@lists.opensips.org" moz-do-not-send="true">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext"
        href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
        moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>