<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Well, maybe posting some network capture +
script snippet for the sequential requests will help here.<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 10/24/23 6:01 PM, nutxase wrote:<br>
</div>
<blockquote type="cite"
cite="mid:6eK22Wq6obs-_ocahY75s1IpsIukpjEnEG3CPXdo1Ixj2hi8EYr60QfmAK_Icjm40vtiD6qlSOrMuTnu2lIrqCdqX2eFsTMEwYRi_qh2zBM=@proton.me">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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" moz-do-not-send="true">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
<a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a> 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" moz-do-not-send="true">https://www.opensips-solutions.com</a>
<a href="https://www.siphub.com" class="moz-txt-link-freetext" rel="noreferrer nofollow noopener" target="_blank" moz-do-not-send="true">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"
moz-do-not-send="true">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/"
moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">https://www.opensips-solutions.com</a>
<a target="_blank" rel="noreferrer nofollow noopener" href="https://www.siphub.com" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">Users@lists.opensips.org</a>
<a target="_blank" rel="noreferrer nofollow noopener" 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>
</blockquote>
<br>
</div>
_______________________________________________<br>
Users mailing list<br>
<a target="_blank"
href="mailto:Users@lists.opensips.org" rel="noreferrer
nofollow noopener" moz-do-not-send="true">Users@lists.opensips.org</a><br>
<a target="_blank" rel="noreferrer nofollow noopener"
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><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
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
target="_blank"
href="mailto:kaduww@gmail.com"
rel="noreferrer nofollow noopener"
moz-do-not-send="true">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"
moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</blockquote>
<br>
</div>
</blockquote>
<br>
</body>
</html>