<div style="font-family: Arial, sans-serif; font-size: 14px;">Strangely, when i put a loose_route() or record_route() then it does not even try transfer</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">This is a webrtc client going from opensips to asterisk/freeswitch with mid_registrar</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div>
<div class="protonmail_signature_block" style="font-family: Arial, sans-serif; font-size: 14px;">
    <div class="protonmail_signature_block-user protonmail_signature_block-empty">
        
            </div>
    
            <div class="protonmail_signature_block-proton">
        Sent with <a target="_blank" href="https://proton.me/" rel="noopener noreferrer">Proton Mail</a> secure email.
    </div>
</div>
<div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div class="protonmail_quote">
        ------- Original Message -------<br>
        On Tuesday, October 24th, 2023 at 6:59 AM, Bogdan-Andrei Iancu <bogdan@opensips.org> wrote:<br><br>
        <blockquote class="protonmail_quote" type="cite">
            
    <font face="monospace">:+1:<br>
      <br>
      no lookup for sequential, just loose_route().  Again, you should
      do nothing special for REFER. If the BYE's work for you, the REFER
      should also.<br>
      <br>
      Regards,<br>
    </font>
    <pre cols="72" class="moz-signature">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a href="https://www.opensips-solutions.com" class="moz-txt-link-freetext" rel="noreferrer nofollow noopener" target="_blank">https://www.opensips-solutions.com</a>
  <a href="https://www.siphub.com" class="moz-txt-link-freetext" rel="noreferrer nofollow noopener" target="_blank">https://www.siphub.com</a></pre>
    <div class="moz-cite-prefix">On 10/24/23 7:02 AM, Carlos Eduardo
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">It fails because you're sending a sequential
        request to another endpoint. As it doesn't have the dialog
        there, it will fail.
        <div><br>
        </div>
        <div>You should route the REFER as any other sequential request
          and then the other UA will handle it and transfer.</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div class="gmail_attr" dir="ltr">Em seg., 23 de out. de 2023 às
          12:02, nutxase via Users <<a href="mailto:users@lists.opensips.org" rel="noreferrer nofollow noopener" target="_blank">users@lists.opensips.org</a>>
          escreveu:<br>
        </div>
        <blockquote style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
          <div style="font-family:Arial,sans-serif;font-size:14px">So
            when using a webrtc client with mid_registrar it seems the
            transfer does nothing</div>
          <div style="font-family:Arial,sans-serif;font-size:14px">but
            if i put something like this</div>
          <div style="font-family:Arial,sans-serif;font-size:14px"><br>
          </div>
          <div style="font-family:Arial,sans-serif;font-size:14px"><span></span><span>if
              ( has_totag() && is_method("REFER") ) {</span>
            <div><span>               
                mid_registrar_lookup("location","i","$tu:5060");</span></div>
            <div><span>                <span>t_relay();</span></span></div>
            <div><span>                exit;</span></div>
            <div><span>        }</span></div>
            <span></span><span></span>then a call transfers but doesnt
            drop the transferer's call</div>
          <div style="font-family:Arial,sans-serif;font-size:14px"><br>
          </div>
          <div style="font-family:Arial,sans-serif;font-size:14px"><br>
          </div>
          <div style="font-family:Arial,sans-serif;font-size:14px">
            <div> </div>
            <div> Sent with <a target="_blank" rel="noreferrer nofollow noopener" href="https://proton.me/">Proton
                Mail</a> secure email. </div>
          </div>
          <div style="font-family:Arial,sans-serif;font-size:14px"><br>
          </div>
          <div> ------- Original Message -------<br>
            On Monday, October 23rd, 2023 at 3:39 PM, Bogdan-Andrei
            Iancu <<a target="_blank" href="mailto:bogdan@opensips.org" rel="noreferrer nofollow noopener">bogdan@opensips.org</a>>
            wrote:<br>
            <br>
            <blockquote type="cite"> <font face="monospace">Hi,<br>
                <br>
                The REFER is an in-dialog request like any other
                (re-INVITE and BYE), so no special handling. What
                transfer scenario are you currently failing ?<br>
                <br>
                Regards,<br>
              </font>
              <pre cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a target="_blank" rel="noreferrer nofollow noopener" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
  <a target="_blank" rel="noreferrer nofollow noopener" href="https://www.siphub.com">https://www.siphub.com</a></pre>
              <div>On 10/16/23 5:49 PM, nutxase via Users wrote:<br>
              </div>
              <blockquote type="cite">
                <div style="font-family:Arial,sans-serif;font-size:14px">Hi
                  All</div>
                <div style="font-family:Arial,sans-serif;font-size:14px"><br>
                </div>
                <div style="font-family:Arial,sans-serif;font-size:14px">I
                  am using opensips as a mid_registrar for webrtc and
                  everything is working fine except call transfers, as i
                  understand they use refer, is there anything specific
                  i need to change to get them to work?</div>
                <div style="font-family:Arial,sans-serif;font-size:14px">if
                  you can point me to a module id appreciate it</div>
                <div style="font-family:Arial,sans-serif;font-size:14px"><br>
                </div>
                <div style="font-family:Arial,sans-serif;font-size:14px"><br>
                </div>
                <div style="font-family:Arial,sans-serif;font-size:14px"><br>
                </div>
                <div style="font-family:Arial,sans-serif;font-size:14px">
                  <div> </div>
                  <div> Sent with <a target="_blank" href="https://proton.me/" rel="noreferrer nofollow noopener">Proton Mail</a> secure
                    email. </div>
                </div>
                <br>
                <fieldset></fieldset>
                <pre>_______________________________________________
Users mailing list
<a target="_blank" rel="noreferrer nofollow noopener" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a target="_blank" rel="noreferrer nofollow noopener" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
              </blockquote>
              <br>
            </blockquote>
            <br>
          </div>
          _______________________________________________<br>
          Users mailing list<br>
          <a target="_blank" href="mailto:Users@lists.opensips.org" rel="noreferrer nofollow noopener">Users@lists.opensips.org</a><br>
          <a target="_blank" rel="noreferrer nofollow noopener" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      <span class="gmail_signature_prefix">-- </span><br>
      <div class="gmail_signature" dir="ltr">
        <div dir="ltr">
          <div>
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div dir="ltr">
                    <div dir="ltr">
                      <div dir="ltr">
                        <div style="font-size:small"><b>Carlos E. Wagner</b></div>
                        <div style="font-size:small;font-family:arial"><font style="font-family:arial,sans-serif;font-size:13px"><font style="font-size:x-small;color:rgb(0,0,0)"><i>Tecnólogo
                                em Telecomunicações, Opensips Certified
                                Professional</i></font></font><font style="font-family:arial,sans-serif;font-size:13px"><b style="font-family:arial;font-size:small"><font color="#000000" face="arial, sans-serif"><span></span></font></b></font><font style="font-family:arial,sans-serif;font-size:13px"><b style="font-family:arial;font-size:small"><font color="#000000" face="arial, sans-serif"><span></span></font></b></font></div>
                        <div style="font-size:small;font-family:arial"><br>
                          <font style="font-family:arial,sans-serif;font-size:13px"><b style="font-family:arial;font-size:small"><font color="#000000" face="arial, sans-serif"><span>
                                  <div style="font-size:small;font-family:arial"><font color="#000000" style="font-family:arial,sans-serif;font-size:13px"><b>Fone:</b></font><font face="arial, sans-serif"> <span style="font-weight:normal">+55
                                        48 99981-0894</span></font></div>
                                </span></font></b></font></div>
                        <div style="font-size:small;font-family:arial"><b><font face="arial, sans-serif">E-mail:</font></b><font face="arial, sans-serif" style="font-family:arial,sans-serif"> <a target="_blank" href="mailto:kaduww@gmail.com" rel="noreferrer nofollow noopener">kaduww@gmail.com</a><u><br>
                            </u></font></div>
                        <div style="font-size:small;font-family:arial"><font face="arial, sans-serif"><b>LinkedIn:</b> <a target="_blank" href="https://www.linkedin.com/in/carlos-eduardo-wagner-96bbb433/" rel="noreferrer nofollow noopener">https://www.linkedin.com/in/carlos-eduardo-wagner-96bbb433/</a></font><br>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre">_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" class="moz-txt-link-abbreviated" rel="noreferrer nofollow noopener" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" class="moz-txt-link-freetext" rel="noreferrer nofollow noopener" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  


        </blockquote><br>
    </div>