VoIP (PPT)

35
VoIP { Voice Over IP }

Transcript of VoIP (PPT)

Page 2: VoIP (PPT)
Page 3: VoIP (PPT)
Page 4: VoIP (PPT)
Page 5: VoIP (PPT)

What is VoIP?

The transportation of packets containing voice data over a network (LAN, WAN or internet).

Page 6: VoIP (PPT)

Why is it Important?

• Voice over IP does not just mean “voice.”– Video, data conferencing

• Cost• Convergence

– Using high-speed internet connection for all voice, video, and data communications.

• Reduce maintenance costs• Reduce deployments costs

• Home has more options in service choices• Increased functionality

Page 7: VoIP (PPT)

Better Use of Resources{ Beating a Dead Horse }

Page 8: VoIP (PPT)

How Does it Work?• Sound heard by computer at rate of 8,000 times per

second or more• Uses CODEC (ulaw, alaw, gsm, ILBC, and others)

– Speech CODECs are optimized to improve spoken words at the expense of sounds outside the frequency range of human speech

• Placed into data packets – a single packet will contain 10 or more milliseconds (20 or 30 is more common)

• PLC (Packet Loss Concealment) compensated for by CODEC– Redundancy– FEC (Forward Error Correction)

• Delay – Jitter

Page 9: VoIP (PPT)

How Does it Work?

Page 10: VoIP (PPT)

The Wireless Version

VOWi-Fi

Page 11: VoIP (PPT)

PSTN = Public Switched Telephone Networks

IMS = IP Multimedia Subsystem

Page 13: VoIP (PPT)

SIP

• Simple – SIP has only six methods

• Transport-independent (application-layer):– Can be used with UDP, TCP, and more.

• Readable – text based

{ Session Initiation Protocol }

Page 14: VoIP (PPT)

SIP{ Session Initiation Protocol }

Provides necessary protocol mechanisms so that end systems and proxy servers can provide services

• call forwarding, including• equivalent to 700, 800, and 900 type calls• address-translation services

• number delivery, where numbers can have naming scheme• personal mobility

• the ability to reach a party under a single, location-independent address when the user changes terminals

• negotiation• caller can be given choice how to reach the party

• Internet telephony, mobile phone, answering service• caller and called authentication• invitations to multicast conferences

Page 15: VoIP (PPT)

pulver.com

Proxy server

nortel.com

[email protected]

1. INVITE sip:[email protected] SIP/2.0 From: sip:[email protected]

Location Server

jeff

.pu

lve

r

pu

lve

r@v

on

1

2. INVITE sip:pulver@von1 SIP/2.0 From: sip:[email protected]. SIP/2.0 200 ok From: sip:pulver@von1

pulver@von1

4. SIP/2.0 100 OK From: sip:[email protected]

5. ACK sip:[email protected] SIP/2.0 From: sip:[email protected]

6. ACK sip:pulver@von1 SIP/2.0 From: sip:[email protected]

SIP Proxy Mode

Page 16: VoIP (PPT)

1. INVITE sip:[email protected] From: sip:[email protected]

2. SIP/2.0 320 Moved temporarily Contact: sip:[email protected]

nortel.com

[email protected]

pulver.com

Redirect Server

Location Server

Je

ff.p

ulv

er

pu

lve

r@v

on

1

4. INVITE sip:[email protected] From: [email protected]

3. ACK sip:[email protected] From: sip:[email protected]

5. SIP/2.0 200 OK To: [email protected]

6. ACK sip:[email protected] From: sip:[email protected]

Pulver@von1

SIP Redirect Mode

Page 17: VoIP (PPT)

• Can be stateful or stateless

Hybrid Proxy Is Best Alternative

Proxy Server Redirect

Page 18: VoIP (PPT)

Stateful Proxy Servers

• Maintains call context • Replicates User Agent Server/User Agent Client to

process requests/responses• Call state and transaction state can be maintained

• Forking proxies require state • TCP proxies must be stateful for reliability• Enhanced services require state for execution• Can populate billing information

Services Dictate Statefulness of Proxy

Page 19: VoIP (PPT)

Stateless Proxy Servers

• No call context • Response is not based on User Agent replication• Provides client anonymity • Restricted gateway access • High processing capacity • Allows for easier replication than stateful proxy• Can have semi-stateful proxy for ultimate benefits

Stateless Proxies Geared for Capacity

Page 20: VoIP (PPT)

• Can be stateful or stateless• Flexible, network service

implemenations

• Reliability achieved through replication

• Scalability achieved through partitioning

• Overload potential if not properly scaled

• Hybrid (semi-stateful) model provides maximum benefits

• High capacity

• Minimal state overhead

• Service execution pushed to client

Hybrid Proxy Is Best Alternative

Proxy Server Redirect

Page 21: VoIP (PPT)

H.323

• Complex• Easier to look at H.323 and SIP

comparisons than to try to understand ‘how it works’ in a brief period of time– (big debate)

Page 22: VoIP (PPT)
Page 23: VoIP (PPT)

What does that mean?!

• Scalability: SIP• Reliability: H.323• Speed: SIP• Standardized: H.323• Most Flexibility with Services: SIP• Low Complexity: SIP• Features (as of right now): H.323

Everyone is biased!

Page 24: VoIP (PPT)

Commercial Break{please stay tuned for your regularly scheduled broadcasting

Page 25: VoIP (PPT)

Some Problems

• Reliability• Quality

– Example: NATs prove to be big problem

Page 26: VoIP (PPT)

STUN{ Simple Traversal of UDP through NAT }

• Used in residential NATs

• allows for P2P connection through the NAT

• Not 100% reliable

• Does not work with Enterprise NATs (Symmetric)

Page 27: VoIP (PPT)

STUN

Page 28: VoIP (PPT)

TURN

• Uses relay server to connect to single peer behind the NAT

• 100% Reliable• Comes at great cost

– Access bandwidth– Delay

{ Traversal Using Relay NAT }

Page 29: VoIP (PPT)

ICE

• Basically says to use STUN if at all possible, only using TURN as a last resort.

{ Interactive Connectivity Establishment }

Page 30: VoIP (PPT)

one smart decision amongmany many stupid ones

Please stay tuned for the conclusion of your program, just after this

Page 31: VoIP (PPT)

Problems with VoIP• Bandwidth Dependency

– No internet = no phone– Poor connection = hate– Shared connection = unpredictable

• Power Dependency– No power = no router/modem/ATA = no phone– No power = no 911

• Voice Quality– Delays, noise, echoes, strange sounds– Less robust than PSTN

• Milliseconds mean everything

Page 32: VoIP (PPT)

Security Problems

• Phreaking– Encryption is not common in SIP

• Eavesdropping

• Viruses and Malware– Soft-phones

• DOS (Denial of Service)• SPIT (Spamming over Internet Telephony)

– Easy to send to thousands of IP addresses (leads to phishing)

• Call Tampering• Man-In-the-Middle Attacks

– Particularly vulnerable

Page 33: VoIP (PPT)

Recent Legal News

• Patents– Verizon won $58 million patent suit against Vonage– Web Telephony filed patent lawsuit with Verizon,

Vonage, AT&T, EarthLink, and SunRocket

• DoT clamp down in India– unlicensed foreign service providers

Page 34: VoIP (PPT)

In Conclusion, why use VoIP?

Because even Jack Bauer Needs it

Page 35: VoIP (PPT)

The End