Question

How to block the ability to make new calls through the API while the current call is active?

  • 23 April 2023
  • 1 reply
  • 132 views

Hi,

I'm writing a microservice for my web application that will use the RC API to automatically make calls to phone numbers that appear in the list in real time.

The calls will be made through the RC Windows app (not through the browser extension).

How can I make it so that a new request to the API is not made until the active call in the app completes? And the line in the app can be busy not only with outgoing calls from my app, but also with outgoing calls outside of my app, and incoming calls.

Is there any way to get the line status of a specific RC account or a specific RC windows app to block the ability to make new calls while the current line is busy?


1 reply

Userlevel 1

You can read a user active calls to check if a user is on a call or not. Or even better, you can also read the user presence status and check the user telephony status.

Reply