Rate this page:

CallSessionInfoType

The GetCallHistory function result item.

Fields

rule_name

Copy URL
rule_name: 

string

The routing rule name

application_name

Copy URL
application_name: 

string

The application name

call_session_history_id

Copy URL
call_session_history_id: 

number

The unique JS session identifier

account_id

Copy URL
account_id: 

number

The account ID that initiates the JS session

application_id

Copy URL
application_id: 

number

The application ID that initiates the JS session

user_id

Copy URL
user_id: 

number

The user ID that initiates the JS session

start_date

Copy URL
start_date: 

timestamp

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

duration

Optional
Copy URL
duration: 

number

The entire JS session duration in seconds. The session can contain multiple calls

initiator_address

Copy URL
initiator_address: 

string

The initiator IP address

media_server_address

Copy URL
media_server_address: 

string

The media server IP address

log_file_url

Copy URL
log_file_url: 

string

The link to the session log. The log retention policy is 1 month, after that time this field clears

finish_reason

Optional
Copy URL
finish_reason: 

string

The finish reason. Possible values are Normal termination, Insufficient funds, Internal error (billing timeout), Terminated administratively, JS session error, Timeout

calls

Optional
Copy URL
calls: 

[CallInfoType]

The calls within JS session, including durations, cost, phone numbers and other information

other_resource_usage

Optional
Copy URL
other_resource_usage: 

[ResourceUsageType]

The used resorces

records

Optional
Copy URL
records: 

[RecordType]

The bound records

custom_data

Optional
Copy URL
custom_data: 

string

The custom data