Practice Scenario 3: Span Engineering Dial Plan WorksheetFollowing is a list of specifications for the Span Engineering dial plan:
Based on the dial plan worksheet, fill in the appropriate information in each space in Table 5-5. The first row has been filled in for you as an example. Table 5-5. Practice Scenario 3: Span Engineering Dial Plan
|
Practice Scenario 3: SolutionTable 5-6 shows the solution for Practice Scenario 3. Table 5-6. Solution: Span Engineering Dial Plan
Enhancing and Extending an Existing Plan to Accommodate VoIPThere are many ways that you can enhance and extend an existing numbering plan to accommodate the VoIP network. All of these ways require careful planning and consideration. This section discusses two of these ways: number normalization and technology prefixes. First, consider number normalization. Number Normalization
Number normalization is a technique where dial strings can be modified to match the expected dial string length of the
Figure 5-14. Number Normalization
Table 5-7. Router Digit Stripping Comparison
Calls in the reverse direction are handled similarly. However, because the Centrex service requires the full ten-digit dial string to complete calls, the plain old telephone service (POTS) dial peer at router D is configured with digit stripping disabled. An alternate solution involves enabling digit stripping and configuring the dial peer with a six-digit prefix (for example, 703555), which results in forwarding the full dial string to the Centrex service. Technology Prefixes Applied
Another method, called
technology prefixes
, allows you to include special characters in the called number. These special
Voice gateways typically register with technology prefix 1#, H.320 gateways with technology prefix 2#, and voice mail gateways with technology prefix 3#. Multiple gateways can register with the same type prefix. When this happens, the gatekeeper makes a random selection among gateways of the same type.
If the
You can enter technology prefix commands on gateways and gatekeepers in two places, depending on how you want to design the technology prefix decision intelligence:
You can implement this type of digit manipulation and management of dialed
Accounting for Caller Mobility for 911 Services
To understand how VoIP networks can provide the location and telephone number for 911 services, you need to understand the basic component functions. The basic components of 911 services are as
It is critical that the network designer understand and
The following sections describe 911 call processing in nonmobile and mobile environments. 911 Call Processing in a Nonmobile Environment
Figure 5-15 shows an environment where telephony end devices
Figure 5-15. 911 Call Processing in a Nonmobile Environment
The call
911 Call Processing in a Mobile EnvironmentCisco Emergency Responder (CER) is used to dynamically update location information for mobile users. In Figure 5-16, the user with extension 1000 is normally located at 123 N. Main St. but is working on a project with a team at headquarters, which is located at 125 N. Main St. The emergency call is placed by the user of extension 1000 at the 125 N. Main St. location. Figure 5-16. 911 Call Processing in a Mobile Environment
The call shown in Figure 5-16 is processed as follows:
Practice Scenario 4: Numbering Plan for Span EngineeringTo confirm your understanding of numbering plan issues, this practice scenario revisits the Span Engineering network. Specifically, you will answer questions regarding Span Engineering's Chicago airport and London locations. Chicago Airport Location
The Span Engineering Chicago airport location (referred to as ORD) uses the number range of 630-555-5000 through 630-555-5999. Before the start of the VoIP migration, all
ORD numbering range(s) for PBX: ________________________________ ORD numbering range(s) for VoIP phones: ________________________ London Location
Span Engineering collaborates with several companies in London, England. The telephone number range to reach the London facilities is 7946-0300 through 7946-0350. The area code for London is 020, and the country code is 44. All calls that originate in the United States and are destined for international
The internal code within Span Engineering for dialing London locations is 2 plus a four-digit extension, which is the last four digits of the telephone number. Define the
Number dialed by ORD staff: _____________________________________ Number that needs to be sent to the PSTN to complete the overseas call: ___________________________________________________________ Practice Scenario 4: SolutionThe correct answers for the Chicago airport location scenario follow:
The correct answers for the London location scenario follow:
Calculating Bandwidth RequirementsBecause WAN bandwidth is probably the most expensive component of an enterprise network, network administrators must know how to calculate the total bandwidth required for voice traffic and how to reduce overall bandwidth consumption.
This section describes, in detail, VoIP bandwidth requirements. You learn about several
CODEC Payload Bandwidth RequirementsOne of the most important factors for the network administrator to consider while building voice networks is proper capacity planning. Network administrators must understand how much bandwidth is used for each VoIP call. With a thorough understanding of VoIP bandwidth, the network administrator can apply capacity-planning tools. Following is a list of CODECs and their associated bandwidth:
The network administrator should balance the need for voice quality against the cost of bandwidth in the network when choosing CODECs. The higher the CODEC bandwidth is, the higher the cost of each call across the network will be.
Impact of Voice Samples and Packet
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
CODEC |
Bandwidth (bps) |
Sample Size (Bytes) |
Packets |
|---|---|---|---|
|
G.711 |
64,000 |
240 |
33 |
|
G.711 |
64,000 |
160 |
50 |
|
G.726r32 |
32,000 |
120 |
33 |
|
G.726r32 |
32,000 |
80 |
50 |
|
G.726r24 |
24,000 |
80 |
25 |
|
G.726r24 |
24,000 |
60 |
33 |
|
G.726r16 |
16,000 |
80 |
25 |
|
G.726r16 |
16,000 |
40 |
50 |
|
G.728 |
16,000 |
80 |
13 |
|
G.728 |
16,000 |
40 |
25 |
|
G.729 |
8000 |
40 |
25 |
|
G.729 |
8000 |
20 |
50 |
|
G.723r63 |
6300 |
48 |
16 |
|
G.723r63 |
6300 |
24 |
33 |
|
G.723r53 |
5300 |
40 |
17 |
|
G.723r53 |
5300 |
20 |
33 |
Using a simple formula, it is possible for you to determine the number of bytes encapsulated in a PDU based on the CODEC bandwidth and the sample size (20 ms is the default):
Bytes_per_Sample = (Sample_Size * CODEC_Bandwidth) / 8
If you apply G.711 numbers, the formula reveals the following:
Bytes_per_Sample = (.020 * 64000) / 8
Bytes_per_Sample = 160
Notice from Table 5-8 that the larger the sample size, the larger the packet, and the fewer the encapsulated samples that have to be sent (which
Another contributing factor to bandwidth is the Layer 2 protocol used to transport VoIP. VoIP alone carries a 40-byte IP/User Datagram Protocol/Real-Time Transport Protocol (IP/UDP/RTP) header,
Ethernet II Carries 18 bytes of overhead: 6 bytes for source MAC, 6 bytes for destination MAC, 2 bytes for type, and 4 bytes for cyclic redundancy check (CRC)
Multilink Point-to-Point Protocol (MLP) Carries 6 bytes of overhead: 1 byte for flag, 1 byte for address, 2 bytes for control (or type), and 2 bytes for CRC
Frame Relay Forum Standard 12 (FRF.12) Carries 6 bytes of overhead: 2 bytes for data-link connection identifier (DLCI) header, 2 bytes for FRF.12 header, and 2 bytes for CRC
Certain security and tunneling
For example, many companies have their employees telecommute from home. These employees often initiate a VPN connection into their enterprise for secure Internet transmission. When deploying a remote telephone at the employee's home using a router and a PBX Off-Premises eXtension (OPX), the voice packets experience additional overhead associated with the VPN.
CODEC choice, data-link overhead, sample size, and RTP header compression have positive and negative impacts on total bandwidth, as demonstrated in Table 5-9.
|
CODEC |
CODEC Speed (bps) |
Sample Size (Bytes) |
Frame Relay (bps) |
Frame Relay with cRTP (bps) |
Ethernet (bps) |
|---|---|---|---|---|---|
|
G.711 |
64,000 |
240 |
76,267 |
66,133 |
79,467 |
|
G.711 |
64,000 |
160 |
82,400 |
67,200 |
87,200 |
|
G.726r32 |
32,000 |
120 |
44,267 |
34,133 |
47,467 |
|
G.726r32 |
32,000 |
80 |
50,400 |
35,200 |
55,200 |
|
G.726r24 |
24,000 |
80 |
37,800 |
26,400 |
41,400 |
|
G.726r24 |
24,000 |
60 |
42,400 |
27,200 |
47,200 |
|
G.726r16 |
16,000 |
80 |
25,200 |
17,600 |
27,600 |
|
G.726r16 |
16,000 |
40 |
34,400 |
19,200 |
39,200 |
|
G.728 |
16,000 |
80 |
25,200 |
17,600 |
27,600 |
|
G.728 |
16,000 |
40 |
34,400 |
19,200 |
39,200 |
|
G.729 |
8000 |
40 |
17,200 |
9600 |
19,600 |
|
G.729 |
8000 |
20 |
26,400 |
11,200 |
31,200 |
|
G.723r63 |
6300 |
48 |
12,338 |
7350 |
13,913 |
|
G.723r63 |
6300 |
24 |
18,375 |
8400 |
21,525 |
|
G.723r53 |
5300 |
40 |
11,395 |
6360 |
12,985 |
|
G.723r53 |
5300 |
20 |
17,490 |
7420 |
20,670 |
To perform the calculations, you must consider these contributing factors as part of the equation:
More bandwidth required for the CODEC requires more total bandwidth
More overhead associated with the data link requires more total bandwidth
Larger sample size requires less total bandwidth
RTP header compression requires significantly less total bandwidth
Consider a total bandwidth calculation for Span Engineering. The company is implementing VoIP to carry voice calls between all sites. WAN connections between sites will carry both data and voice. To use bandwidth
The following calculation is used to calculate total bandwidth required per call:
Total_Bandwidth = ([Layer_2_Overhead + IP_UDP_RTP Overhead + Sample_Size] / Sample_Size) * CODEC_Speed
Calculation for the G.729 CODEC, 20-byte sample size, using Frame Relay without Compressed RTP (cRTP) is as follows:
Total_Bandwidth = ([6 + 40 + 20] / 20) * 8000
Total_Bandwidth = 26,400 bps
Calculation for G.729 CODEC, 20-byte sample size, using Frame Relay with cRTP is as follows:
Total_Bandwidth = ([6 + 2 + 20] / 20) * 8000
Total_Bandwidth = 11,200 bps
On average, an aggregate of 24 calls or more might contain 35 percent silence. With traditional telephony voice networks, all G.711 voice calls use 64 kbps fixed-bandwidth links regardless of how much of the conversation is speech and how much is silence. In Cisco VoIP networks, all conversations and silences are packetized. Voice activity detection (VAD) can suppress packets containing silence. Instead of sending VoIP packets of silence, VoIP gateways
|
CODEC |
CODEC Speed (bps) |
Sample Size (Bytes) |
Frame Relay (bps) |
Frame Relay with VAD (bps) |
|---|---|---|---|---|
|
G.711 |
64,000 |
240 |
76,267 |
49,573 |
|
G.711 |
64,000 |
160 |
82,400 |
53,560 |
|
G.726r32 |
32,000 |
120 |
44,267 |
28,773 |
|
G.726r32 |
32,000 |
80 |
50,400 |
32,760 |
|
G.726r24 |
24,000 |
80 |
37,800 |
24,570 |
|
G.726r24 |
24,000 |
60 |
42,400 |
27,560 |
|
G.726r16 |
16,000 |
80 |
25,200 |
16,380 |
|
G.726r16 |
16,000 |
40 |
34,400 |
22,360 |
|
G.728 |
16,000 |
80 |
25,200 |
16,380 |
|
G.728 |
16,000 |
40 |
34,400 |
22,360 |
|
G.729 |
8000 |
40 |
17,200 |
11,180 |
|
G.729 |
8000 |
20 |
26,400 |
17,160 |
|
G.723r63 |
6300 |
48 |
12,338 |
8019 |
|
G.723r63 |
6300 |
24 |
18,375 |
11,944 |
|
G.723r53 |
5300 |
40 |
11,395 |
7407 |
|
G.723r53 |
5300 |
20 |
17,490 |
11,369 |
Note
Bandwidth savings of 35 percent is an average figure and does not take into account loud background sounds, differences in languages, and other factors.
Note
For the purposes of network design and bandwidth engineering, VAD should not be taken into account,
Various features, such as music on hold (MOH) and fax, render VAD
VAD is enabled by default for all VoIP calls. Not only does VAD reduce the silence in VoIP conversations, but it also provides
Span Engineering LLC is assessing the effect of VAD in a Frame Relay VoIP environment. The company plans to use G.729 for all voice calls
Span Engineering is planning to carry intrasite VoIP calls across the LAN at each site. The company plans to use the G.711 CODEC with a 30 ms voice sample for voice coding. Your task is to calculate how much bandwidth per call will be required to implement the design specifications.
Calculate the voice sample size in bytes, given that the CODEC will be G.711 with a 30 ms sample size.
_______________________________________________________
Calculate the bandwidth per call for the G.711 call, including Ethernet overhead.
_______________________________________________________
Calculate the bandwidth per call, reflecting a 35 percent VAD savings.
_______________________________________________________
Calculate the voice sample size in bytes, given that the CODEC will be G.711 with a 30 ms sample size.
Bytes_per_Sample = ( Sample_Size * CODEC_Bandwidth ) / 8
Bytes per sample = (.030 * 64,000) / 8
Bytes per sample = 240
Calculate the bandwidth per call for the G.711 call, including Ethernet overhead.
Total_Bandwidth = ([Layer_2_Overhead + IP_UDP_RTP Overhead + Sample_Size] / Sample_Size) * CODEC_Speed
Total bandwidth = ([18 + 40 + 240] / 240) * 64,000
Total bandwidth = 79,467 bps
Calculate the bandwidth per call, reflecting 35 percent VAD savings.
Total bandwidth = Bandwidth ( Bandwidth * 35%)
Total bandwidth = 79,467 (79,467 * .35)
Total bandwidth = 51,653 bps
Although the
http://tools.cisco.com/Support/VBC/do/CodecCalc1.do
Note
A Cisco.com account is required in order to use this tool. You can register for a Cisco.com account by pointing your web browser to the Cisco home page at http://www.cisco.com and clicking the Register link. You need a maintenance contract or a partner agreement with Cisco in order to access this tool. A guest account does not have permission to access the Voice CODEC Bandwidth Calculator.
Follow these steps to use Cisco's Voice Bandwidth Calculator:
|
1. |
Point a web browser to:
Figure 5-17. Voice Bandwidth Calculator Screen 1
|
|
2. |
Complete the next screen, as shown in Figure 5-18, by entering the voice payload size (the number of bytes used to encode a single voice sample, which is typically 20 bytes for the G.729 CODEC), clicking a check box if you are using RTP header compression, selecting the media access (for example, Frame Relay, Ethernet, or PPP), and indicating any additional overhead that
Figure 5-18. Voice Bandwidth Calculator Screen 2
|
|
3. |
From the final screen, as shown in Figure 5-19, note the Total Bandwidth (Including Overhead) value. This value gives you the amount of bandwidth required to support the number of simultaneous calls you indicated, with the network characteristics you specified.
|
Network administrators must be able to calculate existing bandwidth and forecast additional voice bandwidth that is required to implement VoIP. This section describes the importance of proper bandwidth engineering, sometimes called
traffic engineering
. Simply adding voice to an existing IP network is not acceptable. You must take proper
Traffic engineering, as it applies to traditional voice networks, involves determining the number of trunks necessary to carry a required number of voice calls during a specific time period. For designers of a VoIP network, the goal is to properly calculate the number of trunks and provision the appropriate amount of bandwidth necessary to carry the data equivalent of the number of trunks determined. To determine the number of required voice trunks, you must first have statistics showing the current voice traffic. These statistics can be collected from various sources, as detailed in the following section.
You can gather voice traffic statistics from several sources, including:
PSTN carriers
PBX call detail records (CDRs)
Telephone bills
From the PSTN carrier, you can often gather the following information:
Peg counts
For calls
Total traffic Carried voice traffic per trunk group.
In the absence of this detailed information, you could use a telephone bill to approximate the total traffic, but telephone bills do not show you the lost calls or the grade of service (that is, the percentage of calls rejected during the busiest
The internal telecommunications department provides CDRs for PBXs. This information typically records calls that are offered, but might not provide information on calls that were blocked because all trunks were busy.
Ideally, all call statistics are provided on a time-of-day basis. The number of trunks required to carry voice traffic is based on the peak daily traffic, not the average daily traffic.
The total data traffic after migrating voice to the data network is the sum of the data traffic and the newly introduced voice traffic. The only exception is when the data network is
Network management systems (NMSs)
Sniffers
show interfaces commands
Router-based accounting
To provide an acceptable level of access to telephone and data services in a combined voice and data network, you should establish guidelines for the acceptable performance of each.
In a data network, users can reasonably expect to achieve a level of throughput in bits per second (bps) or a network transit delay in
Traffic engineering for voice is based on a target grade of service (GoS). GoS is a unit that measures the chance that a call will be blocked. The GoS is usually defined for the peak or busiest period in the business day when demand for service is at its highest. This approach means that GoS is naturally better during off-peak hours. This GoS value is an important parameter when calculating the number of trunks required to carry a particular quantity of voice traffic.
As an example, a GoS of P(.01) means that one call is blocked in 100 call attempts, and a GoS of P(.001) means that one call is blocked in 1000 attempts.
The first step to provision an appropriate number of trunks is to measure the level of voice and data traffic in the networks and set the objectives for throughput, delay (data traffic), and GoS (voice traffic). The next step is to determine whether you are meeting these objectives in the current network.
You might discover through your analysis of the voice and data networks that you are providing a poor GoS to your voice users, or that the throughput and delay are below the standards for your data users. Without recognizing these shortcomings, you might be inclined to plan a combined network on the assumption of business as usual. This assumption is a mistake. It creates the very real possibility that you will have an integrated voice and data network that will offer substandard quality as compared to the original network.
Ask two questions to determine if you are meeting current network objectives:
Are the delay and throughput acceptable on the data network?
Are you achieving your target GoS on the voice network?
If you conclude that your network performance is below objectives, add a factor to your current traffic analysis for excessive demand.
To understand how voice and data network demands relate to each other, first look at the relationship between the peak demands on each of the networks, as shown in Figure 5-20, if this information is available. It will give you some idea of what to expect later in this process, when you convert the number of voice trunks to bandwidth and add the voice bandwidth requirement to the data bandwidth requirement for the same period. Clearly, the peak bandwidth demand is less if the two network demands are out of phase with each other than if both peaks coincide.
Tip
To best calculate the required bandwidth necessary to support demands, you need to understand peak usage times. Usually, networks exhibit peak demands early in the morning and just after the noon hour.
If you know the amount of traffic generated and the GoS required, you can calculate the number of trunks required to meet your needs. Use the following simple equation to calculate traffic flow:
A = C * T
In the equation, A is the offered traffic, C is the number of calls originating during a period of one hour, and T is the average holding time of a call.
It is important to note that C is the number of calls originated , not carried. Typically, the information received from the carrier or from the internal CDRs of the company is in terms of carried traffic. Information provided by PBXs is usually in terms of offered traffic.
The holding time of a call (T) must account for the average time a trunk is occupied and must factor in variables other than the length of a conversation. This includes the time required for dialing and ringing (call establishment), time to terminate the call, and a method of amortizing busy signals and noncompleted calls. Adding 10 to 16 percent to the length of an average call helps account for these miscellaneous time segments.
Hold times based on call billing records might have to be adjusted based on the increment of billing. Billing records based on one-minute
404 calls * 0.5 minutes (overstated call length) = 202 excess call minutes
Adjusted traffic (A): 1834 202 = 1632 actual call minutes
Another way to calculate this would be to use the formula A = C * T to derive the average holding time (T), reduce T by 0.5 minutes (the overstated amount), and recalculate the traffic offered (A).
Average holding time (T):
T = 1834 minutes (A) / 404 calls (C)
T = 4.54 minutes
Corrected holding time (T):
T = 4.54 0.50
T = 4.04 minutes
Adjusted traffic offered (A):
A = 404 calls (C) * 4.04 minutes (T)
A = 1632 call minutes
It is important to look at call attempts during the busiest hour of the day, as shown in Figure 5-21. The most accurate method of finding the busiest hour is to take the ten busiest days in a year, sum the traffic on an hourly basis, find the busiest hour, and then derive the busy hour traffic .
As a shortcut, you can determine the amount of traffic that occurs in a day based on 22 business days in a month and then multiply that number by 15 to 17 percent. As a rule, the busy hour traffic represents 15 to 17 percent of the total traffic that occurs in one day. Assume that you have a trunk group that carries 66,000 minutes in one month or 3000 minutes per day on average (66,000/22). You might then estimate the busy hour traffic by calculating 15 percent of the average daily traffic, or 3000 * 15% = 450 minutes.
The traffic volume in telephone engineering is measured in units called
Erlangs
. An
1 Erlang = 60 call minutes = 3600 call seconds = 36 centum call seconds (CCS)
Consider an example where, on average, each user in a branch makes 10 calls with an average duration of 5 minutes during the busy hour. If the branch has 25 employees, the total minutes of call time during the busy hour is 10 calls per busy hour multiplied by 5 minutes per call multiplied by 25 employees per branch. The result is 1250 total call minutes. To find the Erlangs, which is based on hours, divide 1250 by 60. This calculation yields 20.83 Erlangs.
When you have determined the amount of traffic that occurs during the busy hour in Erlangs, you can determine the number of trunks required to meet a particular GoS. The number of trunks required
Number of potential sources There can be a major difference between planning for an infinite versus a small number of sources. As the number of sources increase, the probability of a wider distribution in the arrival times and holding times of calls increases. As the number of sources decrease, the ability to carry traffic increases.
Traffic arrival characteristics
Usually, this assumption is based on a Poisson traffic distribution. This distribution was named after the
Treatment of lost calls What do you do when the station you are calling does not answer or all trunks are busy? Traffic theory considers three possibilities:
Note
LCC tends to understate the number of trunks that are required; on the other hand, LCH overstates the number of trunks that are required.
Random arrivals are common with a large or infinite source of users whose calls are independent of each other. Assuming random arrivals, the probability of calls arriving during any particular time interval, such as the busy hour, is
The characteristic bell shape of the distribution suggests that the probability of few calls is low, as is the probability of a high number of calls. The peak probability represents the average. For example, if you calculated the average number of calls during the busy hour to be 250, the Poisson distribution estimates the probability that you will receive 0 calls (very low probability), 100 calls (modest probability), 250 calls (the average, which is peak probability), 900 calls (very low probability), or any other number of calls.
Smooth traffic arrivals are common in applications in which the traffic is dependent on other traffic, as in a telemarketing scenario. Due to their nonrandom nature, smooth traffic arrivals are not modeled on the Poisson distribution.
Bursty traffic arrivals are common in trunk overflow scenarios in which excess overflow tends to occur for a short time and then disappears for an extended period of time. Therefore, bursty traffic is not modeled on the Poisson distribution because of its nonrandom nature.
The purpose of traffic calculations is to determine the number of physical trunks that are required. After you have determined the amount of offered traffic during the busy hour, established the target GoS, and recognized the three basic assumptions, you can calculate the number of trunks that are required by using formulas or tables.
Traffic theory consists of many queuing
The most commonly used model and table is Erlang B, as shown in Table 5-11. Erlang B is based on infinite sources, LCC, and a Poisson distribution that is appropriate for either exponential or constant holding times. In general, Erlang B understates the number of trunks because of the LCC assumption. However, Erlang B is the most commonly used algorithm.
|
Trunks |
Probability of a Lost Call |
|||||||
|---|---|---|---|---|---|---|---|---|
|
0.003 |
0.005 |
0.01 |
0.02 |
0.03 |
0.05 |
|||
|
1 |
0.003 |
0.005 |
0.011 |
0.021 |
0.031 |
0.053 |
||
|
2 |
0.081 |
0.106 |
0.153 |
0.224 |
0.282 |
0.382 |
||
|
3 |
0.289 |
0.349 |
0.456 |
0.603 |
0.716 |
0.900 |
||
|
4 |
0.602 |
0.702 |
0.870 |
1.093 |
1.259 |
1.525 |
||
|
5 |
0.995 |
1.132 |
1.361 |
1.658 |
1.876 |
2.219 |
||
|
6 |
1.447 |
1.622 |
1.909 |
2.276 |
2.543 |
2.961 |
||
|
7 |
1.947 |
2.158 |
2.501 |
2.936 |
3.250 |
3.738 |
||
|
8 |
2.484 |
2.730 |
3.128 |
3.627 |
3.987 |
4.543 |
||
|
9 |
3.053 |
3.333 |
3.783 |
4.345 |
4.748 |
5.371 |
||
|
10 |
3.648 |
3.961 |
4.462 |
5.084 |
5.530 |
6.216 |
||
|
11 |
4.267 |
4.611 |
5.160 |
5.842 |
6.328 |
7.077 |
||
|
12 |
4.904 |
5.279 |
5.876 |
6.615 |
7.141 |
7.950 |
||
|
13 |
5.559 |
5.964 |
6.608 |
7.402 |
7.967 |
8.835 |
||
|
14 |
6.229 |
6.664 |
7.352 |
8.201 |
8.804 |
9.730 |
||
|
15 |
6.913 |
7.376 |
8.108 |
9.010 |
9.650 |
10.630 |
||
A trunk group is a hunt group of parallel trunks. The following example determines the number of trunks in a trunk group carrying the following traffic:
352 hours of offered call traffic in a month
22 business days per month
10 percent
15 percent of the traffic occurring in the busy hour
GoS = P(.01)
Busy hour = 352 / 22 * .15 * 1.10 (call-processing overhead) = 2.64 Erlangs
The traffic assumptions are:
Infinite sources.
Random or Poisson traffic distribution.
Lost calls are cleared.
Based on these assumptions, the appropriate algorithm to use is Erlang B. You can use Table 5-11 to determine the appropriate number of trunks for a GoS of P(.01).
Because a GoS of P(.01) is required, you use the column that is designated as P(.01) only. The calculations indicate a busy hour traffic amount of 2.64 Erlangs, which is between 2.501 and 3.128 in the P(.01) column. This corresponds to between seven and eight trunks. Because you cannot use a
Instead of using an Erlang B table, such as Table 5-11, you could alternatively use a web-based calculator, such as the one found at http://erlang.com/calculator/erlb. This calculator, as shown in Figure 5-22, allows you to enter your Erlang value in the BHT (that is, Busy Hour Traffic) field and your GoS value in the Blocking field.
You can then click on the Calc. button, and the calculator displays the number of trunks needed to support the specified call volume, as shown in Figure 5-23. In this example, eight trunks are required for an Erlang value of 2.64 and a GoS value of 0.010, just as previously determined from the Erlang B table shown in Table 5-11.
Unless your voice network is extremely small (two locations, for example), calculating the trunk requirements between any two points in a network is a
As you determine the call minutes between any two points, you enter the amount into the matrix. If you do this on a spreadsheet, you can convert the minutes to busy hour minutes, to Erlangs, and then calculate the number of trunks from the Erlangs. The number of trunks represents the number of concurrent calls you should plan to support during the busy hour.
As an example of a call density matrix, Figure 5-24 shows a progression of spreadsheets for a network with one headquarters and three branches.
If you are provisioning a circuit-switched voice network, you should estimate how much traffic each of your trunks is expected to carry. Then investigate the most
For this discussion, assume that all voice traffic is transported over the IP network. This approach will preclude the need to go through the rigors of choosing the most cost-effective solution for each individual trunk.
At this stage, the goal is to determine the IP bandwidth using the following steps:
|
Step 1. |
Estimate the VoIP bandwidth required for different CODECs and over different data links. Also calculate the benefit of RTP header compression (Compressed Real-Time Transport Protocol [cRTP]). These estimates of bandwidth for VoIP are shown in Table 5-9, which was presented earlier in this chapter in the section "Calculating the Total Bandwidth for a VoIP Call."
|
|
Step 2. |
Identify the number of concurrent calls that you expect during the busy hour between points in the network. Then, simply multiply the number of concurrent calls by the bandwidth per call.
|
You might want to consider some refinements to this simple
Now that you have the total bandwidth budget, you are ready to ensure that you do not overload the data links. However, on any network, as load approaches middle percentages,
20 percent of full capacity averaged over an 8-hour work day
30 percent averaged over the worst hour of the day
50 percent averaged over the worst 15 minutes of the day
Capacity planning should take these factors into account, and link speed should be
To put these rules into the context of the example, Figure 5-25 shows a demand for 416 kbps between headquarters and branch 1 during the busiest hour of the day. Using the rules, the average demand during the worst hour should represent only 30 percent of the link speed. If 30 percent of the link speed is 416 kbps, then the link speed must be 1387 kbps or greater.
Based on the traffic in your network, you might justify aiming for a higher utilization of the links, but expecting full utilization is
Span Engineering LLC is assessing bandwidth requirements for the WAN connection between the Chicago Cicero campus and the Dallas campus, as shown in Figure 5-26. The traffic statistics and requirements for this topology are:
50 concurrent calls during busy hour
G.729 using a 20-byte sample size
Frame Relay with cRTP
10 percent call-processing overhead
30 percent bandwidth savings using VAD
2 Mbps requirement for data
Based on the Figure 5-26 and the
Call statistics obtained from the PBXs and the PSTN carrier show that traffic patterns during the busy hour require support for 50 concurrent calls between Cicero and Dallas.
Design specifications for the Cicero-Dallas connection are as follows:
All calls traversing the WAN must be compressed to
Calls traversing the WAN should be configured to use the G.729 CODEC with a 20-byte sample size.
Calls traversing the WAN should be configured to use VAD. It is estimated that the use of VAD will save 30 percent of calculated voice bandwidth.
The connection will be Frame Relay between Cicero and Dallas.
The connection must have RTP header compression enabled.
It is estimated that there will be 10 percent overhead for call processing.
The bandwidth requirement for data is 2 Mbps.
Table 5-12 provides per-call bandwidth requirement calculations for a selection of CODECs and connection types.
|
CODEC |
CODEC Speed (bps) |
Sample Size (Bytes) |
Frame Relay (bps) |
Frame Relay with cRTP (bps) |
Ethernet (bps) |
|---|---|---|---|---|---|
|
G.711 |
64,000 |
240 |
76,267 |
66,133 |
79,467 |
|
G.711 |
64,000 |
160 |
82,400 |
67,200 |
87,200 |
|
G.726r32 |
32,000 |
120 |
44,267 |
34,133 |
47,467 |
|
G.726r32 |
32,000 |
80 |
50,400 |
35,200 |
55,200 |
|
G.726r24 |
24,000 |
80 |
37,800 |
26,400 |
41,400 |
|
G.726r24 |
24,000 |
60 |
42,400 |
27,200 |
47,200 |
|
G.726r16 |
16,000 |
80 |
25,200 |
17,600 |
27,600 |
|
G.726r16 |
16,000 |
40 |
34,400 |
19,200 |
39,200 |
|
G.728 |
16,000 |
80 |
25,200 |
17,600 |
27,600 |
|
G.728 |
16,000 |
40 |
34,400 |
19,200 |
39,200 |
|
G.729 |
8000 |
40 |
17,200 |
9600 |
19,600 |
|
G.729 |
8000 |
20 |
26,400 |
11,200 |
31,200 |
|
G.723r63 |
6300 |
48 |
12,338 |
7350 |
13,913 |
|
G.723r63 |
6300 |
24 |
18,375 |
8400 |
21,525 |
|
G.723r53 |
5300 |
40 |
11,395 |
6360 |
12,985 |
|
G.723r53 |
5300 |
20 |
17,490 |
7420 |
20,670 |
Use the information in Table 5-12 to calculate the following total bandwidth requirements:
Calculate the total bandwidth required for the expected concurrent call volume.
________________________________________
Calculate the total bandwidth required, including bandwidth needed for call-processing adjustment.
________________________________________
Calculate the total bandwidth required, reflecting VAD savings.
________________________________________
Calculate the total bandwidth required for both voice and data for the Frame Relay connection.
________________________________________
Calculate the total bandwidth required for both voice and data for the Frame Relay connection.
________________________________________
Calculate the total bandwidth required for the expected concurrent call volume.
For 50 concurrent calls, use G.729 for Frame Relay with cRTP: 50 * 11,200 = 560,000 (560 kbps)
Calculate the total bandwidth required, including bandwidth needed for call-processing adjustment.
Add call-processing overhead of 10 percent: 560,000 * 1.1 = 616,000 (616 kbps)
Calculate the total bandwidth required, reflecting VAD savings.
Adjust for VAD bandwidth savings of 30 percent: 616,000 (.30 * 616,000) = 616,000 184,800 = 431,200 (431.2 kbps)
Calculate the total bandwidth required for both voice and data for the Frame Relay connection.
Add data bandwidth requirements: 431,200 + 2,000,000 = 2,431,200 (2.43 Mbps)
Security is a top priority in most networks. Security solutions include router access lists, stateful firewalls, and VPNs. These solutions might be stand-alone or layered. Implementing voice in a secure network environment requires an understanding of potential issues and threats. It also requires an
Provide ubiquitous IP telephony services to the locations and to the users that require them.
Maintain as many of the characteristics of traditional telephony as possible without
Integrate with existing security architectures without interfering with existing functions.
The starting point for any security implementation is the development of a
security policy
. In a
Transport security Traffic traversing public access and backbone networks must be properly secured. IP Security (IPSec) and VPNs provide transport security by ensuring data confidentiality (using encryption), data integrity, and data authentication between participating peers. Encryption adds to overhead and delays a voice packet. Therefore, you should factor in encryption when testing the delay budget and bandwidth calculations.
Network security
Cisco firewalls provide stateful perimeter security that is critical to any public-
Intrusion detection
The Cisco Security Agent (CSA) provides threat protection for server and desktop computing systems, also known as endpoints. CSA identifies and
Figure 5-27 shows an example of network security, where the network between the branch office and the headquarters has a firewall. The firewall allows the users from the branch office to access only the headquarters network. A user without proper network identification will not be allowed to pass through the firewall. Network identification therefore protects voice networks from hackers.
Unfortunately, the security model chosen for VoIP networks today often mirrors the model chosen for legacy voice systems, which are
Numerous threats to VoIP networks exist, and many of these are similar to threats facing traditional PBX systems. VoIP network threats include:
Theft and toll fraud Toll fraud is the theft of long-distance telephone service by unauthorized access to a PSTN trunk (that is, an "outside line") on a PBX or voice mail system. Toll fraud is a multibillion-dollar illegal industry, and all organizations are vulnerable. Theft can also be defined as the use of the telephony system, by both authorized and unauthorized users, using voice-network resources to access unauthorized numbers, such as 900 billable numbers.
Unauthorized access to voice resources
Hackers can tamper with voice systems, user identities, and telephone configurations and also intercept voice mail messages. If hackers gain access to the voice mail system, they can change the voice mail greeting, which negatively impacts the image and reputation of the company. A hacker who gains access to the PBX or voice gateway could
Compromise of network resources
The goal of a secure network is to ensure that applications, processes, and users can reliably and securely
Denial-of-service (DoS) attacks
DoS attacks are defined as the malicious attacking or overloading of call-processing equipment to deny access to services by
Many IP security solutions can be implemented only on Layer 3 (IP) devices. Because of protocol architecture, the MAC layer, Layer 2, offers very little or no inherent security. Understanding and establishing broadcast domains is one of the fundamental precepts in designing secure IP networks. Many simple yet dangerous attacks can be launched if the attacking device resides within the same broadcast domain as the target system.
IP phones, VoIP gateways, and
To ensure communications privacy and integrity, voice-media streams should be protected from eavesdropping and tampering. Data networking technologies, such as VLANs, can segment voice traffic from data traffic, preventing access to the voice VLAN from the data VLAN. Using separate VLANs for voice and data in a switched Ethernet infrastructure, as shown in Figure 5-28, prevents any attacker or attacking application from snooping or capturing traffic from other VLANs as it traverses the physical wire. By making sure that each device connects to the network using a switched infrastructure, you can render packet-sniffing tools less effective for capturing user traffic. Notice that an IEEE 802.1Q trunk is set up between the IP phone and the Catalyst switch. The 802.1Q trunk allows traffic from both the voice and data VLANs to flow over a single physical link.
Assigning voice traffic to a specific VLAN, thereby logically segmenting voice and data traffic, is an industry-wide accepted best practice. As much as possible, devices identified as voice devices should be restricted to dedicated voice VLANs. This approach ensures that they can communicate only with other voice resources. More importantly, voice traffic is kept away from the general data network where it might more easily be intercepted or tampered with.
Firewalls inspect packets and match them against configured rules. It is difficult to specify ahead of time which ports will be used in a voice call because they are dynamically negotiated during call setup.
H.323 is a complex, dynamic protocol that consists of several interrelated
Any application might use a port in the range of 1024 to 65536. In Figure 5-29, the firewall initially blocks all packets destined for UDP port 16384. The firewall becomes H.323-aware when it is configured to look for TCP port 1720 for call setup and UDP port assignments.
Table 5-13 illustrates the dynamic access control process used by firewalls.
|
Stage |
What Happens |
|---|---|
|
The firewall detects a new call setup destined for UDP port 16384. |
The firewall places the port, the associated source, and the destination IP address into the table. |
|
The firewall opens port 16384. |
The firewall allows all packets with UDP port 16384 and the proper source/destination IP address through the firewall. |
|
The firewall detects call
|
The firewall
|
If the firewall does not support this dynamic access control based on inspection, an H.323 proxy can be used. An H.323 proxy passes all H.323 flows to the firewall with the appearance of a single static source IP address plus a TCP/UDP port number. The firewall can then be configured to allow that static address to pass through.
Firewalls can introduce variable delay into the
Table 5-14 lists the ports used for various voice protocols.
|
Protocol |
Ports |
TCP/UDP |
Description |
|---|---|---|---|
|
H.323 |
1718 |
UDP |
Gatekeeper discovery |
|
H.323 |
1719 |
UDP |
Gatekeeper registration |
|
H.323 (H.225) |
1720 |
TCP |
Call setup |
|
MGCP (Media Gateway Control Protocol) |
2427, 2727 |
UDP |
MGCP gateway, MGCP call agent |
|
SIP (session initiation protocol) |
5000 |
TCP or UDP |
SIP call |
|
Skinny |
2000 |
TCP |
Client |
|
Skinny |
2001 |
TCP |
Digital gateway |
|
Skinny |
2002 |
TCP |
Analog gateway |
|
Skinny |
2003 |
TCP |
Conference bridge |
VPNs, as depicted in Figure 5-30, are widely used to provide secure connections to the corporate network. The connections can originate from a branch office, a small office/home office (SOHO), a telecommuter, or a roaming user.
Frequently asked questions about voice over VPN generally deal with overhead and delay, which impact the quality of service (QoS) for the call.
Note
One important consideration to remember is the absence of QoS when deploying VPNs across the Internet or a public network. Where possible, QoS should be addressed with the provider through a service-level agreement (SLA). An SLA is a document that details the expected QoS parameters for packets transiting the provider's network.
Voice communications do not work well with latency, not even a modest amount of it. Because secure VPNs encrypt data, they might create a throughput bottleneck when they process packets through their encryption algorithm. The problem usually gets
Optimize the encryption algorithm and data path.
Handle all processing in a dedicated encryption processor.
Ensure that the device uses hardware encryption instead of software encryption.
Use proper QoS techniques.
Use proper VPN technologies.
VoIP can be secure and free of perceptible latency on a VPN. The solution is to optimize the encryption algorithm and the data path and to handle all processing in a dedicated encryption processor. You should ensure that the device is
Delay can be further minimized through the use of proper QoS techniques. QoS and bandwidth management features allow a VPN to deliver high transmission quality for time-sensitive applications, such as voice or video. Each packet is tagged to identify the priority and time sensitivity of its payload, and traffic is sorted and routed based on its delivery priority. Cisco VPN solutions support a wide range of QoS features.
Designers need to understand that QoS cannot be completely controlled, independent of the underlying network. QoS is only as good as the network through which the voice
You can minimize overhead if you understand the proper use of VPN technologies. You can implement VPNs at Layer 2 through Point-to-Point Tunneling Protocol (PPTP) or Layer 2 Tunneling Protocol (L2TP), as well as at Layer 3 with IPSec. Often Layer 2 and Layer 3 technologies are combined to provide additional security. It is crucial that you understand the reasoning and requirements behind combining Layer 2 with Layer 3 security, because the combination adds overhead to the VoIP packet.
VoIP and either Data Encryption Standard (DES) or 3DES encryptions are fully compatible with each other as long as the VPN delivers the necessary throughput. Internationally, corporations can run into other factors. The U.S. Department of Commerce places restrictions on the export of certain encryption technology. Usually, DES is exportable while 3DES is not, but that generality takes numerous forms, from total export exclusions applied to certain
VPN
To properly calculate bandwidth overhead, the user must have a thorough understanding of the VPN technology by asking the following questions:
Should the VPN be a Layer 2 tunnel running PPTP or L2TP?
Should the VPN be a Layer 3 tunnel running IPSec?
If the VPN is IPSec, is it using Authentication Header (AH) or Encapsulating Security Payload (ESP)?
If the VPN is running AH or ESP, is it in transport mode or tunnel mode?
Note
Although the discussion of VPN technology is beyond the scope of this book, Comparing, Designing, and Deploying VPNs (ISBN 1587051796) from Cisco Press can help clarify these concepts.
The VPN adds a new IP header that is 20 bytes, plus the VPN header, which can add as much as 20 to 60 additional bytes, depending on which variation of VPN is installed. Table 5-15 shows what a complete VPN packet can look like.
|
Field |
Subhead |
|---|---|
|
Voice payload (G.729) |
20 bytes |
|
RTP header |
12 bytes |
|
UDP header |
8 bytes |
|
IP header |
20 bytes |
|
VPN header |
20 to 60 bytes |
|
New IP header |
20 bytes |
The total size of the packet will be 100 to 160 bytes.
To calculate the total bandwidth for a 160-byte G.729 packet, use the following calculations:
160 bytes * 8= 1280 bits
Total bandwidth = 1280 bits / 20 ms
Total bandwidth = 64,000 bps
Span Engineering LLC is defining its security infrastructure for the VoIP network. Figure 5-32 identifies various components that will provide networkwide security for Span Engineering voice transmissions.
Your task is to identify the benefits associated with each security component:
Separate voice and data VLANs:
_____________________________________________________
_____________________________________________________
_____________________________________________________
VPN connectivity between sites:
_____________________________________________________
Stateful firewall:
_____________________________________________________
_____________________________________________________
_____________________________________________________
Cisco Security Agent:
_____________________________________________________
_____________________________________________________
Separate voice and data VLANs:
Separate VLANs create separate broadcast domains.
Separate VLANs protect against eavesdropping and tampering.
Separate VLANs render packet-sniffing tools less effective.
VPN connectivity between sites:
Voice packets are encrypted when they traverse the WAN.
Stateful firewalls:
Stateful firewalls inspect packets and match them against a set of rules.
Stateful firewalls watch call-setup packets and let negotiated ports pass through.
Stateful firewalls tear down access to negotiated ports when the call is terminated.
Cisco Security Agent:
CSA provides intrusion detection for the network.
CSA identifies and prevents malicious behavior.

Implementing Cisco Unified Communications Manager, Part 1 (CIPT1) (Authorized Self-Study Guide)

Implementing Cisco Unified Communications Manager, Part 2 (CIPT2) (Authorized Self-Study Guide)

CCNA Voice Official Exam Certification Guide (640-460 IIUC)

Implementing Cisco Unified Communications Voice over IP and QoS (Cvoice) Foundation Learning Guide: (CCNP Voice CVoice 642-437) (4th Edition) (Foundation Learning Guides)