CCNP ONT Notes

4 Apr 2008

Chapter 1: Cisco VOIP Implementations

Benefits of packet telephony:

Packet telephony components:

Analog interfaces:

Phone call stages:

  1. Call setup - Call routing, CAC, parameter negotiation (IP addresses, UDP ports, codec)
  2. Call maintenance - Statistics and error collection
  3. Call tear-down - Notification of call end, frees resources on control devices

Call control:

Analog to Digital Conversion

  1. Sampling - Capturing voice as a Pulse Amplitude Modulation (PAM) stream
  2. Quantization - Assigning numeric value to each sample in a PAM stream
  3. Encoding - Representation of the quantized values in binary format
  4. Compression (optional)

The Nyquist theorem states that an analog signal must be sampled at at least twice its highest frequency to be accurately reconstructed by the receiving end; a 4KHz voice signal is sampled at 8KHz.

Comparing codec quality:

Codecs:

Digital Signal Processors (DSPs) are processors dedicated to processing voice, and are found in pluggable Packet Voice DSP Modules (PVDMs).

DSP services:

Bandwidth Utilization

Overhead: IP (20 bytes) + UDP (8 bytes) + RTP (12 bytes) = 40 bytes

Overhead can be greatly reduced by using Compressed RTP (cRTP), which requires only 2 bytes (4 bytes with checksum).

Because of the processor overhead involved, cRTP should only be used on slow links.

VOIP bandwidth calculation:

  1. Determine the codec and packetization period (samples per packet)
  2. Determine protocol overhead (cRTP, tunneling, etc)
  3. Calculate the packetization size (amount of voice data per packet)
  4. Add the lower layer protocol headers to calculate the total frame size (RTP/UDP/IP or cRTP + IPsec, etc)
  5. Calculate the packet rate (inverse of packetization period) in packets per second
  6. Calculate total bandwidth (#4 multiplied by #5)

Voice Activity Detection (VAD) detects silence on the line and momentarily stops generating data to conserve bandwidth.

Cisco Unified CallManager Functions

Survivable Remote Site Telephony (SRST) provides bare VOIP services to branch phones should the connection to a central CallManager be lost

© 2008 PacketLife.net