CallInfoType
The call info.
Fields
call_id
call_id: number
Call's history ID
cost
Optional
cost: decimal
Call's cost
custom_data
Optional
custom_data: string
Custom data passed to the JS session
diversion_number
Optional
diversion_number: string
Call forwarding number
duration
Optional
duration: number
Call duration in seconds
end_reason
Optional
end_reason: object
End reason code and description
incoming
incoming: boolean
Whether the call is incoming
local_number
local_number: string
Local number on the platform side
media_server_address
media_server_address: string
Media server's IP address
record_url
Optional
record_url: string
Record URL
remote_number
remote_number: string
Remote number on the client side
remote_number_type
remote_number_type: string
Type of the remote number, e.g., a PSTN, mobile, user or sip address
start_time
start_time: timestamp
Call 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
Transaction ID