A Taxonomy of Session Initiation Protocol (SIP) Back-to-Back User Agents

Haim Kaplan, V. Pascual2013 · DOI

TL;DR

This paper tackles the growing complexity of Session Initiation Protocol (SIP) deployments by introducing a much-needed taxonomy for Back-to-Back User Agents (B2BUAs). By categorizing B2BUAs based on their signaling and media plane involvement, it provides a common language for understanding and referencing these crucial network components.

What Problem Does This Paper Address?

The Session Initiation Protocol (SIP) is the backbone of modern Voice over IP (VoIP) and real-time communication systems. As these systems have evolved, so have the network elements that handle SIP signaling. While the original SIP standard (RFC 3261) defined a "Back-to-Back User Agent" (B2BUA) as a logical combination of a User Agent Server (UAS) and a User Agent Client (UAC), the reality of deployments has become far more nuanced. Many devices, such as IP Private Branch Exchanges (IPBXs), Session Border Controllers (SBCs), and Application Servers (ASs), operate in ways that extend beyond the basic B2BUA definition, performing diverse functions within the SIP signaling path. This ambiguity makes it difficult to consistently describe, compare, and build upon these components. This paper aims to resolve this by providing a clear and structured classification of B2BUA roles.

Methods

The paper's primary method is classification and definition. It starts by defining key terms like B2BUA, UAS, and UAC based on existing RFCs. The core of the paper is the development of a taxonomy that categorizes B2BUAs into two main groups:

  1. Signaling Plane B2BUA Roles: These B2BUAs operate solely within the SIP signaling path, without directly handling media. This category is further broken down into:
  2. Proxy-B2BUA: Behaves like a SIP proxy but maintains dialog state to generate its own SIP messages (e.g., sending BYEs for dead sessions). It adheres to standard proxy header manipulation rules.
  3. Signaling-only B2BUA: Operates beyond standard proxy behavior, potentially modifying headers like To, From, or Contact, and can inspect or modify MIME bodies.
  4. SDP-Modifying Signaling-only B2BUA: Similar to signaling-only, but specifically modifies Session Description Protocol (SDP) bodies, understanding SDP syntax and semantics, even though it's not in the media path.
  5. Signaling/Media Plane B2BUA Roles: These B2BUAs are involved in both SIP signaling and the media path. This category includes:
  6. Media Relay: Terminates media at the transport layer (UDP/TCP) but transparently copies payload between sides, similar to NAT behavior.
  7. Media Aware: Similar to a media relay, but it inspects and can modify the payload (e.g., RTP/RTCP headers), but not at the codec level.
  8. Media Termination: Operates at the media payload layer (e.g., RTP/RTCP codec, MSRP), handling specific media types or converting between codecs.

The paper then maps common SIP device types (PBXs, SBCs, ASs, etc.) to these defined B2BUA roles, illustrating how these devices typically function within the taxonomy.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • The B2BUA is More Than Just a Proxy: The paper highlights that many network elements, while appearing as proxies, are actually B2BUAs due to their stateful handling of dialogs and ability to generate SIP messages independently.
  • Signaling vs. Media Plane is Crucial: The distinction between B2BUAs that only touch signaling and those that also handle media is a fundamental differentiator, impacting their complexity and function.
  • A Unified Language is Needed: The lack of a standardized taxonomy for B2BUAs leads to confusion. This paper provides that much-needed common vocabulary, enabling clearer communication and interoperability.
  • Device Types Map to Roles, Not Vice Versa: The paper emphasizes that a specific device (like an SBC) can adopt different B2BUA roles depending on its configuration and the session's needs, rather than being strictly defined by a single role.
  • Security Implications: The paper touches upon security considerations, noting that B2BUAs can be points of attack, can impede end-to-end encryption, and impact message integrity due to their ability to modify SIP messages.

Key Results

The paper's main result is the establishment of a clear, hierarchical taxonomy for SIP B2BUA roles. It defines and categorizes these roles, providing a framework that can be used by other documents and the broader SIP community. The paper also offers a mapping of common SIP device types to these roles, helping to demystify the functions of devices like SBCs and Application Servers.

Limitations and Future Work

The authors acknowledge that this taxonomy is for informational purposes and not an Internet Standards Track specification. They note that the classification refers to B2BUA roles, not specific system types, as a single system can adopt different roles. The paper also points out that security considerations are specific to each B2BUA type, and further analysis is required for each design. Future work could involve further refinement of these categories or the development of more detailed sub-roles within the existing taxonomy. The paper also implicitly suggests that a deeper dive into the security implications for each B2BUA role would be beneficial.

Summary updated

Abstract

In many SIP deployments, SIP entities exist in the SIP signaling path between the originating and final terminating endpoints, which go beyond the definition of a SIP proxy, performing functions not defined in Standards Track RFCs. The only term for such devices provided in RFC 3261 is for a Back-to-Back User Agent (B2BUA), which is defined as the logical concatenation of a SIP User Agent Server (UAS) and User Agent Client (UAC). There are numerous types of SIP B2BUAs performing different roles in different ways; for example, IP Private Branch Exchanges (IPBXs), Session Border Controllers (SBCs), and Application Servers (ASs). This document identifies several common B2BUA roles in order to provide taxonomy other documents can use and reference.
BibTeX
@misc{kaplan2013taxonomy,
  author = {Haim Kaplan and V. Pascual},
  title = {{A Taxonomy of Session Initiation Protocol (SIP) Back-to-Back User Agents}},
  year = {2013},
  doi = {10.17487/rfc7092},
}

Loading related content...

Figure