This page describes the representation of the resource used by the CDR service.
A phone call record saved by the system is represented by the UnifiedAPI as a PhoneCall resource. Statistics about the phone call activity are represented as a PhoneCallStat resource.
The example below contains the PhoneCallStat in JSON representation. All fields are fictitious.
The table below describes the fields of a PhoneCallStat resource:
|Name||Type||Can be NULL||Description|
|type||Number||No||Type of the call:|
0 - incoming call
1 - outgoing call
|total||Number||No||Total number of phone calls.|
|answered||Number||No||Number of answered phone calls.|
|unanswered||Number||No||Number of unanswered phone calls.|
|unknown||Number||No||Number of unknown phone calls.|
|busy||Number||No||Number of busy phone calls.|
|failed||Number||No||Number of failed phone calls.|
|unallowed||Number||No||Number of phone calls that were refused by the system.|
The PhoneCallStat is returned by the CDR Service along with the PhoneCall resources.
Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.