FwdProfileGetCurrentDestination(DateTime, RuleCallTypeType, Schedule, RuleConditionType) Method

calculates current destination bading on requested office hours schecdule.

Definition

Namespace: TCX.Configuration
Assembly: 3cxpscomcpp2 (in 3cxpscomcpp2.dll) Version: 20.0.1
C#
Destination GetCurrentDestination(
	DateTime now,
	RuleCallTypeType ct,
	Schedule[] officehours,
	RuleConditionType rc
)

Parameters

now  DateTime
local time of extension
ct  RuleCallTypeType
call type
officehours  Schedule
inheritance of the extension office hours.
rc  RuleConditionType
Diversion type

Return Value

Destination
Destination object. If deiversuin type is not defined for this profile method returns null

See Also