ExternalLine Interface

Represents an external line.

Definition

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

Properties

AddressNumberOrData0 Additional address info field 0
(Inherited from DN)
AddressNumberOrData1 Additional address info field 1
(Inherited from DN)
AddressNumberOrData2 Additional address info field 2
(Inherited from DN)
AddressNumberOrData3 Additional address info field 3
(Inherited from DN)
AddressNumberOrData4 Additional address info field 4
(Inherited from DN)
AddressNumberOrData5 Additional address info field 5
(Inherited from DN)
AddressNumberOrData6 Additional address info field 6
(Inherited from DN)
AddressNumberOrData7 Additional address info field 7
(Inherited from DN)
AddressNumberOrData8 Additional address info field 8
(Inherited from DN)
AddressNumberOrData9 Additional address info field 9
(Inherited from DN)
AnswerAfter Determines the number of seconds to wait before answering an incoming call on this External Line.
AuthID The External Line's Authentication ID.
AuthPassword The External Line's Authentication Password.
BreakTimeRouteDN may support time based redirection of the incoming calls On break time, the calls will be sent to the destionation specified here. The default destionationis ProceedWithNoExceptions
(Inherited from DN)
BreakTimeRoutePrompt prompt for break time route
(Inherited from DN)
BreakTimeRoutePromptEnabled Break time route prompt playback enabled
(Inherited from DN)
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)
ContactImage This url can be used to get image of the specific contact
(Inherited from DN)
DialCodePrefix [For future use] This DN is dialcode prefix.
(Inherited from DN)
DIDNumbers List of DID Numbers associated with current line.
Direction The direction in which calls on this External Line can be made.
ExternalNumber The External Line's number.
Gateway The Gateway or VoIP Provider to which this External Line is connected.
GroupMembership The collection of GroupMember objects for all (Group) to which this DN belongs.
(Inherited from DN)
Groups The collection of administrative Groups (Group) to which this DN belongs.
(Inherited from DN)
Obsolete.
HasAttached Indicates that the object has attached data for saving transaction
(Inherited from IOMSnapshot)
HolidayInboundReferences Array of ExternalLineRule objects where this DN is referenced in HolidaysDestination
(Inherited from DN)
HolidaysActivity specifies activity of schedule during holidays
(Inherited from ICalendarHolder)
HolidaysRouteDN may support time based redirection of the incoming calls On holidays, the calls will be sent to the destionation specified here. The default destionationis ProceedWithNoExceptions
(Inherited from DN)
HolidaysRoutePrompt Prompt for Holiday route
(Inherited from DN)
HolidaysRoutePromptEnabled Holiday route prompt playback enabled
(Inherited from DN)
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)
InOfficeInboundReferences Array of ExternalLineRule objects where this DN is referenced in OfficeHoursDestination
(Inherited from DN)
IsRegistered cumulative registration status. true - if at least one device is registered false otherwise
(Inherited from DN)
Number The number (physical or virtual) associated with this DN entity. Effectivelly it is internal unique identifier of the entity
(Inherited from DN)
OfficeHoursRouteDN may support time based redirection of the incoming calls At office time, the calls will be sent to the destionation specified here. The default destionationis ProceedWithNoExceptions
(Inherited from DN)
OfficeHoursRoutePrompt Prompt for office route (when no handled)
(Inherited from DN)
OfficeHoursRoutePromptEnabled Pffice hours route prompt playback enabled
(Inherited from DN)
OutboundCallerID The External Line's Outbound Caller ID.
OutOfOfficeHoursRouteDN may support time based redirection of the incoming calls At out of office time, the calls will be sent to the destionation specified here. The default destionationis ProceedWithNoExceptions
(Inherited from DN)
OutOfOfficeHoursRoutePrompt Prompt for out of office route
(Inherited from DN)
OutOfOfficeHoursRoutePromptEnabled Out of office hours route prompt playback enabled
(Inherited from DN)
OutOfOfficeInboundReferences Array of ExternalLineRule objects where this DN is referenced in OutOfOfficeHoursDestination
(Inherited from DN)
PhoneBookEntries Collection of phone book entries attached to the DN
(Inherited from DN)
Properties Collection of the custom properties
(Inherited from DN)
QueueMembership DN participation as a queue agent
(Inherited from DN)
RemovePrefixOnDelivery [For future use] Only if DialCodePrefix == true, Call Manager must remove prefix when send a call to DN (or SendTo
(Inherited from DN)
RoutingRules The collection of routing rules for this line sorted by priority. read access:
returns the last assigned array of rules. Initial value is sorted by PriorityHint write access:
replace array of this snapshot. PriorityHint will be obsolete for all rules. replaced array will be stored and all rules will be provisioned with new PriorityHint value.
RoutingRulesSet the same as RoutingRules, but initial load does not perform any sorting
provides faster access in case if code is not sencitive to the priority ordering
SendTo [For future use] This entity is shortcut to another destination
(Inherited from DN)
SimultaneousCalls The maximum number of simultaneous calls on this line.
SystemDN If set to true,the DN is integral part of the system core. DN cannot be removed. Delete will fail.
(Inherited from DN)
TrunkRegTimes CallManger data provided as explanation of registration process. CAN BE NULL!
VoiceMailBox voice mail box information see VMBInformation
(Inherited from DN)

Methods

AppendRules return set of rules which can be used in AttachOnSave(IEnumerableIOMSnapshot)
should be used carefully because it requires to guarantee that ExternalLine will not be modified until commit therefore it must be exclusive over specific ExternalLine persisten object
this operation is not defined for new object and
updated rules must be saved first and in specified order new rules can be saved in any order but must be saved only once and AFTER the "updated" rules
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)
CreatePhoneBookEntry Creates a new PhoneBookEntry object attached to the DN (private phone book)
(Inherited from DN)
CreateRoutingRule Creates a new routing rule for this line.
Delete Delete object from configuration database.
(Inherited from IOMRemovable)
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)
DeleteProperty Removes property form list of DN properties. Changes are made to local cache. To store them into persistent storage, call Save method.
(Inherited from DN)
FindContacts Personal phonebook lookup. Returns array of contacts matching specified caller id as described in FindContacts(String, UInt32)
(Inherited from DN)
GetActiveConnections Returns a set of ActiveConnection objects currently assotiated to this DN
(Inherited from DN)
GetHashCode Hash code is "record" identifier. So all snapshots of the object has the same hash.
(Inherited from IOMSnapshot)
GetOutboundRules Old functionality has been removed.
Obsolete.
GetPhoneBookEntries Collection of phone book entries attached to the DN
(Inherited from DN)
GetProperties The collection of custom properties for this DN.
(Inherited from DN)
GetPropertyByName(String) Returns a particular DN property given its name from persistent storage, or if not found.
(Inherited from DN)
GetPropertyByName(String, Boolean) Returns a particular DN property given its name from persistent storage or from local cache, or if not found.
(Inherited from DN)
GetPropertyValue returns actual value of named property in snapshot. returns values which was modified using SetProperty/DeleteProperty
(Inherited from DN)
GetQueues The set of Queue to which this DN belongs.
(Inherited from DN)
GetRegistrarContacts Returns a set of contacts currently assotiated with this DN It is recommended to use GetRegistrarContactsEx which provides detailed information about all contacts associated with DN
(Inherited from DN)
GetRegistrarContactsEx Returns a set of RegistrarRecord currently assotiated with DN
(Inherited from DN)
GetRingGroups The set of RingGroup to which this DN belongs.
(Inherited from DN)
GetTenant Returns the Tenant to which this DN object belongs.
(Inherited from DN)
Refresh Reverts all modifications (if any) and reloads object from configuration/realtime storage
(Inherited from IOMStorable)
ResetPrimaryGroup Resets current primary group.
(Inherited from DN)
Save Commits the changes. This method inserts new or update existing object in persistent storage.
(Inherited from IOMStorable)
SetProperty(String, String) Adds new or updates existing property of DN, where PropertyType is String, and description is empty string. Changes are made to local cache. To store them into persistent storage, call Save method.
(Inherited from DN)
SetProperty(String, String, PropertyType, String) Adds new or updates existing property of DN. Changes are made to local cache. To store them into persistent storage, call Save method.
(Inherited from DN)
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

BargeInCallbackAsync Call barge-in from the specific Extension. All devices of the Extension will be called.
(Defined by CallControlAPI)
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)
GetTimeDestinationOverride providing full information about current time and time based routing destination for DN
(Defined by CommonRoutingExtensions)
IsBreak Is now the breaktime for dn?
(Defined by CommonRoutingExtensions)
IsHoliday Is dnTime at the holiday for dn?
(Defined by CommonRoutingExtensions)
IsOffice Is now the office time for dn?
(Defined by CommonRoutingExtensions)
IsOutOfOffice Is now the out of office time for dn?
(Defined by CommonRoutingExtensions)
MakeCallAsync
(Defined by CallControlAPI)
Now Obtaining current time of the DN
(Defined by CommonRoutingExtensions)
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)
PickupCallbackAsync Redirects replaces ringing replace_connection with the callback to the sendto device
(Defined by CallControlAPI)
RefreshRegistrationAsync Registration based Voipprovider trunk could be requested to refresh regustration
(Defined by CallControlAPI)
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)
ServiceCallAsyncServiceCallAsync(RegistrarRecord, RPCParameters)
(Defined by CallControlAPI)
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