News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
How can I disable call recording for an active call through the RingCentral API
Tags: call recording
Oct 7, 2019 at 1:15am   •   4 replies  •  0 likes
ovunc-gursoy

I want to disable call recording for certain Area Codes. So I just want to disable call recording for a specific call programmatically. There are a couple of APIs but I could not figure out which one to use.


Call recording feature is enabled for all user. I dont want to disable their global call recording settings but want to disable only the active call.


Any help appreciated.

Thanks

4 Answers
answered on Sep 24, 2020 at 10:23am  

@ovunc-gursoy @Kenny FONG

I found the way to get the call recording id. I have not tested yet but I think it should work.

Once you get the telephony session id of an active call, which you want to control the recording, call the Get Call Session Status API and parse the response to detect the recording id (if the call is being recorded) from the "recordings" array. If the call is not being recorded, you can call the Create Recording API to start the recording.


 0
answered on Sep 25, 2020 at 3:04am  

@Phong Vu Thank you, the call is now stopping and starting using the method you outlined yesterday


 1
answered on Oct 14, 2019 at 1:48am  

Thanks for the answer, that looks promising.

In the API,

https://platform.devtest.ringcentral.com/restapi/v1.0/account/accountId/telephony/sessions/telephonySessionId/parties/partyId/recordings/recordingId

It also requires recordingId, do I get recording id along with the response of the incoming notification?


Thanks a lot.


 0
answered on Oct 7, 2019 at 8:17am  

You will have to implement a lot to get the job done. Presumed that you set auto call recording by default for those users (meaning that all calls will be automatically recorded)

1. Listen for all coming calls to the users you want to interact with.

2. Detect when a call is connected and the area code from the caller's phone number of the notification payload from step 1.

3. Use the telephonySessionId and the partyId from the incoming call notification from step 1

4. Pause the call recording using the Call Control API

If you don't set auto call recording for those users, then do the opposite in step 4 to start recording for those numbers which are out of your area codes list.

Hope this helps!


 1



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us