Professional Documents
Culture Documents
a VoIP network
When ITU meets IETF
Thomas(at)Kernen.Net
A quick VoIP recap
Directory Gatekeeper (DGK): Performs call routing search at
highest level (ex: country code distributes). Country codes
among other DGKs Forward LRQ (location request) to a
partner DGK if call doesn't terminate in local SP DGK
Gatekeeper (GK): Performs call routing search at intermediate
level (ex: NPA-NXX). Distributes NPA among other GKs.
Provides GW resource management (Ressource Availabilty
Indicator, gw-priority, ....)
Gateway (GW): Acts as interface between the PSTN and IP.
Normalizes numbers from PSTN before entering IP.
Normalizes numbers from the IP before entering the PSTN.
Contains the dial-peer configuration. Registers with the GK.
Basic H.323 Call
Gatekeeper A Gatekeeper B
LRQ
LCF
ACF ACF
RRQ/RCF
IP Network RRQ/RCF
Phone A Phone B
Various Codec Bandwidth
Consumptions
Encoding/ Result
Compression Bit Rate
Standard G.711 PCM 64 kbps (DS0)
Transmission A-Law/u-Law
Rate for Voice
G.726 ADPCM 16, 24, 32, 40 kbps
= 0010110101
Encode Decode
IP QoS WAN
= Sample
8 kHz (8,000 Samples/Sec)
Voice Quality of Service (QoS)
Requirements
Loss
Delay
Delay Variation (Jitter)
Loss and Delay Sources
• CODEC (Encode)
• Packetization
Voice Path • Output queuing
Loss • Access (up) link transmission
+
Delay • Backbone network transmission
+
Delay • Access (down) link transmission
Variation
• Input queuing
• Jitter buffer
• CODEC (Decode)
Delay—How Much Is Too Much?
Cumulative Transmission Path Delay
CB Zone
Satellite Quality
High Quality Fax Relay, Broadcast
Packetization
Variable Delay Components
Queuing Queuing Queuing
Delay Delay Delay
Dejitter
Buffer
Queuing delay
Dejitter buffers
56kb WAN
V
Network V
20ms 20ms
C B A
10 30 50
20ms 20ms
RTP Timestamp From Router A
Interframe gap of 20ms
C B A
20ms 80ms 10 30 50
64 kbps Line
PPP/MLPPP 6 bytes
3rd party clearinghouse with an OSP server will allow services such as
route selection, call authorization, call accounting, and inter-carrier
settlements, including all the complex rating and routing tables necessary
for efficient and cost-effective interconnections. The OSP based
clearinghouses provide the least cost and the best route-selection
algorithms based on the a wide variety of parameters.
How it works
Step 1: customer places call via the PSTN to a VoIP Gateway, which
authenticates the customer by communicating with a RADIUS server
Step 2: The originating VoIP gateway attempts to locate the termination
point within it's own network by communicating with a gatekeeper using
H.323 RAS. If there's no appropriate route, the gatekeeper tells the
gateway to search for a termination point elsewhere.
Step 3: The gateway contacts an OSP server at the 3rd party clearinghouse.
The gateway establishes an SSL connection to the OSP server and sends an
authorization request to the clearinghouse. The authorization request
contains pertinent information about the call, including the destination
number, the device ID, and the customer ID of the gateway.
Step 4: The OSP server processes the information and, assuming the
gateway is authorized, returns routing details for the possible terminating
gateways that can satisfy the request of the originating gateway.
How it works (2)
Step 5: The Clearinghouse creates an authorization
token, signs it with the certificate and private key,
and then replies to the originating gateway with a
token and up to 3 selected routes. The originating
gateway uses the IP address supplied by the
clearinghouse to setup the call.
Step 6: The originating gateway sends the token it
received from the settlement server in the setup
message to the terminating gateway.
Step 7: The terminating gateway accepts the call after
validating the token and completes the call setup.
Voice Speech Quality (VSQ)
MOS: ITU P.800 & P.830, scale from 1 (bad) to 5 (excellent),
based on human perception (subjective), most widely used by
VoIP vendors when comparing codec quality, the oldest
model.
PSQM (Perceptual Speech Quality Measurement), ITU P.861,
compares input and output speech (automated), developed by
KPN Research
PAMS (Perceptual Analysis Measurement System),
Developed by British Telecom, “Objectively” predict results
of subjective speech quality tests
PESQ (Perceptual Evaluation of Speech Quality) ITU P.862,
latest standard (January 2001), currently the most accurate
model for automated voice quality perception, improves over
PSQM and PAMS
Sources of potential VSQ problems
Delay jitter: variance in delay (zero, little or excessive delay)
Encoding and decoding of voice (PCM/ADPCM/low bit-rate
codecs/CLEP)
Time-Clipping (Front end clipping) introduced by Voice
Activity Detectors (VAD)
Temporal signal loss and dropouts introduced by packet less
Environmental noise, including background noise
Signal attenuation and gain/attenuation variances
Level clipping
Transmission channel errors
Echo: What makes it a problem?
When all of the following conditions are true,
echo is perceived as annoying:
An analog leakage path between analog
Tx and Rx paths
Sufficient delay in echo return
Sufficient echo amplitude
How the packet voice impact on
echo perception ?
PSTN WAN PSTN