question

robert-eckman15237 avatar image
robert-eckman15237 asked Phong Vu answered

How do I get Handle Time from the API? Duration isn't the same as Handle time in the Analytics.

I wrote a c# application that uses the RingCentral SDK to pull call logs from the RC API. I was pulling pretty much all the info that you can get from <https://developers.ringcentral.com/api-reference/Call-Log/readCompanyCallLog > including Duration.


However, we recently noticed that Duration is not the same as "Handle time" that is shown in the RingCentral Analytics portal located here: <https://analytics.ringcentral.com/company-numbers/default/call-details > For example, calls that go to Voice mail have a duration value... but they don't have a Handle time value.


Is there a way or method of getting the Handle time for each call via the API?

apianalytics and reporting
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.

1 Answer

Phong Vu avatar image
Phong Vu answered

The data from the analytics portal is the application's data captured for analytics. The app does not use nor share the call log data. Instead it implements its own timer to clock call duration and other data for analytics. The call log time is a little bit less precise as it is used mainly for tracking call history purpose. You can implement your own logic to capture better timing by using the telephony session notification and clock call duration by yourself.

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