Rate this page:

CallSessionInfo

Props

accountId

Copy URL
accountId: 

number

The account ID that initiates the JS session

applicationId

Copy URL
applicationId: 

number

The application ID that initiates the JS session

applicationName

Copy URL
applicationName: 

string

The application name

callSessionHistoryId

Copy URL
callSessionHistoryId: 

number

The unique JS session identifier

calls

Copy URL
calls: 

CallInfo[]

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

customData

Copy URL
customData: 

string

|

undefined

Custom data

duration

Copy URL
duration: 

number

|

undefined

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

finishReason

Copy URL
finishReason: 

string

|

undefined

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

initiatorAddress

Copy URL
initiatorAddress: 

string

The initiator IP address

logFileUrl

Copy URL
logFileUrl: 

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.

mediaServerAddress

Copy URL
mediaServerAddress: 

string

The media server IP address

otherResourceUsage

Copy URL
otherResourceUsage: 

ResourceUsage[]

Used resources

records

Copy URL
records: 

Record[]

Bound records

ruleName

Copy URL
ruleName: 

string

The routing rule name

startDate

Copy URL
startDate: 

Date

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

userId

Copy URL
userId: 

number

The user ID that initiates the JS session