Introducing Proactive Agents.
Learn more
Glossary

Session border controller

A session border controller (SBC) is a network element deployed at the boundary between SIP-based voice networks that controls, secures, and normalizes real-time communication sessions as they cross from one network domain into another.

Every inbound phone call to a contact center crosses at least one network border: from the public telephone network into the enterprise's private IP infrastructure. At that border, SIP dialects can differ, IP addresses need to be hidden, audio codecs may not match, and the inbound stream must be validated for authenticity before reaching any internal system. The SBC handles all of that mediation. As AI voice agents increasingly handle production call volume, the SBC becomes the first point in the call path where call quality, security policy, and compliance requirements are enforced before audio reaches the AI pipeline.

How a session border controller works

An SBC operates as a back-to-back user agent (B2BUA) as defined in IETF RFC 3261: it terminates the inbound SIP session completely, inspects and transforms both the signaling and the media, and then initiates a fresh outbound session toward the destination. This means the SBC has full visibility and control over every packet that makes up a call, which is what enables its core functions.

  • SIP normalization: Different carriers and PBX vendors implement SIP with minor variations. The SBC translates between those dialects so that, for example, a call arriving on a Twilio SIP trunk can connect cleanly to an internal voice gateway running Asterisk.
  • Security and topology hiding: The SBC masks internal IP addresses from external parties, protecting the network architecture from reconnaissance. It also enforces access control lists and rate limits to block denial-of-service attacks and toll fraud patterns.
  • Codec transcoding: A call arriving over the Public Switched Telephone Network (PSTN) typically carries G.711 audio. AI voice platforms often prefer Opus or G.722. The SBC transcodes between them in real time without the endpoints needing to negotiate a common codec.
  • STIR/SHAKEN: Outbound calls can be signed and inbound calls can be verified using the STIR/SHAKEN framework, a regulatory requirement in the United States intended to reduce spoofed caller ID.
  • Quality of Service (QoS): The SBC monitors per-session latency, jitter, and packet loss, and can apply traffic shaping to maintain acceptable latency levels on high-priority calls.

Why a session border controller matters for customer experience

In AI-assisted voice deployments, the call path from the PSTN to an AI engine involves multiple hops. Each hop is a potential source of audio degradation, security exposure, or protocol incompatibility. The SBC consolidates the resolution of those risks into a single well-monitored component, rather than distributing them across every application in the stack. When audio quality degrades, engineers can examine SBC-level QoS metrics before suspecting the ASR or the AI model, which narrows root-cause analysis significantly.

The SBC also shapes call volume before it reaches AI infrastructure. Call admission control (CAC) policies can cap concurrent sessions per trunk or per tenant, preventing a traffic surge from overwhelming the AI platform and degrading service for all callers. This is especially relevant during seasonal peaks in support volume.

Limitations are worth naming. SBCs add a processing hop that contributes latency, typically a few milliseconds, but it compounds with other latency sources in a real-time AI pipeline where total response delay is a user-perceptible metric. Misconfigured SBCs are also a common source of hard-to-diagnose one-way audio or dropped-call issues, and troubleshooting requires log access at both the SBC and the adjacent systems. Cloud-based telephony providers like Twilio embed SBC-equivalent functions in their edge network, so teams using fully managed SIP trunking may not need to operate their own SBC.

Session border controllers in AI voice deployments

For teams deploying conversational IVR or AI voice agents at scale, the standard architecture positions the SBC as the first component to receive inbound calls, followed by a media gateway, then the AI engine. The SBC's SIPREC (SIP Recording) capability allows call audio to be forked to a recording or analytics platform in parallel with the live AI session, enabling conversational analytics without adding latency to the live path. Enterprises evaluating SBC vendors commonly assess Oracle, Ribbon, and AudioCodes for on-premises deployments. For a comprehensive look at voice AI architecture, see the 10 principles of a production-grade voice AI agent from Decagon.

For a deeper dive, download Decagon's guide to agentic AI for customer experience.

Deliver the concierge experiences your customers deserve

Get a demo