cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1930
Views
10
Helpful
2
Replies

UCCX realtime stats API longestCurrentlyWaitingCallStartTime meaning

jim-j
Level 3
Level 3

When I check http://<UCCX IP>:9080/realtime/VoiceIAQStats one of the values returned for a CSQ is longestCurrentlyWaitingCallStartTime. Does anyone know how to decipher this value? For example, I placed a call into my call center at ~ 11:26 AM ET on 15SEP2021 the value of "longestCurrentlyWaitingCallStartTime" was 1631719560216.

According to https:///<UCCX IP>:9443/realtime/schema this has these attributes
type="timestamp"
utcvalue="true"

But I still don't understand how to interpret 1631719560216. For example I don't see a year, month or day in there.

What I'm ultimately trying to do is determine the CSQ's current wait time, I assume it can be calculated based on longestCurrentlyWaitingCallStartTime.

1 Accepted Solution

Accepted Solutions

rikardkrvaric
Spotlight
Spotlight

I believe they are in EPOCH time... meaning, every second counts from January 1, 1970.

I am not certain though, however it is EPOCH time for CDR records.

https://community.cisco.com/t5/other-collaboration-subjects/utc-date-time-conversion/td-p/212862

View solution in original post

2 Replies 2

rikardkrvaric
Spotlight
Spotlight

I believe they are in EPOCH time... meaning, every second counts from January 1, 1970.

I am not certain though, however it is EPOCH time for CDR records.

https://community.cisco.com/t5/other-collaboration-subjects/utc-date-time-conversion/td-p/212862


@rikardkrvaric wrote:

I believe they are in EPOCH time... meaning, every second counts from January 1, 1970.


That's it!  Thanks so much for the quick reply.