Solved

Is there an API to obtain call time and number of calls per user and queue?

  • 23 August 2022
  • 1 reply
  • 476 views

Good day everyone, the project on which i'm working wants to create a simple metrics dashboard per user, the idea is to obtain the talk time coming from a specific queue per each user and also the talk time for all calls received by the same user.

I looked at the call logs endpoint and using the legs I can determine who was the user who answered the call from a queue. For the total talk time, i call the call logs but pointing to the user extension.

The thing is that the call logs endpoint has a small rate limit, and i wanted to know if there's a better approach to handle this requirement

icon

Best answer by Phong1426275020 24 August 2022, 02:19

View original

1 reply

Userlevel 1

Unfortunately, there is no API to obtain those call metrics. The Analytics API provides only aggregated data, and the Call Logs API is a call history which is not meant for detailed analytics.

If you are interested, you can implement your own app to calculate those metrics from real-time call data. Read this article to learn how to use the telephony session event notification to generate own call data.

Reply