<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 dir="ltr" class="gmail_attr">Em seg., 23 de out. de 2023 às 12:02, nutxase via Users <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>> escreveu:<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 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 href="https://proton.me/" rel="noopener noreferrer" target="_blank">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 href="mailto:bogdan@opensips.org" target="_blank">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 href="https://www.opensips-solutions.com" rel="noreferrer nofollow noopener" target="_blank">https://www.opensips-solutions.com</a>
  <a href="https://www.siphub.com" rel="noreferrer nofollow noopener" target="_blank">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 rel="noreferrer nofollow noopener" href="https://proton.me/" target="_blank">Proton Mail</a> secure
          email. </div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" rel="noreferrer nofollow noopener" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer nofollow noopener" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  


        </blockquote><br>
    </div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">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 dir="ltr" class="gmail_signature"><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 face="arial, sans-serif" color="#000000"><span></span></font></b></font><font style="font-family:arial,sans-serif;font-size:13px"><b style="font-family:arial;font-size:small"><font face="arial, sans-serif" color="#000000"><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 face="arial, sans-serif" color="#000000"><span><div style="font-size:small;font-family:arial"><font style="font-family:arial,sans-serif;font-size:13px" color="#000000"><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 style="font-family:arial,sans-serif" face="arial, sans-serif"> <a href="mailto:kaduww@gmail.com" target="_blank">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 href="https://www.linkedin.com/in/carlos-eduardo-wagner-96bbb433/" target="_blank">https://www.linkedin.com/in/carlos-eduardo-wagner-96bbb433/</a></font><br></div><div style="font-size:small;font-family:arial"><font style="font-family:arial,sans-serif" face="arial, sans-serif"><u></u></font></div></div></div></div></div></div></div></div></div></div>