Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Paste code macro
languagejson
titleCDR Object
{
 "type": <string>,
 "payload":{
     "call_id": <integer>,
     "phone_number": <string>,
     "caller_id": <string>,
     "unique_id": <string>,
     "call_direction": <string>,
     "result_code": <string>,
     "cause_value": <integer>,
     "user_id": <integer>,
     "campaign_id": <integer>,
     "list_id": <integer>,
     "call_type": <integer>,
     "recording_url": <string>,
     "start_date_time": <DateTime>,
     "end_date_time": <DateTime>,
     "ivr_time": <integer>,
     "ring_time": <integer>,
     "talk_time": <integer>,
     "user_time": <integer>,
     "hold_time": <integer>,
     "wrap_time": <integer>
 }
}

Values

Field

Type

Description

type

string

The type of notification

Payload Data

call_id

integer

The ID of the call.

phone_number

string

The external phone number of the call.

caller_id

string

The phone number that was displayed.

reference_id

string

The external reference ID of the call.

call_direction

string

The direction of the call.

dispostion_code

string

The disposition code of the call.

sip_code

integer

This is the SIP Response code for the call https://en.wikipedia.org/wiki/List_of_SIP_response_codes

user_id

integer

The ID of the user.

campaign_id

integer

The ID of the campaign.

list_id

integer

The ID of the list.

call_type

integer

The type of call.

recording_url

string

The name of the call recording file.

start_date_time

DateTime

The start date and time of the call.

end_time_time

DateTime

The end date and time of the call.

ivr_time

integer

The total time in milliseconds the callee spent in the IVR.

ring_time

integer

The total ring time in milliseconds of the call.

talk_time

integer

The total talk time in milliseconds of the call.

user_time

integer

The total time in milliseconds the callee spent with the user.

hold_time

integer

The total hold time in milliseconds of the call.

wrapup_time

integer

The total wrapup time in milliseconds of the call.