code : stm#220 samsung electronics co., ltd. ip telephony system error handling & management ip...

23
Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management Distribution Englis h ED01

Upload: solomon-freeman

Post on 02-Jan-2016

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

Code : STM#220Code : STM#220

Samsung Electronics Co., Ltd.

IP Telephony System Error Handling & Management

IP Telephony System Error Handling & Management

Distribution

EnglishED01

Page 2: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

© Samsung Electronics Co., Ltd. 2

ContentsContents

Delay/LatencyDelay/Latency

JitterJitter

EchoEcho

Packet LossPacket Loss

Voice CompressionVoice Compression

OverviewOverview

Page 3: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

© Samsung Electronics Co., Ltd. 3

OverviewOverview

This book details various issues facing Voice over IP (VoIP) and explains how they can affect packet networks

The issues of IP TelephonyDelay/latency

Jitter

Echo

Packet Loss

Voice Compression

Page 4: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

© Samsung Electronics Co., Ltd. 4

Delay/LatencyDelay/Latency

Page 5: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

© Samsung Electronics Co., Ltd. 5

Delay/LatencyDelay/Latency

DefinitionThe amount of time it takes for speech to exit the speaker’s mouth and reach the listener’s ear

VoIP technologies impose a fundamental transmission delay due to packetization and the buffering of received packets before playout at the receiving endpoint

The Type of DelayHandling delay

Processing delayactual packetization, compression, packet switching

Queuing delayPackets are held in a queue because more packet are sent out than the interface

can handle at a given interval

Propagation delaySpeed of light in fiber or copper-based networksBeing almost Imperceptible to the human ear

Serialization delay

Page 6: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

© Samsung Electronics Co., Ltd. 6

Delay/LatencyDelay/Latency

First Bit Transmitted

Last Bit Received

Network

AA AA

Sender Receiver

t

PBXPBX PBXPBX

Network Transit Delay

ProcessingDelay

ProcessingDelay

End-to-End Delay

Page 7: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

© Samsung Electronics Co., Ltd. 7

Delay/LatencyDelay/Latency

Effect of Delay on Voice Quality0 to 150 ms: Acceptable for most user applications50 to 300 ms: Acceptable provided that Administrations are aware of the transmission time impact on the transmission quality of user applicationsabove 300 ms: Unacceptable for general network planning purposes; however, it is recognized that in some exceptional cases this limit will be exceeded.End to end transmission timeEncode + Packet + Queuing + Transmission + Decode + Jitter Buffer

Perceived Link Quality

Excellent Good Poor Unacceptable

0msec ~ 150 151 ~ 300 301 ~ 450 451 ~

Page 8: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

© Samsung Electronics Co., Ltd. 8

JitterJitter

Page 9: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

© Samsung Electronics Co., Ltd. 9

JitterJitter

JitterThe variation in the delay of received packets

Due to network congestion, improper queuing, or configuration errors, this steady stream can become lumpy, or the delay between each packet can vary instead of remaining constant.

Jitter can cause missing syllables or some parts of word

Page 10: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

© Samsung Electronics Co., Ltd. 10

JitterJitter

t

t

Sender Transmits

Sink Receives

AA BB CC

AA BB CC

D1 D2 = D1

Sender Receiver

Network

D3 = D2D3 = D2

Page 11: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

© Samsung Electronics Co., Ltd. 11

JitterJitter

Jitter BufferConceals interarrival packet delay variation

The Jitter Buffer adds to the end-to-end Delay

The more jitter, the larger jitter buffer needs to be compensate for the unpredictable nature of the packet network

Page 12: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

© Samsung Electronics Co., Ltd. 12

JitterJitter

Jitter Buffer

RTP Timestamp From Router AInterframe gap of 20ms

AA

Sender Receiver

IPNetworkVV VV

BB CC

RouterA RouterB

10 30 50

20ms 20ms

RTP Timestamp From Router AVariable Interframe Gap (Jitter)

AA BB CC10 30 50

20ms 80ms

RTP Timestamp From Router ADelitter Buffer removes Variation

AA BB CC10 30 50

20ms 20ms

Page 13: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

© Samsung Electronics Co., Ltd. 13

EchoEcho

Page 14: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

© Samsung Electronics Co., Ltd. 14

EchoEcho

What?In a phone conversation, you hear your own voice repeatedThe audible leak-through of your own voice into your own receive (return) path.

CauseEcho is normally occurred by impedance mismatch

Two basic characteristics of echoThe louder the echo (echo amplitude), the more annoying it isThe longer the round-trip delay (the “later” the echo), the more annoying it is

Echos must be delayed by at least 25 ms to be audibleEchos arriving after very short delays(25 ms) are masked by the physical and elec

trical sidetone signal

VoiceNetwork

sender Receiver

Tx Sender’s voice Rx

Rx Receiver’s voice Tx

Echo of sender’s voice

Page 15: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

© Samsung Electronics Co., Ltd. 15

EchoEcho

Locating an EchoLeak-through happens only in the analog portion of the network

Analog signals can leak from one path to another, or acoustically trough the air from a loudspeaker to the a microphone

Voice traffic in the digital portions of the network dose not leak from one path into another

The analog signals that represent bits can tolerate a lot of distortion

PBX PBX

WAN

GW GW

FXO:FXS FXO:FXS

E&M E&M

Analog(echo signal returns

too quickly to be audible)

Digital(long delay, >30

ms each direction)

Analog (Tail circuit)(good candidates for

echo sources)

sender Receiver

Page 16: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

© Samsung Electronics Co., Ltd. 16

EchoEcho

Effects of Network Elements on EchoLoudness

The loudness contributes to echo

Hybrid TransformersEcho sources are points of signal leakage between analog transmit and

receive pathsHybrid transformers are often prime culprits for this signal leakageAnalog signals can be reflected in the hybrid transformer in the tail circuitEnsure that output and input impedances are matched between the

hybrid and the terminating device

TelephonesExtending the digital transmission segments closer to the actual

telephone will decrease the potential for echo

RoutersNetwork delay increase user annoyance for an echo of equal strengthAdding router does not cause echo; it exacerbates existing echo problem

Page 17: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

© Samsung Electronics Co., Ltd. 17

Packet LossPacket Loss

Page 18: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

© Samsung Electronics Co., Ltd. 18

Packet LossPacket Loss

Packet LossPacket loss in data networks is both common and expected

When putting critical traffic on data networks, it is important to control the amount of packet loss in that network

pingPing plotterchariot

When putting voice on data network, it is important to build a network that can successfully transport voice in a reliable and timely manner

The suggested rate of packet loss that is allowed for VoIP communication is 3% or less

< 1% < 3%

> 3%

Business Communication Quality

The Rate of Packet loss

Page 19: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

© Samsung Electronics Co., Ltd. 19

Voice Compression Voice Compression

Page 20: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

© Samsung Electronics Co., Ltd. 20

Voice Compression Voice Compression

Digitizing Voice: PCM Waveform EncodingNyquist Theorem: sample at twice the highest frequency

Voice frequency range: 300-3400 HzSampling frequency = 8000/sec (every 125us)Bit rate: (2 x 4 Khz) x 8 bits per sample = 64,000 bits per second (DS-0)

By far the most commonly used method

PCM64 Kbps

= DS-0

Page 21: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

© Samsung Electronics Co., Ltd. 21

Voice CompressionVoice Compression

Voice CompressionObjective: reduce bandwidth consumption

Compression algorithms are optimized for voice

Drawbacks/tradeoffsQuantization distortionTandem switching degradationDelay (echo)

Voice coding standardsCompression method Bit rate

(Kbps)Sample Size

(ms)MOS Score

G.711 PCM 64 0.125 4.1

G.726 ADPCM 32 0.125 3.85

G,728 Low Delay Codec Excited Linear Predictive (LD-CELP) 15 0.625 3.61

G.729 Conjugate Structure Algebraic Codec Excited Linear Predictive (CS-ACELP) 8 10 3.92

G.729a CS-ACELP 8 10 3.7

G.723.1 MP-MLQ 6.3 30 3.9

G.723.1 ACELP 5.3 30 3.65

Page 22: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

© Samsung Electronics Co., Ltd. 22

Voice CompressionVoice Compression

Voice Compression Technologies

Bandwidth(Kbps)

Quality

UnacceptableUnacceptable BusinessQuality

BusinessQuality

TollQuality

TollQuality

8

16

32

24

64

0

*PCM (G.711)

*PCM (G.711)

*ADPCM 32 (G.726)

*ADPCM 32 (G.726)

*ADPCM 24 (G.726)

*ADPCM 24 (G.726)

*ADPCM 16 (G.726)

*ADPCM 16 (G.726) *

LDCELP 16 (G.728)*

LDCELP 16 (G.728)

*CS-ACELP 8 (G.729)

*CS-ACELP 8 (G.729)*

LPC 4.8*

LPC 4.8

(Cellular)(Cellular)

Page 23: Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution

Samsung Electronics Co., Ltd.