The call-queue event name.
The callback invoked with the updated status.
Remove a previously registered call-queue update listener.
This client, for chaining.
callQueue.off('callQueue:updated', listener);
The call-queue event name.
The callback to remove.
Read the agent state and queue memberships for a line.
The queue settings or an error response.
const result = await callQueue.getCallQueueSettings();
Optional lineOwnerId: stringOptional secondary line owner ID; omit for the primary line.
Update the agent state or queue membership for a line.
The updated settings or an error response.
await callQueue.updateCallQueueSettings({agentACDState: 'AVAILABLE'});
The agent state and/or queue membership updates.
Optional lineOwnerId: stringOptional secondary line owner ID; omit for the primary line.
Optional prepare
Subscribe to a call-queue update event.
Returns
This client, for chaining.
Example