You are on page 1of 61

Introducing Voice

Gateways Part 3

Digital ports, echo, codecs, and bandwidth calculation

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

CONFIGURATION OF VOICE
PORTS
Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

Digital Voice Ports


Three types of digital voice circuits are supported on
Cisco voice gateways:
T1: Uses time-division multiplexing (TDM) to transmit digital
data over 24 voice channels using channel associated signaling
(CAS)
E1: Uses TDM to transmit digital data over 30 voice channels
using either CAS or common channel signaling (CCS).
ISDN: A circuit-switched telephone network system using CCS.
Variations of Integrated Services Digital Network (ISDN) circuits
include the following:
BRI: 2 B (Bearer) channels and 1 D (Delta) channel
T1 PRI: 23 B channels and 1 D channel

E1 PRI: 30 B channels and 1 D channel


Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

Digital Trunks
The information about line and device states (on-hook,
off-hook, etc.) is communicated over digital lines using
signaling that emulates analog networks (FXS, FXO,
E&M)
For signaling to pass from a circuit-switched network
(like the PSTN) and a packet-switched network (like a
WAN) both networks must use the same type of
signaling

The voice ports on Cisco routers can be configured to


match the signaling of most COs and PBXs.

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

Digital Trunks
Lets review - digital lines use two types of signaling:
Channel Associated Signaling (CAS): Takes place within the
voice channel itself and is associated to each channel
Common Channel Signaling (CCS): Sends signaling
information over a dedicated channel and is not typically sent if
a channel is not in use

For CAS, two main digital trunks exist:

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

T1 CAS
Recall that a single digital voice channel requires 64
kbps of bandwidth (called a DS0):
64 kbps (64,000 bps) = 8000 samples/sec * 8 bits/sample

With 24 voice channels at 64 kbps per channel, a T1


represents 1.536 Mbps of data.
8 kbps is added for framing (making sure the signals
are read correctly), bringing the total speed of a T1
circuit to 1.544 Mbps

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

T1 CAS
T1 CAS uses in-band signaling by borrowing bits in the
actual voice channel to transmit signaling information
(sometimes referred to as robbed-bit signaling, or
RBS)
A bit is taken from every sixth frame of the voice data to
communicate on- or off-hook status, wink-start, groundstart, dialed digits, and other information about the call
Notice that these signaling types are the same that are
used by analog voice ports. They are simply
transmitted differently across digital trunks

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

T1 CAS
The eighth bit on every sixth sample in each DS0 is
stolen for signaling

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

E1 R2 CAS
An E1 circuit is similar to a T1 circuit: it is a TDM circuit
that carries several DS0s in one connection
The main difference between an E1 and a T1 is that an
E1 bundles 32 time slots instead of 24, resulting in
2.048 Mbps of bandwidth (T1 was 1.544 Mbps)
E1 circuits can be deployed using R2 signaling for CAS
(called an E1 R2 trunk)
These trunks use the E1 multiframe format
In this format, only 30 channels are used for audio
streams. The other two channels are used for framing
and signaling
Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

E1 Multiframe Format
A multiframe consists of 16 consecutive frames, each
carrying 32 time slots
The first time slot is used exclusively for frame
synchronization
Time slots 2 through 16 and 18 through 32 carry the
actual voice traffic
Time slot 17 is used for R2 signaling

Using this method, E1 R2 supports inbound and


outbound DNIS and ANI (called and calling number
information)

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

10

E1 Multiframe Format

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

11

ISDN Services
Integrated Services Digital Network (ISDN) is used to
transmit voice and data over ordinary telephone copper
wires
In contrast to CAS and R2 signaling which provide only
DNIS (called number information), ISDN offers
additional supplementary services like call waiting and
Do Not Disturb (DND)

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

12

ISDN Media Types


Cisco routers support both ISDN BRI and ISDN PRI
Both media types use Bearer (B) Channels and Delta
(D) Channels
The B channels carry user data (or voice) and the D
channel carries the signaling for the B channels
ISDN BRI is often referred to as 2 B + D and has the
following characteristics:
Two 64 kbps B channels to carry voice or data
One 16 kbps D channel to carry signaling traffic (instructions
about how to handle each of the B channels)

An ISDN BRI can carry up to two simultaneous calls


Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

13

ISDN Media Types


BRI is very common in Europe, but not widely deployed
in North America, where ISDN PRI is more common
ISDN PRI is often referred to as 23 B + D or 30 B +
D and has the following characteristics:
23 B channels (in North America/Japan) or 30 B channels
(everywhere else) to carry voice or data
One 64 kbps D channel to carry signaling for the B channels

Thus an ISDN PRI can carry up to 23 (North


America/Japan) or 30 (everywhere else) simultaneous
calls

http://business.telus.com/enterprise/bc/mlb-business-voice-local/mlb-pri-service
Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

14

ISDN Media Types


The worldwide standards for PRI are:
T1-PRI: North American ISDN PRI with 23 B channels and one
CCS channel
E1-PRI: European ISDN PRI with 30 B channels, one CCS
channel, and one framing channel

ISDN-PRI NFAS: ISDN Nonfacility Associated Signaling


(NFAS) enables a single D channel to control multiple ISDN
PRIs on a single chassis. The D channel functions as the
primary channel with the option of having another D channel as
a backup. The benefit of PRI NFAS is that it frees up one B
channel on each additional interface.
Fractional PRI: Typically an ISDN interface with fewer than 23
or 30 B channels associated with it (allowing telephone
companies the ability to offer cheaper services)
Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

15

Nonfacility Associated Signaling


ISDN NFAS allows a single D channel to control
multiple PRI interfaces (with an optional backup D
channel)
NFAS is only supported on a channelized T1 controller
that is ISDN PRI capable (no BRI)
The primary and backup D channels should be
configured on separate T1 controllers for redundancy

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

16

BRI and PRI Interfaces

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

17

ISDN Signaling
ISDN uses Q.921 as its Layer 2 signaling protocol and
Q.931 as its Layer 3 signaling protocol
Q.921 (also known as LAPD) is very similar to HDLC
(the default encapsulation type on Cisco serial
interfaces)
Q.931 is used at Layer 3 for call-establishment, calltermination, information, and miscellaneous messaging

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

18

Digital Trunks

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

19

Configuring an ISDN PRI Trunk


Before configuring a T1 or E1 trunk, you must decide
on a variety of parameters for the digital controller:
Framing Format: Describes the way the bits are aligned so as
to detect and recover from errors caused by missing or extra
bits
Digital T1 lines use Super Frame (SF) or Extended Super
Frame (ESF) framing formats. ESF is recommended for PRI
configurations
E1 lines can be configured for cyclical redundancy check
(CRC4), or no check

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

20

Configuring an ISDN PRI Trunk


Before configuring a T1 or E1 trunk, you must decide
on a variety of parameters for the digital controller:
Line Coding: Defines how 1s and 0s are represented on the
line
T1 line coding methods include alternate mark inversion (AMI)
and bipolar 8-zero substitution (B8ZS). AMI is used on older T1
circuits. B8ZS is more reliable and is recommended for PRI
configurations
E1 line coding methods are AMI and high-density bipolar 3
(HDB3)

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

21

Configuring an ISDN PRI Trunk


Before configuring a T1 or E1 trunk, you must decide
on a variety of parameters for the digital controller:
Clock Sources: Ensures voice packets are delivered and
assembled properly. All interfaces handling the same packets
must be configured to use the same timing source so packets
are not misinterpreted.
The timing source can be configured as external (from the line)
or internal to a routers digital interface
If the timing is external the timing is derived from the PBX or
PSTN CO switch to which the voice port is connected. This is
usually the preferred (and default) method because PSTN
clocks are maintained at an extremely accurate level

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

22

Configuring an ISDN PRI Trunk


Before configuring a T1 or E1 trunk, you must decide
on a variety of parameters for the digital controller:
The DSPs used to convert between analog and digital signals
draw its clocking from the router backplane
If the digital port is using an external clock source, the DSP and
the digital port may end up with a mismatch leading to clock slip
(and thus misinterpreted bits)
Therefor, its generally recommended if using a digital port that
you configure the router to use the clocking from that port for all
its DSP processes with the following command:
network-clock-participate [slot number|wic number|aim number]

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

23

Configuring an ISDN PRI Trunk

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

24

Digital Voice Port Parameters


After setting up the controller you can configure voice
port parameters for the PRI voice port you just created.
You can configure:
Call Progress (CP) Tones
Compand Type

Compand type is the standard used to convert


between analog and digital signals, and will either be ulaw (North America/Japan) or a-law (everywhere else)

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

25

Digital Voice Port Parameters


Using the voice port created in the previous example
(1/0:1):
Router3(config)# voice-port 1/0:23
Router3(config-voiceport)# cptone US
Router3(config-voiceport)# compand-type u-law
Router3(config-voiceport)# no shutdown

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

26

ECHO

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

27

Echo Cancellation
Echo is the sound of your own voice reverberating in
the telephone receiver while you are talking
When timed properly, echo is not a problem in a
conversation
However, if the echo interval exceeds approximately
25ms, it can be distracting to the speaker
In the traditional telephony network, echo is generally
caused by an impedance mismatch when the four-wire
network is converted to the two-wire local loop

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

28

Talker Echo
Talker echo happens with the speech sent by a talker
sent down the transmit path is coupled into the
receiving path
Talkers then hear their own voice, delayed by the total
delay of the path
This is the most common type of echo and is a direct
result of two- to four-wire conversion

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

29

Listener Echo
Listener echo occurs at the far end and is caused by
the echo being echoed.
The voice of the talker is echoed by the receiving end,
and then echoed back again by the transmitting end
The person listening hears both the talker and the echo
of the talker
This is much less common

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

30

Echo Cancellation
An echo canceller is a tool that you can use to control
echo
An echo canceller reduces the level of echo that leaks
from the receive path into the transmit path
Echo cancellation is implemented in the DSP firmware
on Cisco voice gateways and is independent of the
other DSP configurations
Enabled using the command echo-cancel enable in
voice-port configuration mode (enabled by default)
In voice packet-based networks, echo cancellers are
built into the low-bit-rate codecs
Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

31

VOICE PACKET PROCESSING


WITH CODECS AND DSPS
Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

32

Codecs
A codec is a device or program capable of performing
encoding and decoding on a digital data stream or
signal
In essence, the codec is the method used to convert
the analog signal to a digitized, packetized format, and
back again
Various types of codecs are used to encode and
decode or compress and decompress data that would
otherwise use large amounts of bandwidth on WAN
links
Codecs are especially important on lower-speed serial
links, where every bit of bandwidth is needed
Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

33

Codecs
Capacity planning is one of the most important factors
to consider when building a voice network
You must understand how much bandwidth is used for
each VoIP call
To understand that, you must know which codec is
being used
Coding techniques are standardized by the ITU with the
ITU-T G-series codecs being the most popular
standards (G.711, G.729, etc.)

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

34

Codecs
These are the codecs supported by Cisco IOS
gateways:
G.711: The international standard for encoding telephone audio
on a 64-kbps digital channel (such as a DS0 channel on a T1).
It is a PCM scheme operating at an 8-kHz sample rate, with 8
bits per sample.
With G.711, the encoded voice is already in the correct format
for digital voice delivery in the PSTN or through PBXs
There are two subsets of the G.711 codec, -law (pronounced
mu-law) used in North America/Japan, and a-law used
everywhere else

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

35

Codecs
These are the codecs supported by Cisco IOS
gateways:
G.726: Uses a special kind of PCM called Adaptive Differential
PCM. Essentially, rather than sending the value of the current
sample we send the change in this sample from the one before
it .
Available at 40, 32, 24, and 16 kbps variants and often referred
to by the bit size of a sample (5, 4, 3, and 2 bits respectively)
G.728: Uses an algorithm called LDCELP to compress the
voice stream to 16 kbps

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

36

Codecs
These are the codecs supported by Cisco IOS
gateways:
G.729: Uses CS-ACELP voice compression algorithm to code
voice into 8 kbps streams
G.729a (Annex A) requires less computation but speech quality
is marginally worsened
G.729b (Annex B) adds support for VAD and CNG making it
more efficient in its bandwidth usage
G.729ab combines the features of Annex A and Annex B
There are also variants (Annex D and Annex E, and others) that
provide different bit rates

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

37

Codecs
These are the codecs supported by Cisco IOS
gateways:
G.723.1: Comes in two bitrates:
r63: uses 24-byte frames at 6.3 kbps
r53: uses 20-byte frames at 5.3 kbps
The higher bitrate provides a slightly better quality
GSM Full Rate Codec (GSMFR): Operates at 13 kbps. Used
with VoiceXML scripts that can be used for simple voice-mail
systems

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

38

Codecs
These are the codecs supported by Cisco IOS
gateways:
Internet Low Bit Rate Codec (iLBC): Has a payload bit rate of
13.33 kbps or 15.20 kbps. Its a free open source codec, (used
in Google Talk and many other applications).
This codec enables graceful speech quality degradation in the
case of lost frames, which occurs in connection with lost or
delayed IP packets.
In other words, when packets are lost, the speech quality is
much better when using iLBC than other low-bitrate codecs.

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

39

Impact of Voice Samples and Packet Size


on Bandwidth
Cisco uses DSPs that output samples based on 10
milliseconds worth of audio
Cisco voice equipment encapsulates 20ms of audio (2
samples) in each packet by default, regardless of the
codec used.
You can apply an optional configuration command to
vary the number of samples encapsulated.
When you encapsulate more samples per packet, the
total bandwidth is reduced (you send fewer packets)
However, encapsulating more samples per packet
comes at the risk of larger packets, which can cause
variable delay and severe gaps if packets are dropped
Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

40

Impact of Voice Samples and Packet Size


on Bandwidth
Using a simple formula, it is possible for you to
determine the number of bytes encapsulated in a
packet based on the codec bandwidth and the sample
size (20ms is the default):
Bytes_per_Sample = (Sample_Size * codec_Bandwidth) / 8

If you apply G.711 numbers, the formula reveals the


0.020 is 20ms
following:
Bytes_per_Sample = (.020 * 64000) / 8

Bytes_per_Sample = 160

There are 8 bits in a byte


G.711 is 64 kbps

Thus each sample is 160 bytes, and you would need to


send 50 of these packets each second to send 64,000
bps
Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

41

Impact of Voice Samples and Packet Size


on Bandwidth
Sample Size
30ms
20ms
30ms
20ms

30ms
20ms

30ms
20ms

30ms
20ms
30ms
20ms
30ms
20ms
30ms
20ms
Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

42

Lets Try Another Example


Calculate the PDU size (in bytes) and the packetization
rate for 20ms sample sizes of voice encoded with
G.729 (8 kbps)
Bytes_per_Sample = (Sample_Size * codec_Bandwidth) / 8
Bytes_per_Sample = (.020 * 8000) / 8

Bytes_per_Sample = 20 bytes

Packetization Rate = (codec_Bandwidth / Bytes_per_Sample) / 8


Packetization Rate = (8000 / 20) / 8
Packetization Rate = 50 packets per second (pps)

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

43

Evaluating Quality of Codecs


Mean Opinion Score (MOS) is a scoring system for
voice quality
An MOS is generated when listeners evaluate prerecorded sentences subject to various codecs
Listeners then assign values to the sentences based on
a scale from 1 to 5, where 1 is the worst and 5 is the
best. The scores are then averaged to create a
composite score
The test results are subjective because they are based
on the opinions of the listeners

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

44

Evaluating Quality of Codecs


Perceptual Evaluation of Speech Quality (PESQ) is
an automated assessment of the speech quality
Defined as ITU-T recommendation P.862 it is a
worldwide applied industry standard for objective voice
quality testing
PESQ can take into account codec errors, filtering
errors, jitter problems, and delay problems that are
typical in a VoIP network.
PESQ scores range from 1 (worst) to 4.5 (best), with
3.8 considered toll quality
PESQ replaces its predecessor, Perceptual Speech
Quality Measurement (PSQM)
Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

45

Evaluating Quality of Codecs


Perceptual Evaluation of Audio Quality (PEAQ) is a
standardized algorithm for objectively measuring
perceived audio quality, not only speech
Defined as ITU-R recommendation BS.1387, it utilizes
software to simulate perceptual properties of the human
ear
PEAQ characterizes the perceived audio quality as
subjects would do in a listening test
PEAQ results principally model MOSs that cover a
scale from 1 (bad) to 5 (excellent)
The PEAQ technology is protected by several patents
and is available under license.
Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

46

Test Method Comparison


The current standards, PESQ and PEAQ, include a
complete range of factors that would be also
considered by a subjective test.
PEAQ differs from PESQ mainly in that it is also used to
evaluate other audio types

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

47

Codec Quality
These are the average MOSs for most typical codecs
(under ideal network conditions)

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

48

Evaluating Overhead
Several factors must be included in calculating the
overhead of a VoIP call.
Layer 2, Layer 3, and security protocols significantly
add to the packet size
BW_per_call = (Voice_payload + L3/4_overhead + L2_overhead) *
Packet_ratio) * 8 bits/byte

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

49

Data Link Overhead


A significant contributing factor to bandwidth is the
Layer 2 protocol that is used to transport VoIP:
IEEE 802.3 Ethernet: Carries 18 bytes of overhead: 6 bytes for
source MAC, 6 bytes for destination MAC, 2 bytes for type, and
4 bytes for CRC
IEEE 802.1Q Ethernet: In addition to the 802.3 overhead, there
is a 32-bit (4 byte) 802.1Q header (carries the VLAN number)
PPP: Carries 4 to 8 bytes of overhead
Frame Relay: Carries 6 bytes of overhead: 2 bytes of header, 2
bytes of trailer (CRC), and 2 bytes of flags.

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

50

IP and Upper Layers Overhead


The IP and transport layers also have overhead to
contribute to the size of the packets:
IP: Adds a 20-byte header
UDP: Adds an 8-byte header
RTP: Adds a 12-byte header

Just remember that IP and the transport layers add


40 bytes under normal circumstances

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

51

VPN Overhead
VPN encapsulation adds additional overhead to the
VoIP packets
Encapsulating Security Payload (ESP): Adds typically a 50to 57-byte overhead (depending on the encryption and
authentication algorithms used)
Generic Routing Encapsulation (GRE), Layer 2 Tunneling
Protocol (L2TP): Adds a 24-byte header
Multiprotocol Label Switching (MPLS): Adds a 4-byte header
for every label carried in the packet. A label stack might include
multiple labels in an MPLS VPN or traffic engineering
environment

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

52

Bandwidth Calculation Example


This example calculates the total bandwidth for a G.711
voice call with 50 pps carried over a Frame Relay network:

G.711 has 160 bytes of payload per packet (found from the
previous formula)
Layer 3/4 is 40 bytes under normal circumstances

Frame Relay (Layer 2) adds 6 bytes of overhead


The Packet Ratio is 50 packets per second (found in the
previous formula, and also given in the example)
BW_per_call = (Voice_payload + Layer 3/4 + Layer 2) * PACKET_ratio) * 8 bits/byte
BW_per_call = (160 + 40 + 6) * 50) * 8
BW_per_call = 82,400 b/s

BW_per_call = 82.4 kbps


Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

53

Bandwidth Calculation Example


This example calculates the total bandwidth for a G.729
voice call with 50 pps carried over an Ethernet network:
G.729 uses 8 kbps (which is 20 bytes per packet from
our previous formula)
Ethernet carries 18 bytes of overhead
Layer 3/4 carries 40 bytes of overhead (typically)
BW_per_call = (Voice_payload + Layer 3/4 + Layer 2) * PACKET_ratio) * 8 bits/byte

BW_per_call = (20 + 40 + 18) * 50) * 8


BW_per_call = 31,200 b/s
BW_per_call = 31.2 kbps

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

54

Digital Signal Processors


The four major functions of Digital Signal Processors
(DSPs) in a voice gateway are as follows:
Transcoding: Direct conversion from one codec to another
Voice termination: Voice termination applies to a call that has
two call legs, one leg on a POTS connection and the second leg
on a VoIP connection
Media termination point (MTP): An MTP is an entity that
accepts two full-duplex voice streams using the same codec. It
bridges the media streams and allows them to be set up and
torn down independently
Audio conferencing: Because IP phones transmit voice traffic
directly between phones, a network-based conference bridge is
required to facilitate multiparty conferences

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

55

DSP Chip
The DSP chip comes in several form factors, the
modular packet voice DSP module (PVDM) being the
most common
The PVDM can have multiple DSPs on the module
Currently, there are two major types of high-density
PVDMs: PVDM generation 2 (PVDM2) and PVDM
generation 3 (PVDM3)
The 2800/3800 routers only support PVDM2 chips
The newer 2900/3900 routers support both types, but
not in certain combinations

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

56

Role of Digital Signal Processors


The PVDMs come in the following sizes:
PVDM2-8: Provides 0.5 DSP chip
PVDM2-16: Provides 1 DSP chip
PVDM2-32: Provides 2 DSP chips
PVDM2-48: Provides 3 DSP chips
PVDM2-64: Provides 4 DSP chips

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

57

Codec Complexity
Codec complexity refers to the amount of processing
that is required to perform voice compression
Codec complexity affects call density, which is the
number of calls that are able to be processed at once
With higher codec complexity, fewer calls can be
processed
Codecs that perform a lot of compression typically have
higher complexity

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

58

Codec Complexity

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

59

DSP Calculator
For easier DSP calculation, a DSP calculator tool is
available at the following URL (cisco.com login
required):
http://cisco-apps.cisco.com/web/applicat/dsprecal/dsp_calc.html

The tool will help you calculate how many DSP


resources are required for the expected volume of calls,
transcoding sessions, conferencing, etc.

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

60

Voice Over IP: Chapter 1 Introducing Voice Gateways

Josh Lowe Winter 2012

61

You might also like