Skip to main content
Question

Inconsistency between Presence Events and Call Logs

  • January 21, 2018
  • 2 replies
  • 776 views

Hi,

We found some inconsistency between the data created by Presence events and the call logs created by the Rest API.

Some of the calls appear in the call log but there are no presence events that correspond to them.


In addition, we would like to figure out the duration of each call by using *only* the data created by presence events, how can we do that?


At the end, our final goal is to create a real-time user log of inbound and outbound calls, and to classify any call to answered + duration and missed.



Thank you very much for your help.

2 replies

PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • January 22, 2018
Hi Katey,

Can you post part of the results where the information are inconsistent? Also, which presence endpoint did you use? This will help me quickly verify the problem to find a solution.

Thanks,
Phong Vu

  • Author
  • New Participant
  • January 23, 2018
Hi,
I use the endpoint: 

/restapi/v1.0/account/~/extension/{extension}/presence?detailedTelephonyState=true

We have some calls between 2018-01-16T00:14:44.726Z -  2018-01-16T00:15:18.899Z that can be found in the call log but their Presence event is missing.

We use the company-call-log to check if presence events are consistent.

Thank you very much!