PhoneSystemRoot Property

singleton of PhoneSystem
[deprecated]: Applications must access to the object model using this property
[Updated in 4.0]:Object model should be initialized explicitrly using Reset(String, String, Int32, String, String, NotificationEventHandler, NotificationEventHandler, NotificationEventHandler) Application still can use this property to prevent access to phone system when connection with configuration server is broken
Application can track connection with configuration server using Updated/Inserted/Deleted events. ObjectModel delivers "CFGSERVER" event when configuration server connection is established (Inserted), chechged(Updated) or closed (Deleted). When configuration server becomes "Deleted" access to the data is limited.

Definition

Namespace: TCX.Configuration
Assembly: 3cxpscomcpp2 (in 3cxpscomcpp2.dll) Version: 20.0.1
C#
public static PhoneSystem Root { get; }

Property Value

PhoneSystem

Remarks

[deprecated]: Access to this property verifies connection to configuration service.

[deprecated]If connection is not established or information provided by ApplicationName,CfgServerPassword, CfgServerUser, CfgServerPort and CfgServerHost is changed then Object model replaces existing (creates new) connection to configuration service and cleanup the data cache.
Updated in 4.0: Application should explicitly reset connection using Reset(String, String, Int32, String, String, NotificationEventHandler, NotificationEventHandler, NotificationEventHandler) method

In case if connection is not available it generates PhoneSystemException with message "Config server is not connected"

See Also