I’m working with the RingCentral Analytics API to calculate average handle time (AHT) per user, and I need clarification on which fields I should be using for accurate reporting.
Â
In the API response, I’m seeing the following fields:
"timers": {
 "allCalls": {
  "valueType": "Seconds",
  "values": 37952.805
 },
 "callsSegments": {
  "valueType": "Seconds",
  "values": {
   "liveTalk": 31735.678,
   "hold": 180.348,
   "ringing": 2686.57,
   ...
  }
 }
},
"counters": {
 "callsSegments": {
  "valueType": "Count",
  "values": {
   "liveTalk": 158
  }
 }
}
Â
Currently, I’m calculating AHT using: liveTalk / liveTalkCount
Â
Where:
Â
-
liveTalk = timers.callsSegments.values.liveTalk
-
liveTalkCount = counters.callsSegments.values.liveTalk
Â
My questions:
Â
-
Is liveTalk the right value to use for total talk time on calls, or should I use timers.allCalls.values instead?
-
Is this the correct method for calculating average handle time?
Â
I want to ensure I’m using the most appropriate fields for performance metrics. Any clarification would be greatly appreciated!
Â
Thanks in advance!
