Mediator Call Detail Record Object
This section describes the elements of the Mediator Call Detail Record object. These fields and values make up the JSON object that gets returned with successful requests.
Mediator Call Detail Record Object Attributes
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
}