ExternalLineRule Interface

Represents a forwarding rule, including the conditions and the destination.

Definition

Namespace: TCX.Configuration
Assembly: 3cxpscomcpp2 (in 3cxpscomcpp2.dll) Version: 20.0.1
C#
public interface ExternalLineRule : IOMSnapshot, 
	IEquatable<Object>, ICalendarHolder, IDisposable
Implements
IDisposable, IEquatableObject, ICalendarHolder, IOMSnapshot

Properties

CalendarHours Object which represent CalendarHoursType
(Inherited from ICalendarHolder)
CalendarHoursType Schedule hours can be changed without modification of the hours set. We don't need to update set of hours ranges each time when we update type of schedule
(Inherited from ICalendarHolder)
Conditions The three types of conditions that must be met for the rule to apply.
CustomData Custom data.
Data Specific to particular rule's condition, e.g. set of DID numbers to match inbound call, e.g. Caller ID (depends on value of Condition.
ForwardDestinations The destination where the call should be forwarded. DIDDestination
HasAttached Indicates that the object has attached data for saving transaction
(Inherited from IOMSnapshot)
HolidaysActivity specifies activity of schedule during holidays
(Inherited from ICalendarHolder)
Hours Time schedule of when object is active. Interpretation of this data depends on the type of object. It can be OfficeTime, the time when specific routing rule is active etc.
(Inherited from ICalendarHolder)
ID each object has unique ID. It is the same as the value returned by GetHashCode. (legacy) new object has ID=0. After successful call to save snapshot gets persistent ID.
(Inherited from IOMSnapshot)
Line The ExternalLine where this inbound rule is defined. In case if InboundRule is returned by other object, external line reference can be taken from here.
PriorityHint The priority currently stored for this rule
See RoutingRules and RoutingRulesSet for details PriorityHint is managed by saving procedure of ExternalLine and cannot be mofified by user code
RuleName Name of rule. in case if rule has DID type this name can be used to override caller ID

Methods

AttachOnSave(IEnumerableIOMSnapshot) This method allows to add other object updates to the main object saving transaction
(Inherited from IOMSnapshot)
AttachOnSave(IOMSnapshot) This method allows to add other object updates to the saving transaction of main object
(Inherited from IOMSnapshot)
Clone Makes fresh snapshot of the object without modifications
(Inherited from IOMSnapshot)
DeleteOnSave(IEnumerableIOMSnapshot) Allows to remove other objects as a part of the main object saving transaction.
(Inherited from IOMSnapshot)
DeleteOnSave(IOMSnapshot) Allows to remove other objects as a part of the main object saving transaction.
(Inherited from IOMSnapshot)
GetHashCode Hash code is "record" identifier. So all snapshots of the object has the same hash.
(Inherited from IOMSnapshot)
ToString Brief description of object in term of Object model. default implementation is ToString. Concrete implementation may be more verbose.
(Inherited from IOMSnapshot)

Extension Methods

Deserialize deserializes object and remenber repeatlist. object can be saved
(Defined by SerializationExtension)
GetSerializableProperties Returns list of properties which are require serialization
(Defined by SerializationExtension)
OMDelete Apply update of the specific snapshot. virtually any object may be updated even those which are not supporting IOMStorable interface.
(Defined by CollectionTransactionsHelper)
OMSave Apply update of the specific snapshot. virtually any object may be updated even those which are not supporting IOMStorable interface.
(Defined by CollectionTransactionsHelper)
SerializeObject Deserializer for IOMSnapshot
(Defined by SerializationExtension)
SerializeProperty returns false if there are no enough information at the moment and it should be repeated after after all objects will be restored. Typical case is forward reference to the DN object.
(Defined by SerializationExtension)
TryDeserializeProperty returns false if there are no enough information at the moment and it should be repeated after after all objects will be restored. Typical case is forward reference to the DN object.
(Defined by SerializationExtension)

See Also