Andrew Prokop
Andrew Prokop has been heavily involved in the world of communications since the early 1980s. He holds five United States...
Read Full Bio >>

Andrew Prokop | March 30, 2015 |


Call Recording with SIP

Call Recording with SIP Session Initiation Protocol Recording, or SIPREC for short, defines the architecture, associated call flows, and metadata that can be used for call recording.

Session Initiation Protocol Recording, or SIPREC for short, defines the architecture, associated call flows, and metadata that can be used for call recording.

"This call may be recorded for quality assurance."

Call into nearly any contact center on the face of the earth and you are going to hear that message. Companies use call recording for any number of purposes. Some, like financial institutions, are required by law to record certain transactions between their customers and employees. Others use call recording to improve agent performance and increase customer satisfaction. No matter what the reason, recording inbound and outbound calls is expected for most customer care interactions.

I began my career well before SIP and remember trunk-side recording with TDM taps. These taps were devices that split a T1 into two links. One went to the PBX and the other to a call recorder. They were effective, but required a tapping device for every T1 line.

With the advent of SIP, we are able to move away from T1s and their channelized DS1s and DS0s to a network connection where the number of trunks is limited only by the amount of available bandwidth.

Tapping into a dedicated line is no longer an option with SIP. Ethernet and MPLS are not physical mediums that lend themselves to hardware taps. We need a new way to perform trunk-side recording.

As with many questions related to SIP, the answer is the Session Border Controller. It is, after all, the device that sits between the carrier and your enterprise. Can you think of a better place to "tap" into a SIP call and simultaneously send it to a call recorder and your communications system? I can't.

To help the SBC with the job of call recording, the IETF (Internet Engineering Task Force – the folks who manage SIP and many of the Internet protocols) came up with a framework that manufacturers of SBCs and call recorders can follow. Session Initiation Protocol Recording, or SIPREC for short (RFC 6341), defines the architecture, associated call flows, and metadata that can be used for call recording.

SIPREC identifies two players involved in call recording – the Session Recording Client (SRC) and the Session Recording Server (SRS). Although SIPREC doesn't limit the SRC and SRS to specific entity types, for the purposes of trunk-side recording, it is safe to say that the SRC is an SBC and the SRS is a call recording platform such as one provided by Verint or Nice.


There are no new SIP message types to support SIPREC. SIPREC utilizes common messages such as INVITE and BYE. The big change lies within the message body of those INVITE and BYE messages. As is expected with all SIP call flows, Session Description Protocol (SDP) describes the session's media (e.g. G.711 or G.729).

In addition to SDP, the message body of a SIPREC INVITE contains a second part. In SIP parlance, this is known as a multipart MIME message body. The first part of the message body is SDP and the second part contains SIPREC metadata. This metadata is used to convey information that is specific to the process of call recording.

The metadata of a SIPREC INVITE is formatted as XML. This means that there will be tags that define the start of a section of data and tags that define the end of a section of data. For example, a participant might be encoded as follows:

<participant> participant_id="srfBElmCRp2QB23b7Mpk0w=="> <nameID> <name xml:lang="it">Bob B</name> </nameID> </participant>

A SIPREC INVITE will typically contain information about both participants in a call and descriptors for the recording session. A SIPREC BYE will contain similar metadata to stop and archive the recording.

SBC Engineering
I think about buying an SBC the same way I think about buying a car. I drive a Toyota Prius and although I am very happy with my choice, I know plenty of people who have no interest in owning one. For me, fuel efficiency and reliability top luxury and sportiness. That doesn't make me right and anyone who buys a Cadillac Escalade or Mini Cooper wrong. Different priorities lead to different choices and depending on the person and his or her requirements, the right choice will vary.

That's why I don't have a back pocket SBC that I recommend in all cases. While every product on the market supports the minimum requirements for an SBC, there are a number of factors that must be considered before zeroing in on one.

In terms of call recording and SIPREC, I start with three questions:

First, does the SBC support SIPREC? While this may seem like a silly question, not every SBC does, and until you read this article, you may not even have known to ask for it.

Off the top of my head, I am aware of SIPREC support from Oracle Acme Packet, Sonus, AudioCodes, and most recently Avaya. There are most likely others, but you will need to do your own homework before buying from another vendor.

Second, once you are sure that the SBC you are interested in supports SIPREC, you must determine if it works with your call recording platform. Ask to see the implementation notes. Like all things SIP, there are different interpretations and levels of support for SIPREC. Don't get stuck with an unsupported configuration.

Lastly, those media streams between the SBC and the call recording server use bandwidth. In nearly every case, you will have a minimum of two media streams for every recorded call. So, even though an SBC supports SIPREC, you need to make sure that it can handle the number of simultaneous G.711/G.729 calls you want to record. This may force you to move from an SBC with 1gig interfaces to one with 10gig interfaces. The important thing is that you do the math before making a purchase.

From Trunk Side to Line Side
So far, everything I have written about is for trunk side recording, but what if you want to do line side recording? A session border controller can make a difference here, too, although the concept of "border" disappears. Avaya is positioning its SBC to not only sit on an enterprise's network border, but within the network itself. All internal SIP telephones will send their traffic through the SBC, which can then record station-to-station calls.

I expect to see this SBC repositioning adopted by other SBC vendors as they expand their roles as security devices.

Mischief Managed
I hope this helps and wasn't too technical. Call recording is a very expensive proposition, and it's essential that you walk into any decision armed with enough information to make an intelligent decision. Ask questions of your vendors and make sure they are selling you the solution that makes sense for your enterprise.

Andrew Prokop writes about all things unified communications on his popular blog, SIP Adventures.

Follow Andrew Prokop on Twitter and LinkedIn!


Andrew Prokop on LinkedIn


March 7, 2018

Video collaboration is experiencing significant change and innovation-how can your enterprise take advantage? In this webinar, leading industry analyst Ira Weinstein will present detailed analysis

February 21, 2018

Business agility has become the strongest driver for enterprises to begin migrating their communications to the cloud-and its a benefit that enterprises are already realizing. To gain this benefit

February 7, 2018

Enterprises are starting to grasp the critical importance of security and compliance in their team collaboration deployments. And once the risks are mitigated, your enterprise can integrate these n

March 12, 2018
An effective E-911 implementation doesn't just happen; it takes a solid strategy. Tune in for tips from IT expert Irwin Lazar, of Nemertes Research.
March 9, 2018
IT consultant Steve Leaden lays out the whys and how-tos of getting the green light for your convergence strategy.
March 7, 2018
In advance of his speech tech tutorial at EC18, communications analyst Jon Arnold explores what voice means in a post-PBX world.
February 28, 2018
Voice engagement isn't about a simple phone call any longer, but rather a conversational experience that crosses from one channel to the next, as Daniel Hong, a VP and research director with Forrester....
February 16, 2018
What trends and technologies should you be up on for your contact center? Sheila McGee-Smith, Contact Center & Customer Experience track chair for Enterprise Connect 2018, gives us the lowdown.
February 9, 2018
Melanie Turek, VP of connected work research at Frost & Sullivan, walks us through key components -- and sticking points -- of customer-oriented digital transformation projects.
February 2, 2018
UC consultant Marty Parker has crunched lots of numbers evaluating UC options; tune in for what he's learned and tips for your own analysis.
January 26, 2018
Don't miss out on the fun! Organizer Alan Quayle shares details of his pre-Enterprise Connect hackathon, TADHack-mini '18, showcasing programmable communications.
December 20, 2017
Kevin Kieller, partner with enableUC, provides advice on how to move forward with your Skype for Business and Teams deployments.
December 20, 2017
Zeus Kerravala, principal analyst with ZK Research, shares his perspective on artificial intelligence and the future of team collaboration.
December 20, 2017
Delanda Coleman, Microsoft senior marketing manager, explains the Teams vision and shares use case examples.
November 30, 2017
With a ruling on the FCC's proposed order to dismantle the Open Internet Order expected this month, communications technology attorney Martha Buyer walks us through what's at stake.
October 23, 2017
Wondering which Office 365 collaboration tool to use when? Get quick pointers from CBT Nuggets instructor Simona Millham.
September 22, 2017
In this podcast, we explore the future of work with Robert Brown, AVP of the Cognizant Center for the Future of Work, who helps us answer the question, "What do we do when machines do everything?"
September 8, 2017
Greg Collins, a technology analyst and strategist with Exact Ventures, delivers a status report on 5G implementation plans and tells enterprises why they shouldn't wait to move ahead on potential use ....
August 25, 2017
Find out what business considerations are driving the SIP trunking market today, and learn a bit about how satisfied enterprises are with their providers. We talk with John Malone, president of The Ea....
August 16, 2017
World Vision U.S. is finding lots of goodness in RingCentral's cloud communications service, but as Randy Boyd, infrastructure architect at the global humanitarian nonprofit, tells us, he and his team....
August 11, 2017
Alicia Gee, director of unified communications at Sutter Physician Services, oversees the technical team supporting a 1,000-agent contact center running on Genesys PureConnect. She catches us up on th....
August 4, 2017
Andrew Prokop, communications evangelist with Arrow Systems Integration, has lately been working on integrating enterprise communications into Internet of Things ecosystems. He shares examples and off....
July 27, 2017
Industry watcher Elka Popova, a Frost & Sullivan program director, shares her perspective on this acquisition, discussing Mitel's market positioning, why the move makes sense, and more.
July 14, 2017
Lantre Barr, founder and CEO of Blacc Spot Media, urges any enterprise that's been on the fence about integrating real-time communications into business workflows to jump off and get started. Tune and....
June 28, 2017
Communications expert Tsahi Levent-Levi, author of the popular blog, keeps a running tally and comprehensive overview of communications platform-as-a-service offerings in his "Choosing a W....
June 9, 2017
If you think telecom expense management applies to nothing more than business phone lines, think again. Hyoun Park, founder and principal investigator with technology advisory Amalgam Insights, tells ....
June 2, 2017
Enterprises strategizing on mobility today, including for internal collaboration, don't have the luxury of learning as they go. Tony Rizzo, enterprise mobility specialist with Blue Hill Research, expl....
May 24, 2017
Mark Winther, head of IDC's global telecom consulting practice, gives us his take on how CPaaS providers evolve beyond the basic building blocks and address maturing enterprise needs.
May 18, 2017
Diane Myers, senior research director at IHS Markit, walks us through her 2017 UC-as-a-service report... and shares what might be to come in 2018.
April 28, 2017
Change isn't easy, but it is necessary. Tune in for advice and perspective from Zeus Kerravala, co-author of a "Digital Transformation for Dummies" special edition.
April 20, 2017
Robin Gareiss, president of Nemertes Research, shares insight gleaned from the firm's 12th annual UCC Total Cost of Operations study.
March 23, 2017
Tim Banting, of Current Analysis, gives us a peek into what the next three years will bring in advance of his Enterprise Connect session exploring the question: Will there be a new model for enterpris....
March 15, 2017
Andrew Prokop, communications evangelist with Arrow Systems Integration, discusses the evolving role of the all-important session border controller.
March 9, 2017
Organizer Alan Quayle gives us the lowdown on programmable communications and all you need to know about participating in this pre-Enterprise Connect hackathon.
March 3, 2017
From protecting against new vulnerabilities to keeping security assessments up to date, security consultant Mark Collier shares tips on how best to protect your UC systems.
February 24, 2017
UC analyst Blair Pleasant sorts through the myriad cloud architectural models underlying UCaaS and CCaaS offerings, and explains why knowing the differences matter.
February 17, 2017
From the most basics of basics to the hidden gotchas, UC consultant Melissa Swartz helps demystify the complex world of SIP trunking.
February 7, 2017
UC&C consultant Kevin Kieller, a partner at enableUC, shares pointers for making the right architectural choices for your Skype for Business deployment.
February 1, 2017
Elka Popova, a Frost & Sullivan program director, shares a status report on the UCaaS market today and offers her perspective on what large enterprises need before committing to UC in the cloud.
January 26, 2017
Andrew Davis, co-founder of Wainhouse Research and chair of the Video track at Enterprise Connect 2017, sorts through the myriad cloud video service options and shares how to tell if your choice is en....
January 23, 2017
Sheila McGee-Smith, Contact Center/Customer Experience track chair for Enterprise Connect 2017, tells us what we need to know about the role cloud software is playing in contact centers today.