Skip to main content

I would like to be able to dynamicaly stop / start call recording based off some event in our 3rd party system using the RC APIs. We are recording all calls at the trunk level and when one of our agents start taking Credit Card information we would like to stop the recording. Once agent finishes taking that information we would start the recording again. Is this possible?

I find a feature named "OnDemandCallRecording" here: https://developer.ringcentral.com/api-docs/latest/index.html But I cannot find any details about it. Could anybody clarify its usage?

You can do this if the call is being handled by WebRTC. The following is from our WebRTC SDK documentation:

https://github.com/ringcentral/ringcentral-web-phone#startstop-recording

session.startRecord().then(...);
session.stopRecord().then(...);

Reply