Sets a state in which the agent is not ready to receive calls. The agent's telephone set is specified by the parameter dn; the ACD group into which the agent is logged is specified by the parameter queue.
|server||Local server handle to the T-Server in question.|
|queue||Directory number of the ACD group for which the agent is requested to be set to Not-Ready.|
|dn||Directory number of the phone set the agent uses to handle calls.|
|workmode||Work mode that is requested to be set for the agent. Refer to the type TAgentWorkMode.|
|reasons||A pointer to a data structure that provides additional information associated with this action.|
|extensions||A pointer to an additional data structure. TAgentSetNotReady() uses the following extension: ReasonCode.|
Standard (See standard-return-values.)
The basic status of unavailability set by the function itself may be further modified by the value of workmode.