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 | May 23, 2016 |


Calculating Bandwidth for SIP Trunks Made Easy

Calculating Bandwidth for SIP Trunks Made Easy Take the guesswork out your SIP bandwidth requirements with these tips.

Take the guesswork out your SIP bandwidth requirements with these tips.

    Everything that is beautiful and noble is the product of reason and calculation.

    -- Charles Baudelaire

Ever since the dawn of the PBX, businesses have had to calculate their estimated telephone usage in order to determine how many trunks they would need coming into and out of their buildings. In the case of TDM, these trunks were either analog circuits or digital T1s -- i.e., physical infrastructure.

With SIP, we are more concerned with bandwidth than physical trunks. Of course, bandwidth has to be delivered on something, but VoIP provides far more flexibility than traditional trunks. When using a T1 for a TDM trunk, the maximum number of calls is limited to the number of DS0 circuits within that T1. Since one T1 has 24 DS0s, then 24 is the maximum number of TDM calls on a T1. However, turn that T1 over to data, and the number of DS0s are no longer the deciding factor. Depending on the codec, you can have upwards of 40 VoIP calls on that same T1.

Agner Krarup Erlang

However, before you even think about bandwidth you need to determine how many simultaneous calls you need to support at any given point in time. This includes deciding how often you are willing to have a caller receive a busy signal or "all circuits are in use" tone. For that we turn to a 90-year-old telephony measurement called the Erlang -- named for the Danish mathematician Agner Krarup Erlang.

Do the Math
Some people thrive on calculating Erlangs by hand and, more specifically, running Erlang B and Erlang C calculations, but I am not one of them. I would much rather use a prepackaged tool like the ones found here.

If you clicked on any of the calculators in the above link (Erlang B being the most appropriate for this activity) you will have noticed two things that I haven't yet mentioned. The first is busy hour traffic (BHT). BHT is the call traffic during the busiest hour of operation. It's also called the Erlang load. BHT is calculated as follows:

BHT = average call duration(s) x calls per hour / 3600

For example, if you know that 350 calls are made on a trunk group in an hour, and the average call duration is 180 seconds, the BHT will be:

BHT = 180 x 350 / 3600 = 17.5 Erlangs

The second thing the Erlang B calculator asks for is blocking. Blocking is the failure of calls due to an insufficient number of available lines. For example, a blocking of 0.03 indicates three calls blocked per 100 calls attempted. These blocked calls result in a busy signal or re-order tone.

The result from the calculator is the number of trunks required to support your business at the particular grade of service (GoS) that you desire. If you are working with TDM, you can go out and order that number of analog or digital circuits and call it a day. However, with SIP we need to take one more step. We need to convert that number of trunks, or simultaneous calls, into bandwidth.

From Calls to Bandwidth
The first thing you need to consider when calculating bandwidth is the characteristics of the codec you intend to use. When I say "characteristics," I am referring to attributes such as sample size and voice payload.

For instance, G.711 may have sample sizes of 20 msec, 30 msec, or 40 msec. Those sample sizes lead to voice payload sizes of 160 bytes, 240 bytes, and 320 bytes, respectively. That ultimately leads to Real-Time Protocol data rates of 88 Kbps, 80 Kbps, and 76 Kbps.

The next most common codec for SIP trunks is G.729a, and it has the same sorts of sample size and voice payload variants. This leads us to data streams of 32 Kbps, 22 Kbps, and 20 Kbps.

For nearly every situation, it's safe to use 90 Kbps for G.711 and 32 Kbps for G.729a. Given that simplification, bandwidth calculations become fairly straightforward.

Let's say that we came up with 210 trunks from the Erlang B calculator, and you've chosen G.711 for your codec.

210 x 90 = 18,900 Kbps

This means you need a data pipe of approximately 19 Mbps to reliably support 210 simultaneous G.711 calls. I've commonly seen folks add an additional 20% of overhead (i.e., fudge factor) for traffic variation, traffic collisions, and Ethernet retransmission. This pushes our pipe up to about 22 Mbps.

Using the same number of trunks plus the fudge factor, we come up with an 8-Mbps pipe for G.729a. Clearly, switching to G.729a yields significant bandwidth savings.

Of course, factors such a voice quality come into play when choosing a codec, so you have to look at all the relevant pros and cons before committing to one codec over another. Saving money on bandwidth may not be worth customer complaints or speech recognition applications that no longer work. I have not factored in reliability and failover, which may necessitate two or more data pipes to ensure business continuity during a time of crisis.

Mischief Managed
You have your pick of a number of prepackaged bandwidth charts that can help greatly simplify the process. However, it's important to understand the reasoning behind their numbers. Some numbers may be slightly higher or lower than those you come up with using my calculations, but that's fine -- I err on the conservative side when it comes to traffic management. Take a look at what you can find, though, and determine what's best for you and 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


October 24, 2018

With disparate workplaces and ever-expanding volumes of information to manage, the challenges for collaborating effectively are only intensifying. Many critical applications are not integrated, and

October 10, 2018

Businesses are growing across international borders quicker than ever, but scaling operations to follow suit can be a harder, longer process.

This webinar focuses on scaling your next-generat

September 26, 2018

Join Kevin Kieller, Microsoft UC&C expert, along with Ribbon Communications and Polycom, for an update on Microsoft Ignite, and a focus on critical things you need to know about your voice deployme

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.