question

katey-berman5340 avatar image
katey-berman5340 asked katey-berman5340 commented

Inconsistency between Presence Events and Call Logs

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.

sdk
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image
Phong Vu answered katey-berman5340 commented
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
1 comment
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

katey-berman5340 avatar image katey-berman5340 commented ·
Any update? 
0 Likes 0 ·
katey-berman5340 avatar image
katey-berman5340 answered
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!




1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys