How To Steal An Answered Call?
Hello,
I’m familiar with Pickup/PickupChan for taking a ringing call, but does anyone know how a phone can “steal” an already answered call from another phone? Our users have decided that call parking is too long-winded and don’t want to use that.
For example: phone A calls phone B, phone B answers the call, phone C dials something to “steal” the call from B, and finally A and C are talking.
Searching on voip-info.org shows a “BristuffSteal” command but it’s very out of date (Asterisk 1.2).
Thanks in advance for any suggestions.
Kind regards,
6 thoughts on - How To Steal An Answered Call?
Not sure how elegant this is, but I think you can try to elaborate some logic that when phone C dials something, it would retrieve you the channel phone A is connected and use the Bridge application to force the connection of phone C to phone A. So you need first to save the channels you have connected in a call, later on read this info based on whatever the phone C
has dialed in and just use this as parameter to the Bridge app. When this happens channel C gets connected to channel A and channel B should automatically get disconnected (or maybe continue your dialplan execution).
By the way, bear in mind this is exactly what a blind transfer from B to C
would do, but with a lot of more work….
Hello.
I believe you can do that with ARI, but I am not sure if you can do it without using ARI to start the call.
Regards,
Marcelo H. Terres
IM: mhterres@jabber.mundoopensource.com.br https://www.mundoopensource.com.br https://twitter.com/mhterres https://linkedin.com/in/marceloterres
—
Unfortunately, all channels need to be handled by ARI stasis app, otherwise, you can’t use ARI.
Regards,
Marcelo H. Terres
IM: mhterres@jabber.mundoopensource.com.br https://www.mundoopensource.com.br https://twitter.com/mhterres https://linkedin.com/in/marceloterres
—
David,
You should be able to use the Bridge dialplan application to do what you want.
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Bridge
I use the CHANNELS function and the IMPORT function to find the channel to bridge to my caller.
Hello Patrick and others,
Thanks, I wasn’t familiar with the Bridge application and it may allow us to do what’s needed.
A transfer would of course be simpler but the user wants what the user wants…
Thank you.