Skip to main content
Question

REST API Handling multiple calls

  • April 6, 2020
  • 3 replies
  • 747 views

Hi,

I'm looking for the right path to manage multiple calls on one device using the REST API.

What are the API endpoints to:

- Answer an incoming call while putting a previous call on hold.

- Switching between the two different calls.

- Combine the calls into a Conference.

3 replies

PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • April 6, 2020

You can put an active call on hold, then pick up the new coming call and switching between them using these APIs under the Call Control API set:

https://developers.ringcentral.com/api-reference/Call-Control/holdCallParty

https://developers.ringcentral.com/api-reference/Call-Control/unholdCallParty

https://developers.ringcentral.com/api-reference/Call-Control/pickupCallParty

Or use the Flip API https://developers.ringcentral.com/api-reference/Call-Control/callFlipParty

Right now, there is no API to convert a call into a conference call.


I have tried using Hold/Unhold but I ran into the known API bug:

" There is a known limitation for Hold API - hold via REST API doesn't work with hold placed via RingCentral apps or HardPhone. "


It seems like answering the 2nd call automatically places the 1st on Hold, but with the above limitation it is not possible to UnHold it from the API then.

Even if the 1st call is placed on Hold before answering the 2nd, the 1st is still place on Hold in a conflicting way like above.


So, how would PickupCall do better?

I don't understand how FlipParty would help in this context, could you develop please?


thanks!



  • Inspiring
  • September 20, 2020

Following this post...

The Bridge CallControll endpoint right now can combine 2 active calls, but drops the person making the 'Bridge' connection. https://developers.ringcentral.com/api-reference/Call-Control/bridgeCallParty

But, some functionality like 'Add Call Party' to a call session or a Bridge with Agent/Conference All endpoint would be more awesome.