Rate this page:

CallInfoType

The call info.

Fields

call_id

Copy URL
call_id: 

number

The call history ID

cost

Optional
Copy URL
cost: 

decimal

The call cost

custom_data

Optional
Copy URL
custom_data: 

string

The custom data passed to the JS session

duration

Optional
Copy URL
duration: 

number

The call duration in seconds

incoming

Copy URL
incoming: 

boolean

Whether the call is incoming

local_number

Copy URL
local_number: 

string

The local number on the platform side

media_server_address

Copy URL
media_server_address: 

string

The media server IP address

record_url

Optional
Copy URL
record_url: 

string

The record URL

remote_number

Copy URL
remote_number: 

string

The remote number on the client side

remote_number_type

Copy URL
remote_number_type: 

string

The type of the remote number, such as PSTN, mobile, user or sip address

start_time

Copy URL
start_time: 

timestamp

The start time in the selected timezone in 24-h format: YYYY-MM-DD HH:mm:ss

successful

Copy URL
successful: 

boolean

Whether the call is successful

transaction_id

Copy URL
transaction_id: 

number

The transaction ID