29
Introduction to VoIP 1 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public IP Telephony Cisco Networking Academy Program

Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Introduction to VoIP

1© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Cisco Networking Academy Program

Page 2: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Requirements of Voice in an IP Internetwork

2© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Internetwork

Page 3: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

IP Internetwork

3© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• IP is connectionless.

• IP provides multiple paths from source to destination.

Page 4: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Packet Loss, Delay, and Jitter

• Packet loss

Loss of packets severely degrades the voice application.

• Delay

VoIP typically tolerates delays up to 150 ms before the

4© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

VoIP typically tolerates delays up to 150 ms before the quality of the call degrades.

• Jitter

Instantaneous buffer use causes delay variation in the same voice stream.

Page 5: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Consistent Throughput

• Throughput is the amount of data transmitted between two nodes in a given period.

• Throughput is a function of bandwidth, error performance, congestion, and other factors.

5© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• Tools for enhanced voice throughput include:

Queuing

Congestion avoidance

Header compression

RSVP

Fragmentation

Page 6: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Reordering of Packets

6© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• IP assumes packet-ordering problems.

• RTP reorders packets.

Page 7: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Reliability and Availability

• Traditional telephony networks claim 99.999% uptime.

• Data networks must consider reliability and availability requirements when incorporating voice.

7© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• Methods to improve reliability and availability include:

Redundant hardware

Redundant links

UPS

Proactive network management

Page 8: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Gateways and Their Roles

8© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 9: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Analog vs. Digital

9© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 10: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Gathering the Requirements

• Is an analog or digital gateway required?

• What is the required capacity of the gateway?

• What type of connection is the gateway going to use? Is Foreign Exchange Office (FXO), FXS, E&M, T1, E1, PRI, or BRI signaling required?

• What signaling protocol is used? H.323, Media Gateway Control

10© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• What signaling protocol is used? H.323, Media Gateway Control Protocol (MGCP), or session initiation protocol (SIP)?

• Is voice compression a part of the design? If so, which type?

• Are direct inward dialing (DID), calling line identification (CLID), modem relay, or fax relay required?

• Is the device acting only as gateway or as gateway and router/LAN switch? Is inline power for IP Phones required?

• Is remote site survivability required?

• To which country is the hardware shipped?

Page 11: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Enterprise Gateway Considerations—Remote Site

11© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 12: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Enterprise Gateway Considerations—Central Site

• Dial plan integration

• Voice-mail integration

• Gateway for PBX interconnect

• Inline power requirements for IP Phones

12© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• Inline power requirements for IP Phones

Page 13: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Service Provider Gateway Considerations

• Signaling interconnection type

SS7 supports a high volume of call setup.

• Carrier-class performance

Gateways must have redundancy and QoS support.

13© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Gateways must have redundancy and QoS support.

• Scalability

Gateways must support rapid growth.

Page 14: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Encapsulating Voice in IP Packets

14© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 15: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Major VoIP Protocols

15© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 16: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

VoIP Protocols and the OSI Model

16© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 17: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Real-Time Transport Protocol

• Provides end-to-end network functions and delivery services for delay-sensitive, real-time data, such as voice and video

• Works with queuing to prioritize voice traffic over other traffic

17© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

other traffic

• Services include:

Payload-type identification

Sequence numbering

Time stamping

Delivery monitoring

Page 18: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Real-Time Transport Control Protocol

• Monitors the quality of the data distribution and provides control information

• Provides feedback on current network conditions

• Allows hosts involved in an RTP session to

18© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• Allows hosts involved in an RTP session to exchange information about monitoring and controlling the session

• Provides a separate flow from RTP for UDP transport use

Page 19: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

RTP Header Compression

19© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• RTP header compression saves bandwidth by compressing packet headers across WAN links.

Page 20: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

When to Use RTP Header Compression

20© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• Narrowband links

• Slow links (less than 2 Mbps)

• Need to conserve bandwidth on a WAN interface

Page 21: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Calculating Bandwidth Requirements

21© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 22: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Bandwidth Implications of Codec

22© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 23: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Impact of Voice Samples

23© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 24: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Data Link Overhead

• Ethernet

18 bytes overhead

• MLP

6 bytes overhead

24© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

6 bytes overhead

• Frame Relay

6 bytes overhead

Page 25: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Security and Tunneling Overhead

• IPSec

50 to 57 bytes

• L2TP/GRE

24 bytes

25© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

24 bytes

• MLPPP

6 bytes

• MPLS

4 bytes

Page 26: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Specialized Encapsulations

• X.25 over TCP/IP

• IPv6 over IPv4

• L2F

• Others…

26© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• Others…

Page 27: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Total Bandwidth Required

27© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 28: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

Effect of VAD

28© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 29: Introduction to VoIP - Leaman · 2009-05-05 · Introduction to VoIP IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Cisco Networking Academy Program

29© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony