Call queueing
Overview
When an agent or workspace reaches its concurrency limit, new calls are normally rejected immediately. With call queueing enabled, callers who arrive while the agent is at capacity are held on the line with hold audio and connected automatically, in the order they arrived, as soon as a slot frees up.
Call queueing is configured per agent and is turned off by default.
Call queueing applies once all available capacity is in use, including burst capacity when burst pricing is enabled for the agent.
How call queueing works
- Capacity check: When a call arrives, ElevenAgents checks whether the agent and the workspace have a free concurrency slot. If they do, the call connects immediately.
- Queueing: If no slot is available, the caller is held in the agent’s queue and hears hold audio. No conversation starts and nothing is charged while the caller waits.
- Admission: The moment a slot frees up, the caller at the front of the queue is connected and the conversation starts as usual.
- Timeout: If no slot frees up within the Max queue wait time, the call is disconnected. Telephony calls are hung up normally. WebSocket clients receive a
queue_statusevent with statustimed_out, followed by a close with code 4300.
Callers are connected strictly in arrival order for a given agent. When several agents share a workspace’s concurrency pool, callers who have waited longer are generally connected first.
What the caller hears
- Phone callers on Twilio and SIP trunk numbers hear the hold audio over the call.
- Widget and browser SDK users hear the hold audio in the browser. The widget (version 0.17.0 or later) also shows a waiting message and disables text input while queued.
- Direct WebSocket API clients receive the hold audio as regular
audioevents, plusqueue_statusevents to drive a waiting state in your own UI. See Handling queue events.
Billing and conversation duration
Time spent in the queue is not billed, does not count toward the agent’s Max conversation duration, and is not included in the conversation’s reported duration. The conversation details in the dashboard show how long the caller waited before being connected.
Supported channels
The daily call limit is not queued. A call that exceeds the agent’s daily limit is rejected immediately, because that limit does not free up until the next day.
Configuration
Call queueing is configured per agent in the Limits section of the agent’s Security tab.
Update via the dashboard
Update via the CLI
Update via the API
Managing hold audio through the API
Upload an MP3 or WAV file to set the agent’s custom hold audio. Uploading a new file replaces the previous one. The API accepts the audio/mpeg and audio/wav content types, so the examples set the type explicitly.
Remove the custom clip to return to the default hold tone:
The current clip is returned read-only as platform_settings.queueing_config.hold_audio on the agent. Sending hold_audio in an agent create or update request has no effect.
Handling queue events in a custom WebSocket client
Clients connected through the WebSocket API receive queue_status events while they are queued:
waitingis sent once, immediately afterconversation_initiation_metadataand before any hold audio.admittedis sent when the caller is connected. The conversation then proceeds as usual.timed_outis sent when the wait exceeds the max queue wait time. The server then closes the connection with code 4300.
Calls that connect immediately never receive queue_status events. The event is always sent to queued callers and does not need to be enabled in the agent’s client_events.
Hold audio is delivered as regular audio events in roughly one-second chunks, provided the agent’s client events include audio. Use queue_status to show a waiting state rather than treating the hold audio as agent speech.
The @elevenlabs/client and @elevenlabs/react SDKs do not expose a dedicated callback for this
event yet. Use the onIncomingEvent callback to observe raw server events, including
queue_status.
FAQ
Does a queued call count toward my concurrency limit?
No. A queued caller does not occupy a concurrency slot until they are connected to the agent.
Can callers hear their position in the queue or an estimated wait time?
Not currently. Queued callers hear the hold audio only. Queue position and wait-time estimates are not announced.
What happens if the caller hangs up while waiting?
The caller leaves the queue immediately and everyone behind them moves up one place. No conversation minutes are charged.
Does call queueing work with outbound calls?
No. Outbound and batch calls are only placed when capacity is available, so they are never queued.