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.