CallInfoType
The call info.
Fields
call_id
call_id: number
The call history ID
cost
Optional
cost: decimal
The call cost
custom_data
Optional
custom_data: string
The custom data passed to the JS session
duration
Optional
duration: number
The call duration in seconds
incoming
incoming: boolean
Whether the call is incoming
local_number
local_number: string
The local number on the platform side
media_server_address
media_server_address: string
The media server IP address
record_url
Optional
record_url: string
The record URL
remote_number
remote_number: string
The remote number on the client side
remote_number_type
remote_number_type: string
The type of the remote number, such as PSTN, mobile, user or sip address
start_time
start_time: timestamp
The start time in the selected timezone in 24-h format: YYYY-MM-DD HH:mm:ss
successful
successful: boolean
Whether the call is successful
transaction_id
transaction_id: number
The transaction ID