The CallHistory Class
The CallHistory class provides configuration information about the maximum amount of sessions to store in the call history and the cleanup interval. All properties except the ‘Description’, which has key qualifier, can be read and written. Only one instance of the class CallHistory is available.
The configuration of call history properties applies to an anynode service and impacts systems beyond WMI.
CallHistory Class Properties
The table below lists the properties of the CallHistory class in alphabetical order. All properties except the Description are read write.
Some WMI queries are only available starting from anynode version 4.14.(Check out available WMI queries with the PowerShell command below).
To display all available contents of the System class locally without credentials, you can use the following command:
Get-WmiObject -Namespace "root\TESYSTEMS\anynode" -Class "System"
-Namespace "root\TESYSTEMS\anynode" : Specifies the WMI namespace
for anynode.
-Class "CallHistory" : Selects the "CallHistory" class to retrieve its contents.
Property: CleanupEnabled
Type: boolean
Description: Specifies whether the cleanup of the call history is enabled.
Property: CleanupInterval
Type: uint32
Description: Specifies the interval (in minutes) for checking whether the number of sessions
in the call history exceeds the configured maximum. The minimum value is 1, and the default is 1440 (once a day). If sessions
are removed, the AnynodeCallHistorySessionsRemovedEvent is signaled.
Property: DeleteFilesOlder
Type: uint32
Description: Specifies the number of days recorded files are retained.
Property: DeleteOlder
Type: uint32
Description: Specifies the number of days call history records are kept in the database.
Property: Description
Type: string
Description: Provides a symbolic description of the class.
Property: Enabled
Type: boolean
Description: Specifies whether writing records to the call history is enabled.
Property: MaxSessions
Type: uint32
Description: Specifies the maximum number of sessions to store in the call history database. The minimum value is 10,000, the default value is 500,000, and a value of zero indicates no limit.