question

paul-tracy2971 avatar image
paul-tracy2971 asked John Wang answered

Dynamically start/stop call recording

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?

rest api
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Tyler Liu avatar image
Tyler Liu answered
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?
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

John Wang avatar image
John Wang answered
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(...);
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys