Skip to main content
Solved

REST API: How do I end a call of someone within my organisation without logging in with their JWT token?

  • November 22, 2024
  • 1 reply
  • 38 views

Forum|alt.badge.img

Hi Everyone, I’ll give you the context of the situation: I have a program that automatically checks people in my organisations calls they are making (using the Ring Central websocket) against the TPS (telephone preference service). If they flag as true then it sends an SMS notifying the user and (in theory currently) ends the call.

The problem is that, while I can end my own calls, I cannot end the calls of others. I understand this is because the system doesn’t allow you to end others calls even if you are a super admin and have Call Control permissions on your app. I have trawled through the documentation and forum but I can’t find any answer. I do not want to create a JWT for every single user and login in each and every time it needs to end a call, it’s long-winded, requires constant monitoring, etc.

For additional context, my users use the Ring Central desktop app, therefore there is no device names per say, however they are on the same network. I don’t know if this is useful to know.

Best answer by PhongVu

The main super admin in a RingCentral account has the power to control voice calls of other users under the same account. So the solution is to authenticate your app with the main super admin and you can control calls (e.g. start/stop recording, terminate a call etc.) of other users.

View original
Did this thread help you find an answer to your question?

1 reply

PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • 2328 replies
  • Answer
  • November 26, 2024

The main super admin in a RingCentral account has the power to control voice calls of other users under the same account. So the solution is to authenticate your app with the main super admin and you can control calls (e.g. start/stop recording, terminate a call etc.) of other users.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings