Inconsistency between Presence Events and Call Logs

  • 1
  • Question
  • Updated 6 months ago
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.
Photo of Katey Berman

Katey Berman

  • 90 Points 75 badge 2x thumb

Posted 6 months ago

  • 1
Photo of Phong Vu

Phong Vu, Devangelist

  • 2,256 Points 2k badge 2x thumb
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
Photo of Katey Berman

Katey Berman

  • 90 Points 75 badge 2x thumb
Any update? 
Photo of Katey Berman

Katey Berman

  • 90 Points 75 badge 2x thumb
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!