enqueueACDRequest
enqueueACDRequest(queueName: string
, callerid: string
, parameters: ):
Adds a new request to the specified queue. The request is dispatched to the free agent according to the agent's status (must be "Ready") and skills.
Add the following line to your scenario code to use the function:
require(Modules.ACD);
Parameters
queueName:
string
The name of the queue, to where the call is directed. Queue name must be specified exactly as in the control panel
callerid:
string
ID of the caller which is put to the queue. After request is dispatched to the agent, it is possible to get this ID by assigning a handler to the ACDEvents.OperatorReached event. The call is stored in the operatorCall property, so you can use the Call.callerid() method. IMPORTANT: virtual numbers rented from Voximplant cannot be used as CallerID, use only real numbers
parameters:
OptionalOptional. ACD request parameters
Returns
type: