Mediator Call Detail Record Object
The Mediator Call Detail Record object represents a single call made through a Mediator endpoint, including inbound and outbound traffic to bindings or from dialouts. It provides comprehensive information about the call such as identifiers, call direction, timestamps, and session attributes. This object is returned when querying call activity for Mediator endpoints and is used to audit call flows, monitor performance, and troubleshoot call-related issues.
Mediator Call Detail Record Object Attributes
This section lists and describes the fields returned in a Mediator Call Detail Record.
| Attribute | Data Type | Description |
|---|---|---|
| attributes read only | object | The attributes of a binding or dialout. |
| date_insert read only | string | The date and time when the call detail record was processed and added to the database. |
| date_start read only | string | The date and time when the call started or SMS was created. |
| date_stop read only | string | The date and time when the call stopped or SMS was delivered (with any status). |
| date_talk read only | string | The date and time when the call was answered by the destination party. |
| direction read only | string | The direction of the call or SMS. Values accepted in this field are:
|
| dr_sid read only | string | The detail record secure ID. |
| dtmf read only | string | The DTMF signals used during the call in the binding or dialout. |
| duration read only | number | The call duration in seconds. The value is calculated as |
| endpoint_sid read only | string | The associated endpoint secure ID. |
| endpoint_type read only | string | The associated endpoint type. Values accepted in this field are:
|
| event_type read only | string | The type of the Mediator event. Values accepted in this field are:
|
| number_dst read only | string | The destination number. |
| number_redirect read only | string | The Mediator redirect number. |
| number_src read only | string | The source number. |
| partner_sid read only | string | The secure ID of the Partner, to whom this detail record belongs. |
| reference_sid read only | string | The secure ID of the Mediator binding or dialout. |
| type read only | string | The type of call. Values accepted in this field are:
|
| version read only | integer | The version of the detail record as it comes from the source. |
Sample Mediator Call Detail Record Object
{
"attributes": {
"hide_origination_did": "true"
},
"date_insert": "2024-10-09T10:15:01.000Z",
"date_start": "2024-10-09T10:12:28.000Z",
"date_stop": "2024-10-09T10:12:43.000Z",
"date_talk": "2024-10-09T10:12:32.000Z",
"direction": "outbound",
"dr_sid": "2ce7599c-8391-4cc2-8e06-7b832f110e48",
"dtmf": null,
"duration": "15",
"endpoint_sid": "d59fbc20-3fda-4624-b58b-a8a4ef64b0a8",
"endpoint_type": "mediator",
"event_type": "dialout",
"number_dst": "14437317761",
"number_redirect": "15162065919",
"number_src": "12029021281",
"partner_sid": "cee93bf3-5746-43fe-a1a2-822c05fef687",
"reference_sid": "89b3ef2c-222b-4bd7-bc46-084021e5a770",
"type": "mediator",
"version": 2
}