<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Hi Simon,<br>
<br>
Do you use B2B on the OpenSIPS side ? Which entity is actually
performing the transfer ?<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 eBootcamp
<a class="moz-txt-link-freetext" href="https://www.opensips.org/Training/Bootcamp">https://www.opensips.org/Training/Bootcamp</a></pre>
<div class="moz-cite-prefix">On 2/24/22 1:54 PM, Simon Gajski via
Users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:55ddf70b-10a8-6c1f-6d04-f81f3bce311a@softnet.si">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<br>
<div class="moz-forward-container">Hi<br>
<p> <br>
I am using opensips 3.2 with rtpengine on same server and
trying to achieve attended call transfer.<br>
<br>
In theory, I'm trying to do: <br>
1. A calls B...and B answers<br>
2. B puts A on hold (MOH is played from RTPengine)<br>
3. B calls C...and C answers<br>
<br>
Now the funny part:<br>
B tries to transfer A to C and sends REFER to opensips<br>
In opensips I responds with 202 Accepted and B gets
disconnected.<br>
<br>
However A and C don't get connected together<br>
A still receives MOH and C has no voice<br>
<br>
We have another installation of opensips where REFER handles
Freeswitch, and there such type of transfer is working fine.<br>
<br>
Can someone help me how to handle such call behaviour in
opensips with RTPengine?</p>
<p><br>
relevant part of code:<br>
</p>
<font size="1" face="Courier New, Courier, monospace">route[handle_sequential]{</font><br>
<font size="1" face="Courier New, Courier, monospace">...</font><br>
<font size="1" face="Courier New, Courier, monospace">
if(is_method("REFER")) {<br>
xlog("[IN_DIALOG] [$rm] Transfer from $fu to $tu");<br>
send_reply(202, "Accepted");<br>
<br>
#what next?<br>
<br>
exit;<br>
}</font><br>
<font size="1" face="Courier New, Courier, monospace">...</font><br>
<font size="1" face="Courier New, Courier, monospace">}</font><br>
<p><br>
Thank you! <br>
<br>
Simon <br>
<br>
</p>
</div>
<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>