Versions Compared

Key

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

...

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

Values

Key

Field

Type

Description

type

string

The type of notification

Payload Data

call_id

int

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

result

The direction of the call.

dispostion_code

string

cause_value

int

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

int

integer

The ID of the user.

campaign_id

int

integer

The ID of the campaign.

list_id

int

integer

The ID of the list.

call_type

int

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

int

integer

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

ring_time

int

integer

The total ring time in milliseconds of the call.

talk_time

int

integer

The total talk time in milliseconds of the call.

user_time

int

integer

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

hold_time

int

wrap_time

int

integer

The total hold time in milliseconds of the call.

wrapup_time

integer

The total wrapup time in milliseconds of the call.