Professional Documents
Culture Documents
technology
Presentation prepared by
VoIP unit
Sri Lanka Telecom
E-mail: voip@slt.lk
For Infortel Exhibition
11th to 15th October 2006
BMICH
www.slt.lk
• What is a protocol?
• Telephony
• Circuit switching
• Important technical terms
• Public switched telephone network (PSTN)
• Internet Protocol (IP) suite
• Internet Protocol networks
• Packet switching
• What is VoIP?
• What is the need for VoIP?
• Growth opportunity for VoIP
www.slt.lk
1
What is a Protocol?
www.slt.lk
Telephony
• Telephony is “communicating at a distance”
• It is “circuit switched”, i.e., there is dedicated channel for
exchange of voice and signaling throughout the
conversation
• Reliable delivery
• End to end
www.slt.lk
2
Circuit switching
B
‘B’
‘A’rings
Calldials
established
‘B’
End to end path setup
A
www.slt.lk
www.slt.lk
3
Public Switched Public Switched Telephone
Network (PSTN)
www.slt.lk
www.slt.lk
4
Internet Protocol (IP) networks
www.slt.lk
Packet switching
In
The this
firstIPpacket
Therefore,
second network
path
packet we
takes
takenshall
takes
the by
examine
red
green
a packet
coloured how
coloured
in an packets
path
path
IP from
computer ‘A’ travels through
network changes
the IP network
according and reach
to conditions
computer ‘B’
prevailing in the network
at a particular time (eg:
congestion, failure etc)
A
www.slt.lk
5
What is VoIP?
IP network
www.slt.lk
www.slt.lk
6
Growth opportunity for VoIP
By 2007, international
VoIP expected to grow
to 127B, representing
54% of all international
traffic, including TDM
Traffic (IDC IP
Telephony Market, 2002)
www.slt.lk
• Voice signal
• Digitization
• Compression
• Transmission
• VoIP media stream
• Sampling error
• Sampling rate
• Packet delivery in VoIP
www.slt.lk
7
Voice signal
www.slt.lk
Digitization
www.slt.lk
8
Compression
www.slt.lk
Transmit
www.slt.lk
9
VoIP media stream
www.slt.lk
Sampling error
www.slt.lk
10
Sampling rate
www.slt.lk
A
www.slt.lk
11
Voice over packet data flow
www.slt.lk
www.slt.lk
12
Main types of VoIP protocols
www.slt.lk
www.slt.lk
13
H.323
www.slt.lk
H.323 components
Terminal
Video/audio/data client
MCU (Media Control Unit)
Conference control
Content mixing
Gateway
Protocol translation
Gatekeeper
Address resolution
Admission control
www.slt.lk
14
H.323 call flow
Hello
Please enter your
Calling Card
Number and PIN Billing Server
(1) User Dials
Access Number (3) AAA query
(4)AAA response
PSTN
PSTN
PSTN POP
(Country B) Other Carrier
PSTN
1st leg
Access call
www.slt.lk
PSTN POP
(Country B) Other Carrier
PSTN
1st leg
Access call
www.slt.lk
15
H.323 call flow
Hello
Billing Server
(11) Billing Start
PSTN POP
(Country B) Other Carrier
PSTN
PSTN POP
(Country B) Other Carrier
PSTN
16
MGCP / Megaco (H.248)
www.slt.lk
SIP
www.slt.lk
17
SIP components
Clients:
User Agent Client (UAC) / User Agent Server (UAS)
Originate & Terminate SIP requests
Typically an endpoint will have both UAC & UAS, UAC for
originating requests, and UAS for terminating requests
Servers:
Proxy Server - relays call signaling, i.e. acts as both
client and server, operates in a transactional manner,
i.e., it keeps no session state
Redirect Server - redirects callers to other servers
Registrar Server - accept registration requests from
users, maintains user’s whereabouts at a Location
Server
Location Server
www.slt.lk
SIP service
SIP
Servers/
Registrar Redirect Location Services
“Where is this
name/phone#?”
3xx Redirection
REGISTER “TAhey moved,
try this address” SIP Proxy
“Here I am”
Proxied INVITE
“I’ll handle it for
INVITE
you”
“I want to talk
to another UA
SIP User
Agents SIP User
Agents
SIP-GW
www.slt.lk
18
SIP methods
www.slt.lk
100 Trying
200 OK
ACK
MEDIA
BYE
200 OK
www.slt.lk
19
SIP registration process
www.slt.lk
www.slt.lk
20
SIP operation in redirect mode
www.slt.lk
SIP vs H.323
SIP H.323
Encoding textual binary
www.slt.lk
21
VoIP signaling protocol standards compared
www.slt.lk
RTP
www.slt.lk
22
RTP message format
0 1 3 8 16 31
TIMESTAMP
SYNCHRONIZATION SOURCE IDENTIFIER
CONTRIBUTING SOURCE ID
…...
www.slt.lk
RTP Encapsulation
www.slt.lk
23
RTCP
www.slt.lk
Format-specific information
Padding if P=1
www.slt.lk Length – Denotes the length of the packet contents following the common header.
24
Converged telephony network
www.slt.lk
IP Network
Physical Physical
www.slt.lk
25
Part IV - VoIP architectures
• Centralized architecture
• Distributed architecture
www.slt.lk
Centralized architecture
www.slt.lk
26
Distributed architecture
www.slt.lk
• Delay
• Jitter
• Packet Loss
• Echo
• Bandwidth
• Reliability
• Security
www.slt.lk
27
Delay
Propagation delay
Transmission delay
Coding delay
Jitter buffer delay
POTS
www.slt.lk
Threshold of Delay for VoIP is 150 ms
Jitter
www.slt.lk
28
Jitter buffer
in in in
Jitter
Protec-
tion Delay
Delay
Delay
Packet Loss
•• Packet
Packet loss
loss is
is caused
caused by by buffer/queue
buffer/queue overflow
overflow within
within the
the network
network oror by
by late
late
packet
packet arrival
arrival at
at the
the receiver
receiver oror by
by network
network failures
failures
•• For
For real-time
real-time interactive
interactive applications
applications like
like voice,
voice, this
this means
means thethe signal
signal must
must be
be
output
output without
without those
those packets.
packets.
•• Packet
Packet Loss
Loss creates
creates gaps
gaps inin voice
voice communications,
communications, which
which can
can result
result in
in
clicks,
clicks, muting,
muting, oror unintelligible
unintelligible speech.
speech.
•• What
What cancan be
be done
done toto minimize
minimize lost
lost packets?
packets?
–– QoS
QoS classification
classification to to expedite
expedite voice
voice packets
packets
–– Longer
Longer jitter
jitter buffer
buffer (trade
(trade off
off between
between delay
delay and
and distortion)
distortion)
–– Call admission control to prevent congestion
Call admission control to prevent congestion
www.slt.lk
29
Packet Loss (contd.)
www.slt.lk
Reflection
•• Echoes
Echoes areare caused
caused by by coupling
coupling between
between transmit
transmit and
and receive
receive
paths
paths (“reflection”)
(“reflection”)
•• The
The effect
effect of
of the
the echo
echo onon the
the quality
quality of
of speech
speech depends
depends upon
upon
the
the magnitude
magnitude of of the
the echo
echo and
and the
the delay
delay at
at which
which itit occurs.
occurs.
•• Echoes
Echoes areare more
more problematic
problematic in in VoIP
VoIP due
due toto the
the higher
higher delays
delays
•• Echo
Echo cancellation
cancellation is is critical
critical to
to perceived
perceived voice
voice quality
quality
www.slt.lk
30
Bandwidth
•• Bandwidth
Bandwidth is is the
the raw
raw data
data transmission
transmission
capacity
capacity of
of aa network
network
•• Bandwidth
Bandwidth required
required per
per VoIP
VoIP call
call will
will
depend
depend onon encoding
encoding standard
standard used,
used,
header
header compression,
compression, and and payload
payload size
size
•• For
For VoIP,
VoIP, bandwidth
bandwidth requirements
requirements are are
usually
usually more
more constant
constant e.g.
e.g. G.711
G.711 VoIP
VoIP Strict Priority
average Absolutely goes through,
average bandwidth
bandwidth required
required isis 100
100 kb/s
kb/s Can starve other apps!
•• Bandwidth for voice services
Bandwidth for voice services and and 8 Prot. Control
associated
associated signaling
signaling must
must take
take priority
priority over
over 7 Voice
that
that of
of best-effort
best-effort Internet
Internet traffic
traffic 6
5 Broadcast Video
4 File Transfer
Bandwidth Reduction causes both Delay 3
and Packet Loss in VoIP 2
1 Web Surfing
www.slt.lk
Reliability
•• Traditional
Traditional phones
phones areare powered
powered by by phone
phone lines
lines
and
and continue
continue toto work
work during
during aa power
power outage
outage
•• VoIP
VoIP hardware
hardware isis subject
subject outages
outages because
because itit isis
powered
powered by by household
household electricity
electricity
•• VoIP
VoIP service
service outages
outages maymay be
be caused
caused byby failures
failures
within
within the
the network
network
–– Failover
Failover strategies
strategies are
are desirable
desirable for
for cases
cases
when
when network
network devices
devices malfunction
malfunction oror links
links
are
are broken
broken e.g.
e.g. redundant
redundant equipment
equipment // links
links
–– IP
IP recovery
recovery is
is slow
slow because
because itit uses
uses protocol
protocol
to
to detect
detect and
and reroute
reroute traffic
traffic around
around failures
failures ifif
an
an alternate
alternate path
path exists
exists
X X
www.slt.lk
31
Security
Multim
edia
Server
IP
Security
Threat/
Attack
A B
www.slt.lk
www.slt.lk
32
Offering the virtual number service to Sri
Lankan people residing overseas
www.slt.lk
33