Delivering reliable VoIP Services



Similar documents
International Telecommunication Union. Common VoIP Metrics. Alan Clark. CEO, Telchemy

Application Notes. Introduction. Contents. Managing IP Centrex & Hosted PBX Services. Series. VoIP Performance Management. Overview.

Application Note. Pre-Deployment and Network Readiness Assessment Is Essential. Types of VoIP Performance Problems. Contents

Application Notes. Contents. Overview. Introduction. Echo in Voice over IP Systems VoIP Performance Management

Service Level Agreements for VoIP Alan Clark CEO, Telchemy

Application Notes. Introduction. Sources of delay. Contents. Impact of Delay in Voice over IP Services VoIP Performance Management.

Managing ^ VoIP Quality and Performance

SIP Trunking and Voice over IP

Application Notes. Performance Management & Enterprise IP Telephony. Introduction. Contents. Managing Enterprise IP Telephony. Series.

Curso de Telefonía IP para el MTC. Sesión 2 Requerimientos principales. Mg. Antonio Ocampo Zúñiga

VoIP Bandwidth Considerations - design decisions

Quality of Service (QoS) and Quality of Experience (QoE) VoiceCon Fall 2008

12 Quality of Service (QoS)

Application Note. Introduction. Definition of Call Quality. Contents. Voice Quality Measurement. Series. Overview

Requirements of Voice in an IP Internetwork

Indepth Voice over IP and SIP Networking Course

5. DEPLOYMENT ISSUES Having described the fundamentals of VoIP and underlying IP infrastructure, let s address deployment issues.

Voice over IP Basics for IT Technicians

VoIP from A to Z. NAEO 2009 Conference Cancun, Mexico

QoS issues in Voice over IP

Troubleshooting Common Issues in VoIP

Voice over IP (VoIP) Basics for IT Technicians

Broadband Networks. Prof. Dr. Abhay Karandikar. Electrical Engineering Department. Indian Institute of Technology, Bombay. Lecture - 29.

Your new VoIP Network is working great Right? How to Know. April 2012 WHITE PAPER

An Introduction to VoIP Protocols

Understanding Latency in IP Telephony

VOICE OVER IP AND NETWORK CONVERGENCE

Applied Networks & Security

Basic principles of Voice over IP

Network Simulation Traffic, Paths and Impairment

Voice over IP (VoIP) for Telephony. Advantages of VoIP Migration for SMBs BLACK BOX blackbox.com

MOS Technology Brief Mean Opinion Score Algorithms for Speech Quality Evaluation

Network administrators must be aware that delay exists, and then design their network to bring end-to-end delay within acceptable limits.

Performance Evaluation of VoIP Services using Different CODECs over a UMTS Network

Encapsulating Voice in IP Packets

Goal We want to know. Introduction. What is VoIP? Carrier Grade VoIP. What is Meant by Carrier-Grade? What is Meant by VoIP? Why VoIP?

Quality of Service Testing in the VoIP Environment

Course 4: IP Telephony and VoIP

Application Note. IPTV Services. Contents. TVQM Video Quality Metrics Understanding IP Video Performance. Series. Overview. Overview...

STANDPOINT FOR QUALITY-OF-SERVICE MEASUREMENT

Agilent Technologies Performing Pre-VoIP Network Assessments. Application Note 1402

Voice over IP. Overview. What is VoIP and how it works. Reduction of voice quality. Quality of Service for VoIP

Planning Networks for VOIP. An Introduction

Fundamentals of VoIP Call Quality Monitoring & Troubleshooting. 2014, SolarWinds Worldwide, LLC. All rights reserved. Follow SolarWinds:

TECHNICAL CHALLENGES OF VoIP BYPASS

1 There are also private networks including leased-lines, analog PBXs

Tech Note. Introduction. Definition of Call Quality. Contents. Voice Quality Measurement Understanding VoIP Performance. Title Series.

Hands on VoIP. Content. Tel +44 (0) Introduction

CompTIA Convergence Examination Objectives

Combining Voice over IP with Policy-Based Quality of Service

Clearing the Way for VoIP

Case in Point. Voice Quality Parameter Tuning

Application Note. IPTV Services. Contents. Title Managing IPTV Performance Series IP Video Performance Management. Overview IPTV Services...

Project Code: SPBX. Project Advisor : Aftab Alam. Project Team: Umair Ashraf (Team Lead) Imran Bashir Khadija Akram

Voice and Fax/Modem transmission in VoIP networks

Playout Controller QoS at the IP Edge Points For networks with packet loss and jitter Henrik Åström GLOBAL IP SOUND

VoIP Analysis Fundamentals with Wireshark. Phill Shade (Forensic Engineer Merlion s Keep Consulting)

B12 Troubleshooting & Analyzing VoIP

Aarti Iyengar Solutions Architect Polycom

Comparison of Voice over IP with circuit switching techniques

PERFORMANCE ANALYSIS OF VOIP TRAFFIC OVER INTEGRATING WIRELESS LAN AND WAN USING DIFFERENT CODECS

IP Telephony (Voice over IP)

QoS in VoIP. Rahul Singhai Parijat Garg

How To Understand The Differences Between A Fax And A Fax On A G3 Network

Active Monitoring of Voice over IP Services with Malden

Application Note How To Determine Bandwidth Requirements

Testing Voice Service for Next Generation Packet Voice Networks

Testing VoIP on MPLS Networks

Troubleshooting VoIP and Streaming Video Problems

Configuring Voice Quality Monitoring in AOS

Using the ClearSight Analyzer To Troubleshoot the Top Five VoIP Problems And Troubleshooting Streaming Video

Module10. Monitoring. MVA Jump Start

Network Connection Considerations for Microsoft Response Point 1.0 Service Pack 2

Evaluating Data Networks for Voice Readiness

Optimizing Converged Cisco Networks (ONT)

Planning an IP Network for Voice and Data

EdgeMarc 4508T4/4508T4W Converged Networking Router

Voice over IP Probe! for Network Operators and! Internet Service Providers

Monitoring and Troubleshooting VoIP Networks with a Network Analyzer

Internet Technology Voice over IP

How To Deliver High Quality Telephony Over A Network

Receiving the IP packets Decoding of the packets Digital-to-analog conversion which reproduces the original voice stream

Assessing the quality of VoIP transmission affected by playout buffer scheme and encoding scheme

Call Admission Control and Traffic Engineering of VoIP

Traffic Characterization and Perceptual Quality Assessment for VoIP at Pakistan Internet Exchange-PIE. M. Amir Mehmood

Voice Over IP Per Call Bandwidth Consumption

Glossary of Terms and Acronyms for Videoconferencing

Cisco Networks (ONT) 2006 Cisco Systems, Inc. All rights reserved.

ZyXEL V100 Support Notes. ZyXEL V100. (V100 Softphone 1 Runtime License) Support Notes

Synchronization Essentials of VoIP WHITE PAPER

White Paper. D-Link International Tel: (65) , Fax: (65) Web:

SIP Trunking Manual Technical Support Web Site: (registration is required)

Technote. SmartNode Quality of Service for VoIP on the Internet Access Link

IP Telephony Deployment Models

Transcription:

QoS Tips and Tricks for VoIP Services: Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com 1

Objectives Clear understanding of: typical problems affecting VoIP service quality industry best practices for monitoring quality and diagnosing problems approaches to mitigating quality problems Guidance on: Performance management architecture Pre-deployment and requirements definition Deployment/ integration testing Operations 2

Outline Brief VoIP outline/ update Problems affecting VoIP/ VoWiFi performance Tools for Measuring and Diagnosing Problems Performance Management Architecture Approaches to improve performance Planning guidelines 3

Voice over IP - One technology - many services VoIP over WiFi VoIP over Cellular Residential VoDSL PacketCable Managed Voice/Data Services Residential Overlay Services Hosted PBX -> IP Centrex Enterprise IP Telephony Common VoIP Core Videoconf, P2T, IM. Carrier Backbone Today 4

Components of an IP Telephony System Softswitch/ Call Management IP-POTS Trunking / Media Gateway IP Phone IP IP IP IP-IP POTS Phone IP Phone 5

Inside an IP Phone or Gateway Jitter buffer Network IP UDP TCP RTP CODEC Echo Control Handset Or PCM trunk Call Signaling 6

Call Quality Problems Packet Loss Jitter (Packet Delay Variation) Codec distortion Delay (Latency) Echo Signal Level Noise Level.. and various combinations thereof!! 7

Residential VoIP scenario Data application User -> Network Softphone IP Network Analog or IP phone User <- Network 8

Anatomy of a Router or Residential Gateway Arriving voice & data packets from LAN Packet Routing Output queue Packets sent serially over access link Short fixed length voice Packets Longer variable length data packets Voice packet delayed by one or more data packets 9

Effects of queuing delays in access routers Max delay (ms) 400 350 300 250 200 150 100 Added delay due to wait for data packets to be sent = Jitter 1 x 1500 byte MTU 2 x 1500 byte MTU 3 x 1500 byte MTU 50 0 0 500 1000 1500 2000 Transmission speed (kbits/s) 10

Jitter leads to Packet discard On time Delayed by congestion Jitter Buffer Jitter buffer adds delay Packets played out at regular intervals Late arriving packet may be discarded 11

Packet Loss vs Jitter Low levels of jitter absorbed by jitter buffer Higher levels of jitter cause adaptive jitter buffer to grow - increases delay Very high levels of jitter lead to packets being discarded If packets are discarded by the jitter buffer as they arrive slightly too late they are regarded as discarded If packets are discarded within the network or arrive extremely late they are regarded as lost 12

Data traffic is BURSTY 500 Web access Email Bandwidth ( kbit/ s ) 400 300 200 100 0 Congestion Voice Data 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Broadband connection 13

Leads To Time Varying Call Quality 500 Bandwidth (kbit/s) 400 300 200 100 0 High jitter/ loss/ discard Voice Data 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 5 4 MOS 3 2 1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Time 14

Codecs and Packet Loss Concealment Algorithms t milliseconds Codec or Vocoder Codeword 1100 101010 n samples RTP One or more voice frames Or codewords per packet Translates a block of speech samples to a codeword/ frame G.711 -> 1 sample -> 8 bit codeword G.729A -> 80 samples -> 80 bit codeword/frame G.723.1 5.3kbps -> 240 samples -> 160 bit codeword/frame 15

Codec performance Frame Bitrate Effective bitrate MOS G.711 10mS 64k 98k 4.1 G.711 20mS 64k 81k 3.6 G.723.1 30mS 5.3k 16k 3.6 G.729A 10mS 8k 42k 3.9 G.729A 20mS 8k 25k 3.9 16

Packet Loss Concealment Algorithms Lost Lost Estimated By PLC Estimated By PLC Problems - PLC estimate is based on last frame, only good for approx 20-30mS - Discontinuity when next frame received 17

Codec performance 5 4 G.711 no PLC G.711 PLC G.729A ACR MOS 3 2 1 0 5 10 15 20 Packet Loss/Discard Rate 18

Echo Problems Gateway IP Echo Canceller Acoustic Echo Round trip delay - typically 50mS+ Line Echo Additional delay introduced by VoIP makes existing echo problems more obvious 19

Echo problems Echo with very low delay sounds like sidetone Echo with some delay makes the line sound hollow Echo with over 50mS delay sounds like. Echo Echo Return Loss 55dB or above is good 25dB or below is bad 20

Causes of Delay Accumulate and encode External delay Transmission delay plus Congestion related delay IP UDP TCP RTP CODEC Echo Control Call Signaling Jitter buffer Decode & Playout RTP CODEC Echo Control IP UDP TCP Call Signaling 21

Impact of Delay Conversational problems Echo problems 5 4 MOS Score 3 2 55dB Echo Return Loss 35dB Echo Return Loss 1 0 100 200 300 400 500 600 Round trip delay (milliseconds) 22

Signal Level Problems Amplitude Clipping occurs -- speech sounds loud and buzzy -16 dbm0-36 dbm0 Temporal Clipping occurs with VAD or Echo Suppressors -- gaps in speech, start/end of words missing 23

Issues related to Wireless Handoffs between access points Short gaps as call is handed from one access point to another Jitter due to retransmissions 802.11 uses retransmission to improve reliability For low signal strength - leads to increased jitter Delay events during speed changes? 24

Example - RSSI and Jitter for 802.11b WLAN 300 250 200 150 100 RSSI Jitter 50 0 25 450 0 25 50 75 100 125 150 175 200 225 250 275 300 325 350 375 400 425 Delay (ms) & RSSI Time

OK - so what do I do about it? Tools for measuring VoIP performance VoIP QoS reporting protocols and the VoIP performance management architecture Equipment requirements Integrated performance monitoring Priority queuing in routers Better jitter buffer and PLC algorithms in endpoints Design guidelines 26

Tools for measuring VoIP performance VoIP Specific Analog signal based Active Test - Measure test calls VQmon ITU G.107 ITU P.862 (PESQ) Passive Test - Measure live calls VQmon ITU P.VTQ ITU P.563 27

Accuracy and Processing Time comparison Less accurate 2.0 1.0 P.563 Accuracy +/- MOS 0.5 0.3 0.1 VQmon P.862 More accurate Less cost 0.1 1.0 10 100 More cost Processing load (MIPS) 28

VQmon - passive monitoring application Embedded in midstream probe, analyzer, router Embedded in IP phone or gateway VQ VQ IP VQ Embedded in trunking gateway or Session/Border Controller VQmon Jitter Buffer Analog parameters MOS scores CODEC PLC Models Perceptual Model Metrics Calculation R factors Diagnostic data 29

VQmon - active test application Embedded in midstream probe, analyzer, router Embedded in IP phone or gateway VQ VQ IP VQ Embedded in trunking gateway or Session/Border Controller IP Network Jitter Buffer Payload Analysis VQmon MOS scores R factors RTP Generation Audio payloads Diagnostic data 30

PESQ - active test application Tested segment of connection IP PESQ Audio files Time align FFT FFT Compare PESQ Score 31

Active or Passive Testing? Active testing works for pre-deployment testing and on-demand troubleshooting But!!!! IP problems are transient Passive monitoring Monitors every call made Captures information on transient problems Provides data for post-analysis Therefore - you need both 32

VoIP Performance Management Framework Call Server and CDR database Network Management System VoIP Endpoint Signaling Based QoS Reporting VQ Network Probe, Analyzer or Router VQ SNMP Reporting VQ VoIP Gateway Embedded Monitoring RTP stream (possibly encrypted) Media Path Reporting (RTCP XR) Embedded Monitoring 33

VoIP Performance Management Framework Embedded monitoring function in IP phones, residential gateways. Close to the user Least cost + widest coverage Protocol support developed RTCP XR (RFC3611), SIP, MGCP, H.323, Megaco Draft SNMP MIB Works in encrypted environments Already being deployed by equipment vendors 34

The role of RTCP XR RTCP XR (RFC3611) - Provides a useful set of metrics for VoIP performance monitoring and diagnosis - Supports both real time monitoring and post-analysis - Extracts signal level, noise level and echo level from DSP software in the endpoint - Exchanges info on endpoint delay and echo to allow remote endpoint to assess echo impact - Provides midstream probes/ analyzers access to analog metrics if secure RTP is used - Goes through firewalls 35

RTCP XR - RFC3611 - VoIP Metrics block Loss Rate Discard Rate Burst Density Gap Density Burst Duration (ms) Round Trip Delay (ms) Gap Duration (ms) End System Delay (ms) Signal level RERL Noise Level Gmin R Factor Ext R MOS-LQ MOS-CQ Rx Config - Jitter Buffer Nominal Jitter Buffer Max Jitter Buffer Abs Max 36

Residential VoIP service application - passive Passive monitoring functions Web based reporting SIP Softphone VQ End of call report via SIP SIP phone VQ RTCP XR exchange VQ PSTN Analog phone VQ Residential Gateway IP Network 37

Applying RTCP XR Metrics Discard occurs in 1-2 second bursts Typically access link congestion Signal level > -10dBm0 Too loud, volume problem in handset or voice port in gateway, could cause clipping Signal level < -30dBm0 Too quiet, gaps in speech Noise level > -55dBm0 Noisy signal (background or equipment?) RERL < 55dBm and Delay > 50mS Echo problem Delay > 300mS (End system + network) Conversational difficulty 38

Residential VoIP service application - active Active test points Web based reporting SIP Softphone AQ SIP phone RTCP XR exchange Active Test Server Analog phone AQ Residential Gateway IP Network AQ 39

Minimizing / Mitigating problems Careful network design Improved PLC algorithms and robust codecs Prioritizing voice traffic Call admission control 40

Network design Many problems can be easily predicted Enough bandwidth? Too many interfering data sources? No QoS controls? Useful tools Application notes (e.g. Telchemy s Six Steps ) Simulation tools Predeployment testing tools 41

Technologies for improving QoS Priority queues for Voice traffic Admission control Improved Codec/PLC algorithms 42

Priority queuing in routers Arriving voice & data packets from LAN Short fixed length voice Packets Longer variable length data packets Packet Routing & Classification Data output queue Packets sent serially over access link Voice sent first Voice output queue 43

Priority queuing in routers Can get internal congestion in router Packets have to be inspected, NAT d, moved between internal queues. Voice packets still have to wait for one complete data packet May need to also limit MTU size on slower links 44

Admission control Too many calls = lower quality Call Admission Control - Limit number of active calls Measurement based Call Admission Control - Measure quality and adjust call volume to maintain Practical Problems - Codec type can change dynamically (e.g. 8k G729 -> 64k G711 - Applying to complex routes with many bottlenecks 45

Robust Codecs and PLC Algorithms Good PLC algorithm Good for isolated lost packets Some distortion for loss rates of 10% Intelligible for loss rates of 20% Simple PLC algorithms OK for isolated lost packets Some distortion for loss rates of 5% Intelligible for loss rates of 10% Audible artifacts - beeps, robotic sounds BUT Loss is BURSTY therefore PLC algorithms USUALLY have to cope with 20-30% loss rates!!! 46

Robust Codec and PLC Algorithms Lost Lost Estimated By PLC Estimated By PLC Approaches - Use Codec that does not depend on previous frame (e.g. ILBC) - Smarter PLC algorithms that match waveforms, avoid glitches 47

Planning Understand what affects performance This presentation, www.voiptroubleshooter.com Understand what your user scenarios are DSL, Cable Modem, Dialup. Understand what your users expectations are.. Cost vs performance Understand what equipment would be used Residential gateways - codec types. Understand that you can t easily add management as an afterthought - buy/ recommend equipment that supports RTCP XR (properly) Develop a management/ troubleshooting strategy, identify tools and technologies 48

Outline Brief VoIP outline/ update Problems affecting VoIP/ VoWiFi performance Tools for Measuring and Diagnosing Problems Performance Management Architecture Approaches to improve performance Planning guidelines 49