Session.SessionState Property
The SessionState property retrieves the state of the current call.
Syntax
[ sState = ] Session.SessionState
Possible Values
- sState
- String specifying the state. Possible values of this string include:
- "Answer Pending" (offering)
- The call was offered to an application, but the application has not yet answered.
- "Connected"
- The call was connected.
- "Disconnected"
- The call was disconnected.
- "Call Transferred"
- The call was transferred as a result of the caller pressing the operator key.
- "Disconnected - Rendering Error"
- A rendering error caused the call to be disconnected.
- "Disconnected - Recurring Error"
- A recurring error on the part of the caller caused the call to be disconnected.
- "Disconnected - Rendering Complete"
- The call disconnected because WTE finished rendered all HTML pages of the application.
This property is read-only.
Remarks
The last four values are possible only while WTE is processing the post-call page of the application.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in Mswtecom.idl and Mswtecom.h.
Library: Use Mswtecom.lib.
See Also
Session