The agentReady function
This function is used to set the agent state to Available. When the state is set to Available, the CSR receives calls from the call queue. The CSR must be logged in to at least one queue before this function is invoked.
To enable sending Available requests to the CTI server, implement the agentReady JavaScript function in your implementation layer.
This function uses the following parameters:
Parameters of the agentReady function
Parameter | Description |
agentId | The agent ID on the automatic call distributor (ACD) s a required parameter and is populated during the login request. |
workMode | The work mode status of the target CSR |
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 Agent state management functions Next topic The agentNotReady function