Applying Trafﬁc Analysis to VoIP Networks 19
Example: Using the Poisson Trafﬁc Model
Problem:You are creating a new trunk group to be utilized only by your new ofﬁce and you
need to ﬁgure out how many lines are needed. You expect them to make and receive
approximately 300 calls per day with an AHT of about 4 minutes or 240 seconds. The goal
is a P.01 Grade of Service or a 1 percent blocking rate. To be conservative, assume that
approximately 20 percent of the calls happen during the busy hour.
300 calls × 20% = 60 calls during the busy hour.
(60 calls × 240 AHT) / 3600 = 4 Erlangs during the busy hour.
Solution: With 4 Erlangs of trafﬁc and a blocking rate of 0.81 percent (close enough to 1
percent), you need 10 trunks to handle this trafﬁc load. You can check this number by
plugging the variables into the Poisson formula, as demonstrated in Equation 1-4.
Equation 1-4
0.00813
Another easy way to ﬁnd blocking is by using Microsoft Excel’s Poisson function with the
following format:
EART/EARC and Neal-Wilkerson Trafﬁc Model
These models are used for peaked trafﬁc patterns. Most telephone companies use these
models for rollover trunk groups that have peaked arrival patterns. The EART/EARC model
treats blocked calls as cleared and the Neal-Wilkinson model treats them as held. Because
the EART/EARC and Neal-Wilkerson trafﬁc models are covered in many books dedicated
to trafﬁc analysis, they are not covered here.
Applying Trafﬁc Analysis to VoIP Networks
Because Voice over IP (VoIP) trafﬁc uses Real-Time Transport Protocol (RTP) to transport
P104,()1e
42
4
k
k!
-----
k05
10 12
^
21e
42
14
16
2
------
64
6
------
256
24
--------- …)1111 1
255
20 Chapter 1: Understanding Trafﬁc Analysis
Some challenges exist in deﬁning the bandwidth. The following considerations will affect
the bandwidth of voice networks:
Voice codecs
Samples
Point-to-point versus point-to-multipoint
Voice Codecs
Many voice codecs are used in IP telephony today. These codecs all have different bit rates
and complexities. Some of the standard voice codecs are G.711, G.729, G.726, G.723.1,
and G.728. All Cisco voice-enabled routers and access servers support some or all of these
codecs.
Codecs impact bandwidth because they determine the payload size of the packets
transferred over the IP leg of a call. In Cisco voice gateways, you can conﬁgure the payload
size to control bandwidth. By increasing payload size, you reduce the total number of
packets sent, thus decreasing the bandwidth needed by reducing the number of headers
required for the call.
Samples
The number of samples per packet is another factor in determining the bandwidth of a voice
call. The codec deﬁnes the size of the sample, but the total number of samples placed in a
packet affects how many packets are sent per second. Therefore, the number of samples
included in a packet affects the overall bandwidth of a call.
For example, a G.711 10-ms sample is 80 bytes per sample. A call with only one sample
per packet would yield the following:
80 bytes + 20 bytes IP + 12 UDP + 8 RTP = 120 bytes/packet
120 bytes/packet × 100 pps = 12,000 × 8 bits / 1000 = 96 kbps per call
The same call using two 10-ms samples per packet would yield the following:
(80 bytes × 2 samples) + 20 bytes IP + 12 UDP + 8 RTP = 200 bytes/packet
200 bytes/packet × 50 pps = 10,000 × 8 bits / 1000 = 80 kbps per call
Layer 2 headers are not included in the preceding calculations.

Get Deploying Cisco® Voice over IP Solutions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.