CallSessionInfoType
The GetCallHistory function result item.
Fields
account_id
account_id: number
The account ID that initiates the JS session
application_id
application_id: number
The application ID that initiates the JS session
application_name
application_name: string
The application name
call_session_history_id
call_session_history_id: number
The unique JS session identifier
calls
calls:
Calls within the JS session, including durations, cost, phone numbers and other information
custom_data
custom_data: string
Custom data
duration
duration: number
The entire JS session duration in seconds. The session can contain multiple calls
finish_reason
finish_reason: string
Finish reason. Possible values are Normal termination, Insufficient funds, Internal error (billing timeout), Terminated administratively, JS session error, Timeout
initiator_address
initiator_address: string
The initiator IP address
log_file_url
log_file_url: string
The link to the session log. The log retention policy is 1 month, after that time this field clears. If you have issues accessing the log file, check if the application has "Secure storage of applications and logs" feature enabled. In this case, you need to authorize.
media_server_address
media_server_address: string
The media server IP address
rule_name
rule_name: string
The routing rule name
start_date
start_date: timestamp
The start date in the selected timezone in 24-h format: YYYY-MM-DD HH:mm:ss
user_id
user_id: number
The user ID that initiates the JS session