A back-to-back user agent (B2BUA) is a logical network element in
Session Initiation Protocol
The Session Initiation Protocol (SIP) is a signaling protocol used for initiating, maintaining, and terminating communication sessions that include voice, video and messaging applications. SIP is used in Internet telephony, in private IP telep ...
(SIP) applications.
[, ''SIP: Session Initiation Protocol'', IETF, The Internet Society (2002)] SIP is a signaling protocol for managing multimedia
Voice over Internet Protocol
Voice over Internet Protocol (VoIP), also called IP telephony, is a method and group of technologies for the delivery of voice communications and multimedia sessions over Internet Protocol (IP) networks, such as the Internet. The terms Internet ...
(VoIP) telephone calls. A back-to-back user agent operates between both end points of a communications session and divides the communication channel into two call legs, and mediates all SIP signaling between the endpoints of the session, from establishment to termination. As all control messages for each call flow through the B2BUA, a service provider may implement value-added features available during the call.
In the originating call leg, the B2BUA acts as a user agent server (UAS) and processes the request as a user agent client (UAC) to the destination end, handling the signaling between end points back-to-back. A B2BUA maintains complete state for the calls it handles. Each side of a B2BUA operates as a standard SIP
user agent
In computing, a user agent is any software, acting on behalf of a user, which "retrieves, renders and facilitates end-user interaction with Web content". A user agent is therefore a special kind of software agent.
Some prominent examples of u ...
network element as specified in .
In addition to call management, a B2BUA may provide billing services, internetworking for protocol conversions, and hiding of network-internal topology and information.
B2BUAs are often implemented in media gateways to bridge the media streams, in addition to the signaling path, for full control over the session.
A
signaling gateway
A signaling gateway is a network component responsible for transferring signaling
In signal processing, a signal is a function that conveys information about a phenomenon. Any quantity that can vary over space or time can be used as a signal ...
, part of a
session border controller
A session border controller (SBC) is a network element deployed to protect SIP based voice over Internet Protocol (VoIP) networks.
Early deployments of SBCs were focused on the borders between two service provider networks in a peering environme ...
, is an example of a B2BUA.
Call flow diagram
B2BUA
Alice Server Bob
, , , ,
, INVITE F1 , , ,
, ------------------->, , ,
, 100 Trying F2 , , ,
, <-------------------, , INVITE F3 ,
, , , ------------------->,
, , , 100 Trying F4 ,
, , , <-------------------,
, , , 180 Ringing F5 ,
, 180 Ringing F6 , , <-------------------,
, <-------------------, , ,
, , , 200 OK F7 ,
, 200 OK F8 , , <-------------------,
, <-------------------, , ACK F9 ,
, ACK F10 , , ------------------->,
, ------------------->, , ,
, RTP Media , , RTP Media ,
, <>, , <>,
, BYE F11 , , ,
, ------------------->, , BYE F12 ,
, 200 OK F13 , , ------------------->,
, <-------------------, , 200 OK F14 ,
, , , <-------------------,
, , , ,
See also
*
Real-time Transport Protocol
The Real-time Transport Protocol (RTP) is a network protocol for delivering audio and video over IP networks. RTP is used in communication and entertainment systems that involve streaming media, such as telephony, video teleconference applicati ...
References
{{reflist
Voice over IP
Telephony
cs:IMS
fr:IP Multimedia Subsystem
ru:B2BUA