Skip to content

How to size SIP trunk channels for a voice agent

Work out how many SIP trunk channels a voice agent needs from busy-hour calls, average duration and Erlang B, then check the result with real calls.

To size the channels on a SIP trunk for a voice agent, find the busiest hour, multiply the calls in that hour by the average call duration to get the traffic in Erlangs, and then pick enough channels that only a small share of calls (for example 1 in 100) finds every channel busy. On SIP.cr, one channel carries one simultaneous call, each trunk can have from 1 to 1,000 channels, and you can change that number from the portal or the API whenever your traffic changes.

This guide walks through the calculation, gives a reference table and explains how to check the result against real calls.

Why channel count matters for voice agents

A channel is one call in progress. If a trunk has 10 channels and an 11th call arrives while 10 are active, that call cannot be connected. For an inbound agent, the caller hears a busy signal or a failure instead of your agent. For an outbound campaign, the dialer gets rejected attempts that look like network problems.

Too many channels is the opposite problem: capacity you planned for but never use. The goal is a number that covers your real peak with a small, deliberate margin.

Step 1: collect three numbers

You need:

  1. Calls in the busiest hour. Not the daily total divided by 24. Voice agent traffic is uneven: a clinic's appointment line peaks when it opens, a delivery company's line peaks after dispatch.
  2. Average call duration, in minutes. In SIP.cr this is ACD (average call duration), available in the statistics view and through /api/v1/stats.
  3. The share of blocked calls you accept. A common target is 1% (one call in 100 finds all channels busy). For lines where a missed call has serious consequences, use 0.1%.

If the line is new and you have no history, estimate the busy hour from the line it replaces (an existing PBX, a call center report) and plan to correct the number after the first weeks.

Step 2: convert to Erlangs

An Erlang is one channel busy for one full hour. The formula is:

traffic (Erlangs) = calls in busy hour × average duration (minutes) ÷ 60

Example: 120 calls in the busiest hour with an average duration of 3 minutes is 120 × 3 ÷ 60 = 6 Erlangs. On average, six calls are active at the same time during that hour.

Six channels is not enough. Calls do not arrive evenly; some minutes bring several at once. With exactly 6 channels and 6 Erlangs of random traffic, about 1 call in 4 would be blocked.

Step 3: apply Erlang B

The Erlang B formula gives the probability that a call is blocked for a given traffic and number of channels. It assumes calls arrive at random and blocked calls are not queued, which matches a SIP trunk well.

The table below was calculated with Erlang B. Use it as a starting point:

Busy-hour callsAvg. durationTrafficChannels for 1% blockingChannels for 0.1% blocking
603 min3 E810
1203 min6 E1315
2004 min13.3 E2226
4003 min20 E3035
6004 min40 E5360

Two patterns stand out. Small lines need a large margin relative to their average traffic (6 Erlangs needs 13 channels at 1%). Large lines are more efficient (40 Erlangs needs 53). If your numbers fall between rows, calculate them; Erlang B fits in a few lines of code:

def erlang_b(traffic, channels):
    b = 1.0
    for k in range(1, channels + 1):
        b = traffic * b / (k + traffic * b)
    return b

def channels_needed(traffic, target=0.01):
    n = 1
    while erlang_b(traffic, n) > target:
        n += 1
    return n

print(channels_needed(120 * 3 / 60))  # 13

Step 4: adjust for how voice agents behave

Erlang B is the base. Voice agent traffic has a few differences worth planning for.

Inbound agents

  • Agents answer immediately. Unlike a human team, an AI agent does not leave callers on hold in a queue, so every arriving call needs a free channel at that moment. Erlang B (no queue) is the right model.
  • Transfers can hold a channel longer. If the agent hands some calls to a person, the call may stay up during the transfer and the conversation that follows. Use the full call duration from the call records, not the length of the agent's part.
  • Peaks are short. A radio ad, a campaign email or a service outage can multiply calls for 15 minutes. If you know these events in advance, raise channels before them and lower them afterward.

Outbound agents

  • The dialer sets the concurrency. Outbound traffic is not random: your platform or dialer decides how many calls to place at once. Set the trunk's channels at or above that setting, not from an Erlang table.
  • Unanswered attempts still take time. A call that rings for 30 seconds and is not answered still occupied capacity while it was being set up and ringing. With low answer rates, ringing time can be a large share of the total. Plan from total attempt time, not only from talk time.
  • Check the platform limit too. Agent platforms have their own concurrency limits per account or plan. The lower of the two (trunk channels or platform limit) is your real capacity. The integration guides for ElevenLabs, Vapi, Retell AI and Synthflow link to each vendor's own documentation.

Inbound and outbound on the same number

If an agent both receives calls and runs outbound campaigns, add the outbound concurrency to the inbound channel count, or put them on separate trunks. SIP.cr lets you use several trunks for different agents or platforms in one account, which keeps a campaign from consuming the channels your inbound line depends on.

Step 5: verify with real calls

After launch, compare the plan with what the call records show:

What you seeWhat it suggestsWhat to do
ASR drops at the same hour every dayCalls are being rejected at peakRead the hangup causes for that hour and raise channels if they point to capacity
ACD much longer than you assumedTraffic is higher than plannedRecalculate Erlangs with the measured ACD
Failures only during campaignsOutbound is using inbound capacityLower dialer concurrency or move the campaign to its own trunk
Peak never comes close to the channel countOver-sized trunkLower the channels after a few weeks of steady data

SIP.cr explains each hangup cause in plain words, which helps you tell a capacity problem apart from an authentication or routing one. The statistics give you answer rate (ASR), average duration (ACD) and call volume.

You can also automate this review. The REST API exposes /api/v1/stats and /api/v1/calls, and a trunk's channels can be changed through /api/v1/trunks. The MCP server at https://sip.cr/mcp lets a coding agent in Claude Code, Cursor or VS Code read call statistics with tools such as get_call_stats and get_stats_summary, so you can ask it to find the busiest hour of last week and its average duration.

Step 6: plan for failover

Channel count covers volume. It does not cover a trunk or platform that stops answering. Trunk groups in SIP.cr apply ordered failover for inbound calls: if you place two trunks in a group, calls go to the first and fall back to the next. If you use a second trunk as backup, give it enough channels to carry the peak on its own, because during a failover it receives all the traffic.

A short checklist

  1. Measure calls in the busiest hour and the average duration (ACD).
  2. Convert to Erlangs: calls × minutes ÷ 60.
  3. Pick channels with Erlang B for your blocking target (1% or 0.1%).
  4. For outbound, set channels at or above the dialer's concurrency and include ringing time.
  5. Check the agent platform's own concurrency limit.
  6. Separate inbound and outbound traffic if a campaign could fill the trunk.
  7. Review ASR, ACD and hangup causes after the first weeks and adjust channels from the portal or API.

To change channels or read call statistics from your own code or coding agent, see the API and MCP server guide at /api-mcp.

More articles

Reviewed, then live

Put your AI voice agent on the phone network.

Create the account today. Once our team approves it and you add a payment method, your first trunk and number take a few minutes.

Create account Talk to sales