The agentNotReady function
This function is used to set the agent state to Not Ready. When the state is Not Ready, the CSR does not receive calls from the call queue. The agent must be logged in to at least one queue before this function is invoked.
To enable sending Not Ready requests to the CTI server, implement the agentNotReady JavaScript function in your implementation layer.
This function uses the following parameters:
Parameters of the agentNotReady function
Parameter | Description |
agentID | The agent ID on the Automatic Call Distributor (ACD) is a required parameter and is populated during the login request |
workMode | The work mode status of the target CSR |
reasonCode | The reason code (string) value that is used when the agent logs out of the queue |
linkDefinition | The CTI link definition that is configured. You can save this parameter in a property that is available throughout a session |
options | The parameter that holds optional properties that are implementation-specific |
success | The callback function that is invoked on success |
failure | The callback function that is invoked on failure |
Previous topic The agentReady function Next topic Handling agent state events