<div dir="ltr"><div dir="ltr">On Wed, Jun 15, 2022 at 11:16 AM Jean Aunis <<a href="mailto:jean.aunis@prescom.fr">jean.aunis@prescom.fr</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I had no answer to this question on asterisk-app-dev, so I'm trying here.<br>
<br>
I'm trying to figure out how blind transfers are supposed to work with ARI.<br>
<br>
When two channels are bridged together through ARI, and one of them <br>
performs a blind SIP transfer, two things happen :<br>
<br>
- a Local channel is instantiated and goes through the dialplan at the <br>
specified destination<br>
<br>
- the transferee channel goes through the same dialplan at the specified <br>
destination<br>
<br>
The latter looks fine. The former is strange. I understand that this <br>
Local channel is created to avoid losing track of the transferee channel <br>
in ARI, but:<br>
<br>
- how am I supposed to handle it ?<br>
<br>
- when the transfer is successful, which channel must be placed in which <br>
bridge ?<br>
<br>
- why do both channels go through the same part of the dialplan ? I <br>
would have expected only one of them to do that.<br>
<br>
Any hints ?<br></blockquote><div><br></div><div>Based on the test coverage for this[1] you aren't really expected to manipulate the bridge yourself. The ";1" side of the Local channel is supposed to automatically go into your ARI application and take the transferer channel place in the bridge, and then the transferer leaves the bridge and ARI application. I don't know why both channels are going through the dialplan in your scenario.</div><div><br></div><div>[1] <a href="https://github.com/asterisk/testsuite/tree/master/tests/rest_api/external_interaction/blind_transfer">https://github.com/asterisk/testsuite/tree/master/tests/rest_api/external_interaction/blind_transfer</a></div></div><div><br></div>-- <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-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Technical Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div>