Sets a state in which the agent is ready to receive calls. The agent's phone 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 Ready.|
|dn||Directory number of the telephone 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. TAgentSetReady() uses the following extension: ReasonCode.|
The basic status of availability (that is, the status at login time) set by the function itself may be further modified by the value of workmode.