<div dir="ltr">Not sure if this will help but what I do is fairly simple. A couple of things:<div><br></div><div>1. This is all written in JS using Node.js.</div><div>2. I use ari-client from npm.</div><div><br></div><div>To me this is very simple. You already have the bridge and channel setup for Alice. I create another channel that dials Charlie. And, as soon as the create channel call comes back I just set the channel id (was Bob) in the bridge to the new channel for Charlie. That's it. If it doesn't get answered I hope it goes to VM. However, that's the downside of a blind transfer. I have some code in there for what happens if Alice hangs up before Charlie answers, etc but that's because I keep track of every call in my system.</div><div><br></div><div>And I wrote all of this before there were Promises and Async/Await. Hopefully next year I'll have the time to rewrite the whole thing.</div><div><br></div><div>And, for the people at Asterisk who came up with the idea of ARI. Thank you soooo much. Hope everyone has a wonderful holiday and that 2021 is much better than 2020!</div><div><br></div><div>Phil</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 22, 2020 at 5:38 AM Jean Aunis <<a href="mailto:jean.aunis@prescom.fr">jean.aunis@prescom.fr</a>> wrote:<br></div><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'm struggling to find a way to properly handle blind transfers with ARI.<br>
<br>
This is my use case :<br>
<br>
- Alice calls Bob through Asterisk<br>
<br>
- dialing and bridging is done with ARI<br>
<br>
- when Bob blind-transfers to Charlie, I would like to use the <br>
"redirect" ARI operation, or the Transfer application<br>
<br>
But here is the issue : since the channels are stasis-managed, <br>
transferring is done with Local channels which remain in the path, so <br>
Transfer and redirect have no effect on them. And Alice's channel is not <br>
aware that it is being transferred.<br>
<br>
Has somebody already dealt with this ?<br>
<br>
Regards,<br>
<br>
Jean<br>
<br>
<br>
_______________________________________________<br>
asterisk-app-dev mailing list<br>
<a href="mailto:asterisk-app-dev@lists.digium.com" target="_blank">asterisk-app-dev@lists.digium.com</a><br>
<a href="http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev" rel="noreferrer" target="_blank">http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev</a><br>
</blockquote></div>