queueEnter
Place the call into a named queue. The caller waits in the queue until they are
dequeued by another operation (such as an agent picking up) or removed via
queueLeave().
This method emits calling.call.queue events. See Call Events for payload details.
Parameters
queueName
Name of the queue to enter.
controlId
Custom control ID. Auto-generated if not provided.
statusUrl
URL to receive queue status webhooks (position updates, dequeue events).
Returns
Promise<Record<string, unknown>> — Server response confirming the call entered the queue.