Professional Documents
Culture Documents
Introduction To Voice and Telephone Technology
Introduction To Voice and Telephone Technology
0985_05f9_c1
401
0985_05f9_c1
Voice is an Application
Complete understanding of Voice
Application fundamentals helps us to
design and build better Networks
401
0985_05f9_c1
Objective
401
0985_05f9_c1
Agenda
Basic Analog Telephony
Basic Digital Telephony
Voice Coding and Compression
Techniques
Voice Transport and Delay
Supplemental Slides: Digital Voice
Signaling Techniques
401
0985_05f9_c1
Telephony Equipment
Telephone set
Key system
Optimizes use of telephone sets to lines
Mechanical to electronic
Two to ten telephone handsets is typical
Analog Telephony
Connection Basics
Tip
Ring
Sleeve
401
0985_05f9_c1
Telephone
Switch
Local
Loop
Local
Loop
DC Voltage
Open Circuit
No Current Flow
401
0985_05f9_c1
DC Current
Dial Tone
Telephone
Switch
Local
Loop
401
0985_05f9_c1
Local
Loop
Pulses or
Tones
DC Current
Telephone
Switch
Local
Loop
401
0985_05f9_c1
10
Telephone
Switch
DC Current
Local
Loop
401
0985_05f9_c1
Address
to
Port
Translation
Local
Loop
11
401
0985_05f9_c1
DC Open Cct.
Ringing Tone
Telephone
Switch
Local
Loop
12
Telephone
Switch
Voice Energy
DC Current
Local
Loop
401
0985_05f9_c1
Local
Loop
13
Analog TelephonySignaling
Supervisory
Addressing
Call progress
401
0985_05f9_c1
14
Analog Telephony
Supervisory Signaling
Switch
401
0985_05f9_c1
Switch
Loop start
Ground start
Almost all
telephones
Switch Trunk
Lines
Current flow
sensed
Momentary
ground ring lead
15
Loop Start
Station
DC Current
Ringing
401
0985_05f9_c1
AC
Switch
Switch
Switch
16
E&M Signaling
PBXs, switches
Separate signaling leads for each direction
E-Lead (inbound direction)
M-Lead (outbound direction)
Allows independent signaling
401
0985_05f9_c1
State
E-Lead
M-Lead
On-Hook
Open
Ground
Off-Hook
Ground
Battery Voltage
17
Dial Pulse
DTMF
Analog Transmission
In-Band Signaling
09, *, # (12 Digits)
401
0985_05f9_c1
ISDN
Digital Transmission
Out-of-Band
Message-Based
Signaling
18
Pulse Dialing
Off-Hook
Dialing
Inter-Digit
Next Digit
Make
(Circuit Closed)
Break
(Circuit Open)
700 ms
US:60/40 Break/Make
Pulse Period
(100 ms)
401
0985_05f9_c1
19
Tone Dialing
Dual Tone Multifrequency (DTMF)
401
0985_05f9_c1
1209
1336
1477
1633
697
770
852
941
20
10
.2
Tone Dialing
Signals
401
0985_05f9_c1
Frequency
(K-Hertz)
Systems Control
Signals
21
Switching Systems
Manual ControlSwitch/Cord Boards
Off-Hook Indicator
Tip
Ring
Patch Cord
Pairs
Manual Ring
401
0985_05f9_c1
22
11
Central
Office
40,000 to
50,000 Lines
401
0985_05f9_c1
Serving
Area
Boundary
23
Class Name
2
4C
4P
4C
4C
4X
4P
4P
5R
5R
4X
Regional Center
Sectional Center
Primary Center
4C
Toll Center
4P
Toll Point
4X
Interm. Point
End Office
5R
EO w/ RSU
R
401
0985_05f9_c1
24
12
Serving Area
510-NXX-XXX
Class 5
Class 5
Switch
Switch
OPX
Off-Premises
Ext.
415-577-3801
510-655-1400
FX
Foreign Exchange
ARD
Auto Ring Down
401
0985_05f9_c1
25
Listener
Delay
Talker Echo
Listener Echo
401
0985_05f9_c1
26
13
Central Office
Receive
Direction
2w-4w
Hybrid
Transmit
Direction
27
Transmit
Direction
2w-4w
Hybrid
2w-4w
Hybrid
Central Office
Central Office
Reflected
Signal
401
0985_05f9_c1
Receive
Direction
14
29
Echo suppresser
Acts like a noise gate, effectively
making communications half-duplex
401
0985_05f9_c1
30
15
Echo Canceler
Most Effective Means for Removing Echo
Echo Cancelled
Here
Voice Endpoint
E/C
Received
Voice
Signal
+
Echo Canceler
Block Diagram
401
0985_05f9_c1
Adaptive
Filter
31
Summary
401
0985_05f9_c1
32
16
Agenda
Basic Analog Telephony
Basic Digital Telephony
Voice Coding and Compression
Techniques
Voice Transport and Delay
Supplemental Slides: Digital Voice
Signaling Techniques
401
0985_05f9_c1
33
Digital Telephony
Digital Trunking
Switch
Switch
Analog Loop
Digital Network
Switch
POTS
A to D
Conversion
ISDN
401
0985_05f9_c1
34
17
Digital Telephony
Pulse Code ModulationNyquist Theorem
Voice Bandwidth =
200 Hz to 3400 Hz
Sampling Stage
= Sample
Codec Technique
401
0985_05f9_c1
ALaw (Europe)
10010011011
Stage 1
Law (USA)
Quantizing Stage
401
0985_05f9_c1
36
18
OUTPUT
8,000 Frames per Second
(1 Frame per 125 s)
Analog or Digital
Interface Cards
Ch. 1
Ch. 2
Ch. 3
Ch. 4
Ch. 5
Ch. 6
Framing
Bit
(8000 per Second)
Ch 1 Ch 2 Ch 3
Ch 4 Ch 5
Ch 6
Next Frame
Framing
Bit
Ch 24
Chs 7-23
Ch 1, etc
T1
Multiplexer
Chs.
7-23
Ch. 24
Each Input
Represents
64 kbps
401
0985_05f9_c1
37
Framing
Bits
Frame
Number
1
2
3
4
5
6
7
8
9
10
11
12
Framing Bit
Value
1
0
0
0
1
1
0
1
1
1
0
0
SignalingBit
Use Options
Traffic
Signaling
Bits 17
Bit 8
Bits 17
Bit 8
Common Channel
Signaling (ISDN)
uses TS 24
401
0985_05f9_c1
38
19
Fe
DL
BC
C1
C2
C3
C4
C5
C6
SignalingBit
Use Options
Traffic
Signaling
16
Bits 17
Bit 8
Bits 17
Bit 8
Bits 17
Bit 8
Bits 17
Bit 8
D
39
In-Band Audio
Address Signaling
(DTMF)
401
0985_05f9_c1
Bit
A
B
C
D
Supervision
On/Off Hook
Frame
6th
12th
18th
24th
Address Signaling
(Dial Pulse)
40
20
64 Kbps Signaling
Channel in TS24
of Each Frame
(e.g. ISDN D Channel
Q.931 Messages)
In-Band Audio
Address Signaling
(DTMF)
401
0985_05f9_c1
41
Digital Telephony
Synchronization
Bit synchronization
Primary reference source
Ones density
Time-slot synchronization
Bits/bytes/channels
Frame alignment
193rd Bit Pattern
401
0985_05f9_c1
42
21
Digital Telephony
Synchronization
One Multiframe (ESF)
3 ms
12
24
1 Frame,
125s, 193bits 24 Time Slots
1
12
24
1 Channel Time
Slot, 5.18s
401
0985_05f9_c1
43
SynchronizationTraditional
Network Clocking Strata
Master Clock
Stratum
PRS
Timing
Toll Office
Timing
Timing
Timing
End Office
End Office
DCS
3
PBX
PBX
4
401
0985_05f9_c1
44
22
Agenda
Basic Analog Telephony
Basic Digital Telephony
Voice Coding and Compression
Techniques
Voice Transport and Delay
Supplemental Slides: Digital Voice
Signaling Techniques
401
0985_05f9_c1
45
46
23
Business
Quality
Toll
Quality
*
PCM (G.711)
64
PCM (G.711)
(Cellular)
Bandwidth
(Kbps)
32
* (G.726)
ADPCM 32
*
24
16
ADPCM 24 (G.726)
*
*
ADPCM 16 (G.726) LDCELP 16 (G.728)
8
0
CS-ACELP* 8 (G.729)
* LPC 4.8
Quality
401
0985_05f9_c1
47
Speech-Coding Schemes
Waveform coders
Non-linear approximation
of the actual waveform
Examples: PCM, ADPCM
Vocoders
Synthesized voice
Example: LPC
Hybrid coders
Linear waveform approximation
with synthesized voice
Example: CELP
401
0985_05f9_c1
48
24
Waveform Coders
Subjective
Quality 3
(MOS)
2
Vocoders
1
2
Score
5
4
3
2
1
401
0985_05f9_c1
16
Kbps
32
Quality
Description of Impairment
Excellent
Good
Fair
Poor
Bad
Imperceptible
Just Perceptible, not Annoying
Perceptible and Slightly Annoying
Annoying but not Objectionable
Very Annoying and Objectionable
64
1998,
1999, Cisco
Cisco Systems,
Systems, Inc.
Inc.
49
Channel Simulation
Impairment
Codec X
Level
Level of
of Speech
Speech Quality
Quality
Distortion
Distortion
Excellent
Imperceptible
Good
Fair
Poor
Unsatisfactory
401
0985_05f9_c1
50
25
401
0985_05f9_c1
51
Output
Input
Input
Nonlinear Encoding
Linear Encoding
401
0985_05f9_c1
52
26
Encoding
Quantizing
Filtering
Sampling
1110010010010110
Waveform
ENCODER
401
0985_05f9_c1
Waveform
DECODER
53
Voice Compression
Objective: reduce bandwidth consumption
Compression algorithms are optimized for voice
Unlike data compression: these are loose
Drawbacks/tradeoffs
Quantization distortion
Tandem switching degradation
Delay (echo)
401
0985_05f9_c1
54
27
Voice CompressionADPCM
Adaptive Differential Pulse
Code Modulation
Waveform coding scheme
Adaptive: automatic companding
Differential: encode the changes
between samples only
Rates and bits per sample:
32 Kbps = 8 Kbps x 4 bits/sample
24 Kbps = 8 Kbps x 3 bits/sample
16 Kbps = 8 Kbps x 2 bits/sample
401
0985_05f9_c1
55
Voice CompressionCELP
Code excited linear predictive
Very high voice quality at low-bit rates,
processor intensive, use of DSPs
G.728: LD-CELP16 Kbps
G.729: CSA-CELP8 Kbps
G.729a variant stripped down 8 kbps
(with a noticeable quality difference)
to reduce processing load, allows two
voice channels encoded per DSP
401
0985_05f9_c1
56
28
PCM
Decoder
Filtering
11100100100101
Sampling
1
Quantizing
Sample
Encoding
Frames
VocalCords
Throat
Nose
Mouth
Human
Speech
Model
401
0985_05f9_c1
Model
Parameters
Model
Parameters
10110010
Parameters
Analysis
Synthesis
57
G.729
Cake
A/D
Cake
IngredientsDirections
A-sound Play K, A,
K-sound and K
58
29
59
- 31 dbm
B/W Saved
Voice
Activity
(Power
Level)
Hang Timer
No Voice
Traffic Sent
SID
SID Buffer
- 54 dbm
Pink Noise
Voice Spurt
Silence
Voice Spurt
Time
401
0985_05f9_c1
60
30
Bandwidth Requirements
Voice Band Traffic
Encoding/
Compression
G.711 PCM
A-Law/
A-Law/
-Law
64 kbps (DS0)
G.726 ADPCM
G.729 CS-ACELP
8 kbps
G.728 LD-CELP
16 kbps
G.723.1 CELP
401
0985_05f9_c1
Result
Bit Rate
6.3/5.3 kbps
Variable
61
Agenda
Basic Analog Telephony
Basic Digital Telephony
Voice Coding and Compression
Techniques
Voice Transport and Delay
Supplemental Slides: Digital Voice
Signaling Techniques
401
0985_05f9_c1
62
31
63
Relative
Load
Data Is 23x
Voice
Traffic
30
25
20
Data
15
10
Data Is 5x
Voice Traffic
5
0
1990
Voice
1995
2000
2005
Year
Source: Electronicast
401
0985_05f9_c1
64
32
Local
CO
Class-5 DS0
Switch
DS1
DS0
Class-4
Switch
DS3
DS0
Switching
Class-4
Switch
DS1
DS3
DS0
DS3
DS3
401
0985_05f9_c1
Customer
Premise
DS0
DS1
DS0
3/1 DACS
DS3
DS3
DS1
SONET
ADM
SONET
ADM
OC-3/12
Class-5
Switch
DS1
Transport
3/1 DACS
DS1
Local
CO
Interexchange
OC-48
OC-48
OC-48
OC-3/12
65
Utilization
PBX
Wasted Bandwidth
Legacy
5060%
LAN
Video
Wasted bandwidth
No congestion
401
0985_05f9_c1
66
33
Utilization
Q
U
E
U
E
Legacy
9095%
LAN
Cells/Frames/Packets
Video
Individual Packets
67
Delay
Sender
PBX
Receiver
Network
PBX
First Bit
Transmitted
Last Bit
Received
A
Processing
Delay
A
Network
Transit
Delay
t
Processing
Delay
End-to-End Delay
401
0985_05f9_c1
68
34
Delay VariationJitter
Sender
Receiver
Network
Sender Transmits
t
A
D1
401
0985_05f9_c1
D2 = D1
Sink Receives
D3 = D2
69
Description
0150
150400
400+
70
35
Delay in Perspective
Cumulative Transmission Path Delay
CB Zone
Satellite Quality
Fax Relay, Broadcast
High Quality
0
100
200
300
400
500
600
700
800
Time (msec)
Delay Target
401
0985_05f9_c1
71
72
36
Queuing
Delay
Queuing
Delay
Dejitter
Buffer
Queuing delay
Dejitter buffers
Variable packet sizes
401
0985_05f9_c1
73
An Example
Assumptions:
We have eight trunks
We are going to use CS-ACELP that uses
8 Kbps per voice channel
Our uplink is 64 Kbps
Voice is using a high priority queue and
no other traffic is being used
401
0985_05f9_c1
74
37
Delay Calculation
Los
Coder Delay Queuing Delay
Angeles
25 ms
6 ms
Propagation
Delay32 ms
Dejitter Buffer
50 ms
Munich
Variable
Delay
5 msec
20 msec
21 msec
3 msec
32 msec
Variable
Delay
Component
Total
50 msec
110 msec
75
82
76
38
Delay Calculation
Site B
Fixed
Delay
Variable
Delay
Site A
Delay #1
DELAY #1
Coder Delay G.729
Packetization Delay
25 msec
3 msec
32 msec
50 msec
Private Line
Network
21msec
Delay #2
Tandem Switch
Delay #1 Total
110 msec
Site C
401
0985_05f9_c1
77
Delay Calculation
Site B
Fixed
Delay
DELAY #1 Total
Variable
Delay
Site A
Delay #1
110 msec
DELAY #2
Coder Delay G.729
Packetization Delay
25 msec
Private Line
Network
0.1 msec
.7 msec
5 msec
50 msec
Delay #2 Total
80 msec
Total Delay
190 msec
Delay #2
Site C
401
0985_05f9_c1
78
39
79
Summary
Voice traffic engineering principles
still apply
Packet-based voice trunks can
provide efficiency with high quality if
properly engineered
The biggest impact on voice quality
over a data network will be as a result
of the delay and delay variation
401
0985_05f9_c1
80
40
Voice is an Application
Complete understanding of Voice
Application fundamentals helps us to
design and build better Networks
401
0985_05f9_c1
81
Agenda
Basic Analog Telephony
Basic Digital Telephony
Voice Coding and Compression
Techniques
Voice Transport and Delay
Supplemental Slides: Digital Voice
Signaling Techniques
401
0985_05f9_c1
82
41
ISDN
Q.930/Q.931
Signaling System 7
Voice addressing
401
0985_05f9_c1
83
ISDN
Integrated Services Digital Network
Part of a network architecture
Definition for the access to the network
Allows access to multiple services
through a single access
Standards-based
ITU recommendations
Proprietary implementations
401
0985_05f9_c1
84
42
Network Access
Traditional Access
Public Packet-Switched Network
PSTN (CO Lines)
800
Tie Trunks
FX
Private Lne Data
Customer
Equipment
(PBX)
ISDN Access
Customer
Equipment
(PBX)
401
0985_05f9_c1
Telephone
Switch
85
Terminology
401
0985_05f9_c1
86
43
Terminology (Cont.)
87
Terminology (Cont.)
88
44
Terminology (Cont.)
89
TE1
NT1
S/T
TE2
BRA
TA
R
TE1
Carrier
.
.
R
S
TE2
TE2
TA
NT2
(PBX)
.T
.
U
PRA
Customer Premises
401
0985_05f9_c1
NT1
Local Loop
90
45
NT1
Terminates local loop
Coding and transmission conversion
Maintenance and performance
monitoring
Functions as a CSU
401
0985_05f9_c1
91
TE2
Non-ISDN compatible equipment
Requires TA
TA
Interfaces available for different TE2
E.g. RS-232, X.21, V.35, PC-Bus, video, etc.
401
0985_05f9_c1
92
46
NT2
Typically a PBX
Provides switching functions
Handles Layer 2 and Layer 3 protocols
401
0985_05f9_c1
93
Access to ISDN
At the S-reference point:
RJ-45 (receive and transmit pair)
Optional power can be provided
for TE devices
Distance:
1 Km (1 x TE only),
200 m (8 x TE), 500 m (4 x TE)
94
47
Access to ISDN
At the U-Reference point (BRA)
Standards differ NA, France,
UK vs. Germany vs. Japan
In North America, designed to use as
much of existing copper plant available
Two wire, unloaded local loops are
99% of total
Up to 5.5 Km loop length
95
D Channel
ISDN Access Protocols are carried in the D channel
Layer 2 and Layer 3 protocol specifications
Protocol specifications are identical for BRA and PRA
Layer 3, Q.930/931
Call setup, call supervision, call tear down, and
supplementary services
Uses standard set of messages to communicate
401
0985_05f9_c1
96
48
D-Channel Encapsulation
Layer 3
Layer 2
Protocol
Length of
Discriminator Call Reference
Flag
Address Control
Layer 1
401
0985_05f9_c1
Call
Reference
Message
Type
Information
CRC
Information
Elements
Flag
D Channel
(16 Kbps or 64 Kbps)
97
Call Information
Call Clearing
Alerting
Call proceeding
Connect
Connect ack
Progress
Setup
Setup ack
401
0985_05f9_c1
Hold
Hold ack
Hold reject
Resume
Resume ack
Resume reject
Retrieve
Retrieve ack
Retrieve reject
Suspend
Suspend ack
Suspend reject
User information
Disconnect
Release
Release complete
Restart
Restart ack
Miscellaneous
Congestion control
Facility
Information
Notify
Register
Status
Status inquiry
98
49
PBX1
BRI
Switch
PRI
DSS1
Transmission
Network
Switch
PRI
Signaling System 7
PBX2
DSS1
99
Switch
SSP
Switch
SSP
SS7
SCP
Signaling Network
Voice
Transmission
Switch
STP
STP
STP
STP
PBX1
SSP
STP
401
0985_05f9_c1
Voice
and
ISDN
Signaling PRI
SCP
100
50
SS7 Components
SCP
Network 1
SCP
SSP
Network 2
STP
STP
STP
STP
SCP
SCP
SSP
SSP
SSP
Voice Trunk
Signaling Link
401
0985_05f9_c1
Network Addressing
LEC 1-609-555-1234
IXC
555-1234
LEC
PSTN
E.164 Addressing
1-609-5551234 Dials:
9+1-609-555-1234
555-1234
PBX
PBX
Dials:
8+555-1234
555-1234
555-1234
VCI/VPI
1234
1234
VCI/VPI
WAN
401
0985_05f9_c1
102
51
Agenda
Basic Analog Telephony
Basic Digital Telephony
Voice Coding and
Compression Techniques
Voice Transport and Delay
Supplemental Slides: Digital Voice
Signaling Techniques
401
0985_05f9_c1
103
Thank You!
Q & A
Please Fill Out
Evaluation Forms
THANK YOU!
401
0985_05f9_c1
104
52
401
0985_05f9_c1
105
401
0985_05f9_c1
106
53