• No results found

Understanding Voice over IP Protocols

N/A
N/A
Protected

Academic year: 2021

Share "Understanding Voice over IP Protocols"

Copied!
43
0
0

Loading.... (view fulltext now)

Full text

(1)

Understanding Voice over IP

Protocols

Cisco Systems—Service Provider Solutions Engineering February, 2002

(2)

Topics to Discuss

History of VoIP

VoIP—Early Adopters

VoIP—Standards and Standards Bodies

VoIP—Making Sense of the Protocols

“The Great Voice Myth”

VoIP—Protocol Challenges

(3)

Why Move to VoIP?

Cost savings—toll bypass

Open standards—H.323, SIP, MGCP

Multi-vendor interoperability

(4)

Cisco Packet Voice Architecture

TDM/ Circuit Switch TDM/ Circuit Switch Digital Trunk Digital Trunk Subsystem Subsystem Line Line Concentration Concentration Administration Administration Maintenance Maintenance Billing Billing Call Control Call Control Connection Control Connection Control Features Features Common Channel Common Channel Signaling Complex Signaling Complex Switching Network Standards

Standards--Based Based

Packet Infrastructure Layer

Packet Infrastructure Layer

(IP, ATM) (IP, ATM)

Open Call Control Layer

Open Call Control Layer

(SIP, H.323, MGCP, etc.) (SIP, H.323, MGCP, etc.) Open Service Open Service Application Layer Application Layer

(JAIN, AIN, TAPI, (JAIN, AIN, TAPI, JTAPI, XML etc.) JTAPI, XML etc.) Open/Standard Interface Open/Standard Interface

(5)

Topics to Discuss

History of VoIP

VoIP—Early Adopters

VoIP—Standards and Standards Bodies

VoIP—Making Sense of the Protocols

“The Great Voice Myth”

VoIP—Protocol Challenges

(6)

Early Adopters—

Advanced Services and Toll-Bypass

Regulatory opportunities allowed for toll-bypass

PC-to-phone, calling-card and international fax

services

Cisco-based carriers used standard protocols, but not all carriers implemented standards

Inter-carrier connections had protocol

(7)

Topics to Discuss

History of VoIP

VoIP—Early Adopters

VoIP—Standards and Standards Bodies

VoIP—Making Sense of the Protocols

“The Great Voice Myth”

VoIP—Protocol Challenges

(8)

Making the Rules for VoIP

IETF (Internet Engineering Task Force)

The community of engineers that standardizes the protocols that define how the Internet and Internet Protocols work. http://www.ietf.org/

ITU (International Telecommunications Union)

An international organization within the United Nations System where governments and the private sector

coordinate global telecom networks and services.

(9)

Defining the VoIP Protocols

H.323

An ITU Recommendation that defines “Packet-based multimedia

communications systems”. H.323 defines a distributed architecture for creating multimedia applications, including VoIP

SIP

Defined as IETF RFC 2543. SIP defines a distributed architecture for creating multimedia applications, including VoIP

MGCP

Defined as IETF RFC 2705. MGCP defines a centralized architecture for creating multimedia applications, including VoIP

H.248

An ITU Recommendation that defines “Gateway Control Protocol”. H.248 is the result of a joint-collaborate with the IETF. H.248 defines a centralized architecture, and is also known as “Megaco”

Megaco

(10)

Topics to Discuss

History of VoIP

VoIP—Early Adopters

VoIP—Standards and Standards Bodies

VoIP—Making Sense of the Protocols

“The Great Voice Myth”

VoIP—Protocol Challenges

(11)

H.324 Terminal H.324 Terminal H.323 Gatekeeper H.323 Gatekeeper Packet Network H.323 Terminal H.323 Terminal H.323 Gateway H.323 Gateway H.323 MCU H.323 MCU Scope of H.323 PSTN ISDN V.70 Terminal V.70 Terminal Speech Terminal Speech Terminal H.320 Terminal H.320 Terminal Speech Terminal Speech Terminal

H.323 Components

e GK

(12)

Scope of H.323 Recommendation

Video Codec H.261, H.263 Call Control H.225.0 System Control System Control Audio Codec G.711, G.722, G.723, G.728, G.729 RAS Control H.225.0 RTP RTCP H.245 Control Audio I/O Equipment User Data Applications T.120, etc. System Control User Interface Video I/O Equipment H.225 Layer UDP TCP UDP IP Receive Pain Delay (Sync)

(13)

Media (UDP) RTP Stream RTP Stream RTCP Stream RTCP Stream H.323 Endpoint A H.245 (TCP Dynamic Port) Open Logical Channel

H.225 (TCP Port 1720) Setup

Alerting / Connect

Open Logical Channel Acknowledge Capabilities Exchange / MSD RTP Stream RTP Stream H.323 Endpoint B V V V V

H.323 Signaling

(14)

Gatekeeper A Gatekeeper B RRQ/RCF ARQ RRQ/RCF LRQ IP Network Phone A Gateway A Gateway B H.225 (Q.931) Setup

H.225 (Q.931) Alert and Connect H.245 RTP ACF LCF V V

Basic H.323 Call

V V ARQ ACF Phone B

(15)

Midwest Zone Midwest Zone Chicago GW Chicago GW Local PSTN Local PSTN

Deploying H.323 Networks

West Zone West Zone

Addition of new rate centersMinimizes GK configurationAddition of new zones

DGKAddition of new NPAs

LA GW #1 LA GW #1 Rate Center #1 Rate Center #1 Rate Center #1 Rate Center #1 LA GW #2 LA GW #2 Intra-LATA Toll Intra-LATA Toll GK GK GK East Zone East Zone NY GW NY GW Local PSTN Local PSTN

(16)

MGCP/H.248/Megaco—Architectures

PSTN Call Agent SS7 Access Gateway MGCP / H.248 / Megaco IMT PRI RTP Call Agent P S T N P S T N

(17)

Deploying MGCP/H.248/Megaco

Networks

Modem Dial-up Traffic Traditional TDM Traffic CA MGCP and ISDN Backhaul Service Provider's TDM Network Service Provider's Packet Network MG MG TDM Voice NAS/VoIP ISDN/PRI OSS OSS Billing and Measurement Server Billing and Measurement Server SLT VoIP MG SS7 Backhaul SS7 STP PSTN IMTs

(18)

SIP Architecture

SIP User Agents (UA) Application Services eMail LDAP Oracle XML SIP SIP RTP (Media) SIP CPL CPL 3pcc PSTN CAS or PRI I N T E L L I G E N T S E R V I C

SIP Proxy, Registrar & Redirect Servers

(19)

SIP VoIP Network Calling Party PSTN Called Party PSTN Signaling Signaling Bearer Or Media Bearer Or Media

SIP Signaling

Media (UDP) INVITE 100 Trying 180 Ringing 100 Trying RTCP Stream RTCP Stream INVITE 200 OK 200 OK 180 Ringing ACK ACK SIP Signaling and SDP Signaling (UDP or TCP)

(20)

SIP Servers/Services

SIP Servers/Services

SIP User Agents

Registrar Redirect DatabaseLocation

SIP Proxy SIP Servers/ Services REGISTER “Here I am” INVITE

“I want to talk to another UA

Proxied INVITE

“I’ll handle it for you” “Where is this

name/phone#?”

3xx Redirection

“They moved, try this address”

SIP User

(21)

Central Zone Central Zone Chicago POP Chicago POP West Zone West Zone SF POP SF POP PSTN 312 East Zone East Zone NY POP NY POP PSTN 212 PSTN

Deploying SIP Networks

(22)

Topics to Discuss

History of VoIP

VoIP—Early Adopters

VoIP—Standards and Standards Bodies

VoIP—Making Sense of the Protocols

“The Great Voice Myth”

VoIP—Protocol Challenges

(23)

Voice Myths

Networks can only be built one way

Networks will only use one protocol

All networks will converge

VoIP allows centralized or distributed

architectures

H.323, SIP, MGCP and H.248/Megaco will all be present in VoIP

networks

Networks will converge to IP

(24)

Topics to Discuss

History of VoIP

VoIP—Early Adopters

VoIP—Standards and Standards Bodies

VoIP—Making Sense of the Protocols

“The Great Voice Myth”

VoIP—Protocol Challenges

(25)

Interconnecting VoIP Networks

?

?

SIP

SIP

H.323

H.323

MGCP MGCP H.248 H.248 Megaco Megaco

(26)

Connecting VoIP to SS7/C7 Networks

INVITE ACK SDP SDP H.323 MGCP MGCP SIP SIP IAM CRCX ACK SDP SDP H.225 Setup (ANI,DN) Proceeding H.245 H.245

(27)

VoIP Interworking Issues

Service interworking

E.g.: H.450 <-> SIP <-> MGCP

Media interworking

End-to-end codec negotiation

Bearer interworking

(28)

VoIP Interworking

Bearer level Modem (relay/passthru) Fax (relay/passthru) T.38 T.37 DTMF (relay/passthru)Media level Codec (negotiation, selection)Service translation issues Call deflection Park/holdSignal issues SDP H.245

(29)

Fax and Modem Passthru Mechanisms

Modem and fax are control mechanisms based on PLL (Phase Locked Loops)

They are both time sensitive

Highly sensitive to packet network impairments:

Jitter

Packet loss Delay

Susceptible to clock slew (clock sync differences between gateways)

(30)

IP Cloud Voice Gateway Voice Gateway G.711µ G.729 G.729 G.711µ PCM G.711µ PCM G.711µ

Passthru Simplified

DSP DSP DSP DSP

(31)

What Is Modem Passthru?

It is the transport of modem signals

(modulation, error correction and

compression) through a packet network

using PCM encoded packets

(32)

Modem Passthru (Cont.)

Modem tone detection (<= V.90)

Switchover signaling

No VAD

EC off

RTP payload redundancy (10ms

packetization) RFC2198 (optional)

(33)

Modem Passthru Issues

Consecutive packet drops (loss) cause retrain

Consecutive drops during retrain causes disconnect

Variation of delay (jitter) has quite an effect

Jitter (at 10%) is a

conservative estimate— Since jitter mostly impacts performance with packet loss

(34)

What Is Modem Relay?

Modem relay involves

demodulating the modem signal at ingress gateway

Passing this data as packet data to terminating gateway

Re-modulating the data and passes it to the receiving modem

(35)

Fax Relay—T.38

Real-time

Also called demod/remod

Can be used in H.323/MGCP/SIP signaling

Delivers fax data over UDP streams (uses same RTP port)— reuses voice UDP ports

Fallback to proprietary mode

PSTN PSTN PSTN PSTN IP T.30 UDP T.30

(36)

DTMF

What is DTMF

Why is it required?

and where is it used?

How do you transport

it in IP?

(37)

DTMF (Cont.)

In TDM world, all voice traffic is sent as

uncompressed 64Kbs PCM streams; anything sent on that circuit is an untouched stream of bits; (e.g., voice speech, modem tones, fax tones, and DTMF digits)

DSP codecs designed to interpret human

speech, can distort DTMF tones (machine-tones)

High b/w codecs less likely to distort

Distortion causes problems with voicemail and IVR systems

(38)

DTMF Schemes with VoIP Protocols

H.323

H.323 MGCP, H.248,

Megaco

MGCP, H.248,

Megaco SIPSIP

In-Band

In-Band In-BandIn-Band In-BandIn-Band In-BandIn-Band

Out-of-Band Out-of-Band Cisco RTP, H.245 Alphanum, H.245 Signal, AVT Tones RFC2833 Cisco RTP, H.245 Alphanum, H.245 Signal, AVT Tones RFC2833 Cisco RTP, NSE, NTE,RFC2833 Cisco RTP, NSE, NTE,RFC2833 RFC2833RFC2833

(39)

Topics to Discuss

History of VoIP

VoIP—Early Adopters

VoIP—Standards and Standards Bodies

VoIP—Making Sense of the Protocols

“The Great Voice Myth”

VoIP—Protocol Challenges

(40)

Summary

Understand the possibilities and the issues

Avoid protocol/product based bias

Decide on application

Consider market and business drivers

Deploy what’s possible today

Choose signaling protocol

depending on services intended to be offered

(41)

Crystal Ball on VoIP

All three protocols (or its variations)

are here for the long run

Changes/enhancements will be made

(42)

Reference URLs

ITU:

www.itu.org

IETF:

www.ietf.org

SIP:

www.cs.columbia.edu/~hgs/sip/

H.323:

www.packetizer.com/iptel/h323/

MGCP:

www.softswitch.org/asp/techlibrary

_protocol.asp?page=techlibrary

(43)

References

Related documents

The displacement of the existing ground by the penetrating poker allows the construction of granular columns with high friction angle, so that the composite soil mass has a

The ability to reference a type library with this tool saves valuable time otherwise required when searching using the Project &gt; References command in your Visual Basic

Winskel, editors, Proceedings of the 25th International Col- loquium on Automata, Languages and Programming, volume 1443 of Lecture Notes in Computer Science, pages 235–246.

Service Provider TDM  Trunks Evaluation for Future ‐eIMS Media Gateway Service Provider IP  Phone TDM  Trunks TDM  Phone Media Gateway Media Gateway Communication Manager

Πόσο σημαντική ήταν αυτή η λατρεία στο παρελθόν φαίνεται καθαρά από την αυστηρή τιμωρία, την ορισμένη από τους Γερμανικούς νόμους για όποιον

The PAR2000 recommended development of an “official” web site, managed and maintained by CRQ airport noise abatement staff, to disseminate VNAP and other noise related

Welcome to the online exhibitor service kit for the upcoming Saltwater Fishing Expo being held at the Garden State Exhibit Center on March 18-20, 2016.. This letter

Exhibitors who choose to bring their freight to the exhibit hall on set-up and move-in day must arrange with Carden Convention Service Company for use of the services of