Rate this page:

CallSessionInfo

Props

accountId

Copy URL
accountId: 

number

Account ID that initiates the JS session

applicationId

Copy URL
applicationId: 

number

Application ID that initiates the JS session

applicationName

Copy URL
applicationName: 

string

Application name

audioQuality

Copy URL
audioQuality: 

string

Call's audio quality. The possible values are: Standard | HD | Ultra HD.

callSessionHistoryId

Copy URL
callSessionHistoryId: 

number

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

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

Initiator's IP address

logFileUrl

Copy URL
logFileUrl: 

string

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

Media server IP address

otherResourceUsage

Copy URL
otherResourceUsage: 

ResourceUsage[]

Used resources

records

Copy URL
records: 

Record[]

Bound records

ruleName

Copy URL
ruleName: 

string

Routing rule name

startDate

Copy URL
startDate: 

Date

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

userId

Copy URL
userId: 

number

User ID that initiates the JS session