Professional Documents
Culture Documents
323
Advanced Computer Network
SS2005
1
Outlines
1. Introduction
2. QoS in VoIP
3. H323
4. Signalling in VoIP
5. Conclusions
2
1. Introduction to VoIP
PSTN
Class 5 City B
V
IP Network Class 5
V
City A
PSTN
3
VoIP Advantages
4
VoIP Packet Format
5
2. Quality of Service (QoS )
6
VoIP Bandwidth
7
VoIP Bandwidth (cont.)
Example:
A G.729 call (8 Kbps codec bit rate) with cRTP and
the default 20 bytes of voice payload requires:
Total packet size (bytes) = (MP header of 6 bytes) + (compressed IP/UDP/RTP
header of 2 bytes) + (voice payload of 20 bytes) = 28 bytes
Total packet size (bits) = (28 bytes) * 8 bits per byte = 224 bits
PPS = (8 Kbps codec bit rate) / (160 bits) = 50 pps
(160 bits = 20 bytes (default voice payload) * 8 bits per byte
8
Delay
• CODEC
Voice Path
• Packetization
• Output queuing
Loss • Access (up) link transmission
+
Delay • Backbone network transmission
• Access (down) link transmission
• Input queuing
• Jitter buffer
• CODEC
9
Fixed Delay Components (cont.)
Propagation Delay
Serialization Delay—
Buffer to Serial Link
Processing Delay
Jitter
Buffer
• Queuing delay
• Jitter buffer
11
Jitter
Receiver
Sender
Network
A B C Receives
D1 D2 = D1 D3 = D2 t
12
Total Delay Time
missing packet
G.729 vocoder algorithm
14
QoS Remarks
15
3. H.323 Standards
16
H.323 Standards (cont.)
17
H.323 Components
H.323
MCU
GK
e
H.323
V
Gateway
PSTN ISDN
18
Gateway
19
Gatekeeper
20
Gatekeeper Mandatory Services
(cont.)
• Address Translation
Translates H.323 aliases (e.g. sliu@cisco.com) or
E.164 addresses (standard phone numbers) into IP
transport addresses (e.g. 10.1.1.1 port 1720)
• Admissions Control
Authorizes access to the H.323 network
• Bandwidth Control
Manages endpoint bandwidth requirements
• Zone Management
Provides the above functions to all terminals,
gateways, and MCUs that register to it
21
Gatekeeper Optional Services
(cont.)
• Call control signaling
Gatekeeper Routed Call Signaling (GKRCS)
• Call authorization
Restrict certain terminals, gateways, time of day
• Bandwidth management
Reject admission if bandwidth is not available
• Call management
Services include maintaining an active call list that
use to indicate busy terminals.
22
4. H. 323 Signaling
Setup
H.225 (TCP)
Alerting / Connect
Q.931
V
H.323
Gateway A Capabilities Exchange
H.245 (TCP)
Open Logical Channel V
Open Logical Channel Acknowledge H.323
Gateway B
RTP Stream
RTP Stream Media (UDP)
RTCP Stream
23
RAS Messages
24
RAS Messages (cont.)
• GRQ/GCF/GRJ (Discovery)
GRQ : A multicast message sent by a GW GRQ
looking for the GK
GCF: The reply to a GW with it‘s transport
address GCF/GRJ
• RRQ/RCF/RRJ (Registration)
RRQ : sent from GW to GK RAS
channel address
RCF : sent from GK to GW to
confirm a GW registration
25
RAS Messages (cont.)
• ARQ/ACF/ARJ (Admission)
ARQ:
– The GK assigned terminal identifier
– The type of call (point to point)
– The call model that the terminal is willing to use (direct or GK
routed)
– The destination address (Ex: E.164 address)
ACF:
– The call model in use
– The transport address and port to use for Q.931 call signalling
– The allowed bandwidth for the call
26
RAS Messages (cont.)
• DRQ/DCF/DRJ (Disconnect)
Get rid of call state
• LRQ/LCF/LRJ (Location)
Stateless name - IP address resolution
Inter gatekeeper communication
• IRQ/IRR (Information Request)
Ping during active calls
Resource information for gateways
• BRQ/BCF/BRJ (Bandwidth)
Ask for more/less bandwidth during call
• URQ/UCF/URJ (Unregistration)
Get rid of registration state
27
RAS Message Exchange
(cont.)
Gatekeeper A Gatekeeper B
LRQ
LCF
ACF ACF
IP Network
ARQ
H.225 (Q.931) Setup ARQ
H.225 (Q.931) Connect
H.245
V V
Gateway A
Gateway B
RTP Phone B
Phone A
28
H.225 Call Control (ISDN Q.931)
• Setup
Incoming call
• Call Proceeding
• Alerting
Phone is ringing
• Connect
Media cut through (used for billing)
• Release/Release Complete
Tear down call
29
H.245 System Control
• Capabilities Exchange
Exchange the capabilities between two entpoints –
entpoint‘s transmit and receive capabilities for audio,
video, data.
• Master/ Slave Determination
• Open Logical Channel/Ack
The channel is set up before the actual transmission to
ensure the entpoints are ready and capable of receiving
and decoding information.
30
SS7 Interconnect for Voice
Gateway Call Setup
SC A SC B
GW A GK A GK B GW B
PSTN/SS7 PSTN/SS7
1. IAM
2. Setup H.323
3. Call proc
4. ARQ
Phone A 5. LRQ
6. LCF
7. ACF
8. H225
Setup
9. ARQ
PSTN N x E1
N x E1 outbound
VV
V GW
E1
POP B
PSTN N x E1
VV
N x E1 V GW outbound
Router
SLT
E1
SC GK
PSTN N x E1
N x E1 outbound
VV GW
V GW
HNI
POPPOP
C
32
5. Conclusions
33
References
34