Common VoIP problems, How to detect, correct and avoid them. Penny Tone LLC 1



Similar documents
Bandwidth Management and QOS

Building Effective Firewalls with MikroTik P R E S E N T E D B Y: R I C K F R E Y, N E T W O R K E N G I N E E R I P A R C H I T E C H S O P E R AT I

Quality of Service in wireless Point-to-Point Links

MikroTik RouterOS Workshop QoS Best Practice. Prague MUM Czech Republic 2009

NetVanta 7100 Exercise Service Provider SIP Trunk

Author: Seth Scardefield 1/8/2013

Quality of Service Analysis of site to site for IPSec VPNs for realtime multimedia traffic.

Bandwidth Control. Table of Contents. General Information. Summary. Specifications

IP Flow Routing, Mangle and QoS

Hosted Voice. Best Practice Recommendations for VoIP Deployments

MINIMUM NETWORK REQUIREMENTS 1. REQUIREMENTS SUMMARY... 1

Improving Quality of Service

IP videoconferencing solution with ProCurve switches and Tandberg terminals

Recommended QoS Configuration Settings for. Dell SonicWALL SOHO Router

Recommended QoS Configuration Settings for. Fortinet FortiGate 30D Router

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

HOSTED VOICE Bring Your Own Bandwidth & Remote Worker. Install and Best Practices Guide

BroadCloud PBX Customer Minimum Requirements

DLink-655 Router Configuration Guide for VoIP

» David Bisschoff» Durban, South Africa» Work at Kinsey Computers» Discovered MikroTik in Kinsey Computers cc

Recommended QoS Configuration Settings for Rosewill RNX-AC750RT Wireless Router

QoS (Quality of Service)

The Use of Mikrotik Router Boards With Radius Server for ISPs.

Netgear TA612VMNF & TA612VLD Netgear WGR613VAL. Quality of Service (QOS) function

Recommended QoS Configuration Settings for. AdTran NetVanta 3448 Router

Configuring an efficient QoS Map

VoIP Bandwidth Considerations - design decisions

The FX Series Traffic Shaping Optimizes Satellite Links

Voice Over IP. MultiFlow IP Phone # 3071 Subnet # Subnet Mask IP address Telephone.

How to Configure the Allworx 6x, 24x and 48x for use with Integra Telecom SIP Solutions

VOICE OVER IP AND NETWORK CONVERGENCE

Department of Communications and Networking. S /3133 Networking Technology, laboratory course A/B

Network Simulation Traffic, Paths and Impairment

CONNECTING TO LYNC/SKYPE FOR BUSINESS OVER THE INTERNET NETWORK PREP GUIDE

Quality of Service (QoS) for Enterprise Networks. Learn How to Configure QoS on Cisco Routers. Share:

Introduction VOIP in an Network VOIP 3

The Basics. Configuring Campus Switches to Support Voice

VegaStream Information Note Considerations for a VoIP installation

nexvortex SIP Trunking Implementation & Planning Guide V1.5

Voice over IP Basics for IT Technicians

Load Balancing Using PCC & RouterOS

Chapter 5 Configuring QoS

Quality of Service. Traditional Nonconverged Network. Traditional data traffic characteristics:

Voice Over IP Performance Assurance

Load Balancing Using PCC & RouterOS

The need for bandwidth management and QoS control when using public or shared networks for disaster relief work

Voice over Internet Protocol (VoIP) systems can be built up in numerous forms and these systems include mobile units, conferencing units and

Chapter 02. Diagnostics & Troubleshooting

Controlling Network Traffic using MikroTik RouterOS

Encapsulating Voice in IP Packets

WhitePaper: XipLink Real-Time Optimizations

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

NB6 Series Quality of Service (QoS) Setup (NB6Plus4, NB6Plus4W Rev1)

TECHNICAL CHALLENGES OF VoIP BYPASS

Voice over IP (VoIP) Basics for IT Technicians

QoS:What Is It? Why Do We Need It?

ETM System SIP Trunk Support Technical Discussion

This topic lists the key mechanisms use to implement QoS in an IP network.

Troubleshooting VoIP and Streaming Video Problems

SIP (Session Initiation Protocol) Technical Overview. Presentation by: Kevin M. Johnson VP Engineering & Ops

Getting Started with. Avaya TM VoIP Monitoring Manager

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

Recommended QoS Configuration Settings for TP-LINK Archer C3200 Wireless Router

Nortel Technology Standards and Protocol for IP Telephony Solutions

Implementation of Voice over IP and Audio over IP in the Studio environment

AC : A VOICE OVER IP INITIATIVE TO TEACH UNDERGRADUATE ENGINEERING STUDENTS THE FUNDAMENTALS OF COMPUTER COMMUNICATIONS

MikroTik RouterOS Workshop Load Balancing Best Practice. Warsaw MUM Europe 2012

Provisioning and configuring the SIP Spider

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

About Firewall Protection

Indepth Voice over IP and SIP Networking Course

Bandwidth Security and QoS Considerations

How To Deliver High Quality Telephony Over A Network

VoIP QoS. Version 1.0. September 4, AdvancedVoIP.com. Phone:

Access the Test Here

Internet Technology Voice over IP

Recommended QoS Configuration Settings for ASUS RT-AC87U Wireless Router

Requirements of Voice in an IP Internetwork

SIP Trunking Quick Reference Document

System Installation Guide. Version 2.4

FortiOS Handbook - Traffic Shaping VERSION 5.2.0

Implementing VoIP support in a VSAT network based on SoftSwitch integration

VOIP QOS. Thomas Mangin. ITSPA - Autumn Seminar 11th October 2012 LEEDS. Technical Director IXLeeds AND THE IXP THE CORE THE EDGE

Is Your Network Ready for VoIP? > White Paper

Skype Connect Requirements Guide

VoIP network planning guide

Optimizing Converged Cisco Networks (ONT)

Bandwidth-based load-balancing with failover. The easy way. We need more bandwidth.

IP Office Technical Tip

SUNYIT. Reaction Paper 2. Measuring the performance of VoIP over Wireless LAN

Network Considerations for IP Video

Avaya ExpertNet Lite Assessment Tool

Magnet Voice Windows PC Softphone Installation

RTP Performance Enhancing Proxy

Edgewater Routers User Guide

Authors Mário Serafim Nunes IST / INESC-ID Lisbon, Portugal mario.nunes@inesc-id.pt

SIPSTATION User Guide. Schmooze Com Inc.

Frequently Asked Questions about Integrated Access

How To: Diagnose Poor VoIP Calls through diagnostics.

Transcription:

Common VoIP problems, How to detect, correct and avoid them. Penny Tone LLC 1

Who am I? David Attias Installing VoIP systems for over 7 years Mikrotik user for 5 years Mikrotik certifications MTCNA, MTCRE & MTCWE Penny Tone LLC 2

Purpose of this lecture To inform Mikrotik users on how to identify and resolve voip problems Penny Tone LLC 3

Agenda 1) Identify factors which will affect VoIP call quality 2) Correct call quality issues with RouterOS QoS Marking packets with Mangle Shaping VoIP traffic with Queues 3) Detecting VoIP call quality problems Check for dropped packets Using RouterOS packet sniffer & wireshark 4) Avoid call quality issues Penny Tone LLC 4

What is VoIP? Several protocols used together to send and receive REAL TIME voice calls through an IP network(s). Penny Tone LLC 5

Identify factors that affect call quality Penny Tone LLC 6

Considerations about VoIP call quality VoIP calls are REAL TIME!! Connection between phones and voip servers must have low delay and very low Jitter. Must have enough available symmetrical bandwidth. g711 ulaw codec = 87.2k per channel [20ms voice payload per packet] Sip = 65k (max sip message size) Penny Tone LLC 7

The Problems Penny Tone LLC 8

What can affect call quality? *Not considering hardware problems High jitter levels What is Jitter? Packet Delay Variation / The time lapse between each packet for a given data stream Packet Loss Delay Penny Tone LLC 9

In the real world. Jitter, packet loss and delay can happen anywhere between the phone and (hosted) server. However, 90% of call quality issues happen at the customer location. Why? Because customer networks are rarely configured properly if configured at all for VoIP QoS. USE MIKROTIK!!! Penny Tone LLC 10

Correcting issues with RouterOS QoS Penny Tone LLC 11

Quality Of Service (QoS) Techniques that categorize and prioritize packets Ensures sufficient bandwidth, controls latency, jitter, and reduces data loss. Regulate data flows by classifying, scheduling, and marking packets based on priority and by shaping traffic Penny Tone LLC 12

MikroTik Mangle Penny Tone LLC 13

Mikrotik Mangle Mangle is a Mikrotik routeros facility that marks packets for future processing. The mangle marks exist only within the router. Also used to modify some fields in the IP header, like DSCP and TTL fields Only 1 packet mark per packet Only 1 connection mark per packet Penny Tone LLC 14

To conserve processor resources: First mark the connection Once the session is in connection tracker all packets for that session are marked. This is more efficient because Mangle doesn't need to scrutinize every packet. It just needs to know if the packet is in that connection. Penny Tone LLC 15

Qualify Traffic SiP server = 1.2.3.4 SiP port = 5060 tcp RTP port range = 10000 ~ 20000 udp Penny Tone LLC 16

Mark the SiP connection Penny Tone LLC 17

Mark the SiP connection /ip firewall mangle add chain=forward dst-address=1.2.3.4 protocol=tcp dst-port=5060 action=markconnection new-connection-mark=sipconnection Penny Tone LLC 18

Mark the SiP connection Penny Tone LLC 19

Mark the SiP packets Penny Tone LLC 20

Mark the SiP packets /ip firewall mangle add chain=forward connection-mark=sip-connection add action=mark-packet new-packet-mark=sip Penny Tone LLC 21

Mark the SiP packets Penny Tone LLC 22

Mark the RTP connection Penny Tone LLC 23

Mark the RTP connection /ip firewall mangle add action=mark-connection chain=forward dstaddress=1.2.3.4 new-connection-mark=rtpconnection port=10000-20000 protocol=udp Penny Tone LLC 24

Mark the RTP connection Penny Tone LLC 25

Mark the RTP packets Penny Tone LLC 26

Mark the RTP connection /ip firewall mangle add action=mark-packet chain=forward connection-mark=rtp-connection new-packetmark=rtp Penny Tone LLC 27

Mark the RTP Packet Penny Tone LLC 28

How do we know its working? Penny Tone LLC 29

How do we know it's working? Penny Tone LLC 30

Change DSCP Differentiated Services Code Point (DSCP) is a field in an IP packet that enables different levels of service to be assigned to network traffic. Penny Tone LLC 31

Change DSCP Penny Tone LLC 32

Mikrotik Queues Penny Tone LLC 33

Mikrotik Queues limit data rate for certain IP addresses, subnets, protocols, ports, and other parameters limit peer-to-peer traffic prioritize some packet flows over others configure traffic bursts for faster web browsing apply different limits based on time share available traffic among users equally, or depending on the load of the channel Penny Tone LLC 34

Mikrotik Queues Parent Queues (inner queues) distribute bandwidth Child Queues (leaf queues) consume bandwidth Penny Tone LLC 35

Mikrotik Queues Parent Queue Child Queues Penny Tone LLC 36

Mikrotik Parent Queues Parent Queues only responsibility is to distribute traffic to child queues. Parent queue will first satisfy the child queue's limit-at traffic then try and reach child maxlimit. Priorities are ignored on Parent Queues. Penny Tone LLC 37

Mikrotik Queue priorities 8 is the lowest priority, 1 is the highest. Queue with higher priority will have a chance to satisfy its max-limit value before lower priority queues. Actual traffic prioritization will work only if limits are specified. Penny Tone LLC 38

Create A Queue Tree Scenario: My home office 5 phones internet bandwidth = 35Mb download 4Mb upload Penny Tone LLC 39

Create A Queue Tree First create a queue /queue tree add limit-at=4m max-limit=4m name=upload parent=ether1-gateway priority=8 queue=default Penny Tone LLC 40

Create A Child Queue Create an RTP queue and select it's parent as upload add limit-at=440k max-limit=440k name=upload_pri_1 packet-mark=rtp parent=upload priority=1 queue=default Penny Tone LLC 41

Create A Child Queue Create a SIP queue and select it's parent as upload add limit-at=325k max-limit=325k name=upload_pri_2 packet-mark=sip parent=upload priority=2 queue=default Penny Tone LLC 42

Create A Child Queue What about packets without any marks? Penny Tone LLC 43

Create A Child Queue Create a no mark queue and select it's parent as upload add limit-at=3m max-limit=3m name=upload_pri_2 packet-mark=sip parent=upload priority=2 queue=default Penny Tone LLC 44

Queue Tree GUI view Penny Tone LLC 45

Queue Tree GUI view Penny Tone LLC 46

Detecting Problems Penny Tone LLC 47

Detecting problems Check for dropped packets in queue tree Enable the dropped packets view Penny Tone LLC 48

Detecting problems Check for dropped packets in queue tree Enable the dropped packets view Penny Tone LLC 49

Detecting problems Check for dropped packets in queue tree Enable the dropped packets view Penny Tone LLC 50

Detecting problems Mikrotik packet capture Penny Tone LLC 51

Detecting problems Mikrotik packet capture From GUI: Tools Packet sniffer Penny Tone LLC 52

Detecting problems Mikrotik packet capture From GUI: Tools Packet sniffer Filter IP Penny Tone LLC 53

Detecting problems Cap file voip.pcap will be created in Files Download it Then open voip.pcap in wireshark Penny Tone LLC 54

Detecting problems Filer = rtp Then select one RTP packet Penny Tone LLC 55

Detecting problems Select Telephony - RTP - Stream Analysis Penny Tone LLC 56

Detecting problems The output will show RTP Stream statistics. Penny Tone LLC 57

Detecting problems Click Player - Decode - Play Penny Tone LLC 58

Avoid Problems Before on-boarding a customer: Make sure their internet connection is adequate! Monitor their WAN Review the monitoring data! Penny Tone LLC 59

Avoid Problems Penny Tone LLC 60

Avoid Problems - Packet capture every call! www.sipcapture.org - Also be aware of internet carrier problems www.internethealthreport.com Penny Tone LLC 61

Avoid Problems Penny Tone LLC 62

Summary 1- Learned about some factors that affect VoIP call quality 2- Learned how to reduce or eliminate call quality issues 3- Leaned how to find issues and diagnose issues 4- Learned how to avoid issues Penny Tone LLC 63