question

Brian Michel avatar image
Brian Michel asked Phong Vu commented

How the Ring Central counting inbound and outbound calls ?

I am getting company log data using below Callout URL

https://platform.ringcentral.com/restapi/v1.0/account/~/call-log?view=Simple&dateFrom=2020-05-06T00:00:00.000Z&dateTo= 2020-05-06T23:59:00.000Z&page=1&perPage=1000

I am counting the inbound calls based on the agent phone number and Extension number and outbound calls based on the agent phone number.

but the count is not matching with live report inbound and outbound count.

In which criteria ring central is counting inbound and outbound calls count in a live report.



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.

1 Answer

Phong Vu avatar image
Phong Vu answered Phong Vu commented

Live report is an app which does not use the call log. It has its own implementation to calculate and measure a call metadata.

Do you get more or get less inbound and outbound from the call log?

2 comments
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.

Yes, sometimes I am getting more data some times fewer data but not much difference.

Ex: Yesterday Total calls count shows in performance report is 546, but by using callout I am getting 542,

the day before yesterday it showing 482 total calls count in performance report but using call log callout it showing total calls count is 495.

My requirement is to show the live report data in salesforce.

I have done inbound and outbound count based on call log data.

sample counts

this is from live report

the inbound and outbound count not matching in both.

for a few users, it matching the counts but some users not matching.

What are parameters ring central considering to count the inbound and outbound count?

Is any API is there to get the live report data using API callout?

0 Likes 0 ·
1588901792656.png (18.0 KiB)
1588901889728.png (10.9 KiB)

I believe that the issue is the time zones used in the live report and your API parameters are differences.

Are you able to check the date and time of those calls reported by the live report, then use that date and time range in your API call?

0 Likes 0 ·

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