question

Mike Frank avatar image
Mike Frank asked vyshakhbabji Deactivated commented

Is it possible to get "ring time" from the call log api?

Hello, I am currently using to call log api to get detailed call log data. My business is interested in the ring time. There is a duration fields which is the number of seconds the call lasted but is there any data on how long the phone was ringing for?

rest api
1 |3000

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

Phong Vu avatar image
Phong Vu answered

Unfortunately, the call log does not have the ringing duration data. If this is critical for your company, you have to implement the telephony session notification and measure the time by your own app.

1 |3000

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

Anastasiia Popova avatar image
Anastasiia Popova answered vyshakhbabji Deactivated commented

Hello our company need ring time too. This question was added more than year ago. So maybe you have been already added ring time to call log api?

2 comments
1 |3000

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

No, there is no updates to the call log data to capture ringing time.

You can implement an app to detect that. Read this article to see how to.

You can also use the new API named Call Performance API under bata release. Unfortunately, right now it only gives you the aggregate data. We are planning to provide breakout call data in the future releases.

0 Likes 0 ·

For now that only way I can think of calculating this time is by running subscriptions with https://developers.ringcentral.com/api-reference/Account-Telephony-Sessions-Event event filter and keeping a track of time between Setup <> Proceeding <-> Answered

For more info : https://developers.ringcentral.com/guide/voice/calculating-call-time-metrics


0 Likes 0 ·
Suyash Joshi avatar image
Suyash Joshi answered Suyash Joshi edited

Hi @Mike Frank if you want to get data of not just a single call but on the aggregate level then have a look at the new CallPerformanceAnalytics APIs. Using this, you can get RingTime but looking for 'Ringing' Call Segment filter as documented here https://developers.ringcentral.com/api-reference/Call-Performance-Reports/aggregatePerformanceReportCalls

1 |3000

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