Rate this page:

CallSessionInfoType

The GetCallHistory function result item.

Fields

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

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

calls

Optional
Copy URL
calls: 

[CallInfoType]

Calls within the JS session, including durations, cost, phone numbers and other information

custom_data

Optional
Copy URL
custom_data: 

string

Custom data

duration

Optional
Copy URL
duration: 

number

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

finish_reason

Optional
Copy URL
finish_reason: 

string

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

initiator_address

Copy URL
initiator_address: 

string

The initiator 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. 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

Copy URL
media_server_address: 

string

The media server IP address

other_resource_usage

Optional
Copy URL
other_resource_usage: 

[ResourceUsageType]

Used resources

records

Optional
Copy URL
records: 

[RecordType]

Bound records

rule_name

Copy URL
rule_name: 

string

The routing rule name

start_date

Copy URL
start_date: 

timestamp

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

user_id

Copy URL
user_id: 

number

The user ID that initiates the JS session