Internet Technology Voice over IP

Similar documents
An Introduction to VoIP Protocols

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

Voice Over IP. Priscilla Oppenheimer

SIP Trunking and Voice over IP

A Comparative Study of Signalling Protocols Used In VoIP

The SIP School- 'Mitel Style'

Formación en Tecnologías Avanzadas

Internet Working 15th lecture (last but one) Chair of Communication Systems Department of Applied Sciences University of Freiburg 2005

Voice over IP Basics for IT Technicians

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

TECHNICAL CHALLENGES OF VoIP BYPASS

VIDEOCONFERENCING. Video class

Indepth Voice over IP and SIP Networking Course

VoIP and IP Telephony

ACD: Average Call Duration is the average duration of the calls routed bya a VoIP provider. It is a quality parameter given by the VoIP providers.

Lab Introduction software Voice over IP

ATA: An Analogue Telephone Adapter is used to connect a standard telephone to a high-speed modem to facilitate VoIP and/or calls over the Internet.

VoIP. Overview. Jakob Aleksander Libak Introduction Pros and cons Protocols Services Conclusion

Preparatory Meeting for Phase 2 of Philippine National ENUM Trial

White paper. SIP An introduction

Integration of GSM Module with PC Mother Board (GSM Trunking) WHITE/Technical PAPER. Author: Srinivasa Rao Bommana

Voice over IP (VoIP) Basics for IT Technicians

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

Internet Voice, Video and Telepresence Harvard University, CSCI E-139. Lecture #5

VOICE OVER IP AND NETWORK CONVERGENCE

Applied Networks & Security

The SIP School- 'Mitel Style'

VoIP with SIP. Session Initiation Protocol RFC-3261/RFC

Unit 23. RTP, VoIP. Shyam Parekh

Chapter 10 Session Initiation Protocol. Prof. Yuh-Shyan Chen Department of Computer Science and Information Engineering National Taipei University

Frequently Asked Questions about Integrated Access

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?

VoIP Bandwidth Considerations - design decisions

Voice-Over-IP. Daniel Zappala. CS 460 Computer Networking Brigham Young University

SIP Trunking Quick Reference Document

Online course syllabus. MAB: Voice over IP

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

Overview of Voice Over Internet Protocol

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

Integrating Voice over IP services in IPv4 and IPv6 networks

IP Telephony and Network Convergence

Voice over IP Fundamentals

Connect your Control Desk to the SIP world

NAT and Firewall Traversal with STUN / TURN / ICE

Optimizing Converged Cisco Networks (ONT)

IP Telephony with Asterisk. Sunday A. Folayan

Application Note. Onsight Connect Network Requirements V6.1

SIP Essentials Training

Connecting Your Enterprise With Asterisk: IAX to Carriers. Dayton Turner Voxter Communications

VoIP & Internet Telephony

VoIP technology employs several network protocols such as MGCP, SDP, H323, SIP.

How to make free phone calls and influence people by the grugq

Integrate VoIP with your existing network

Session Initiation Protocol (SIP) The Emerging System in IP Telephony

Voice over IP Manual

SIP Trunking. Service Guide. Learn More: Call us at

Chapter 2 PSTN and VoIP Services Context

Comparison of Voice over IP with circuit switching techniques

SIP : Session Initiation Protocol

SIP Trunking Application Notes V1.3

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

Encapsulating Voice in IP Packets

Voice over IP (VoIP) and QoS/QoE

NAT TCP SIP ALG Support

WHAT S BEHIND YOUR SMARTPHONE ICONS? A brief tour of behind-the-scenes signaling for multimedia services

EarthLink Business SIP Trunking. NEC SV8100 IP PBX Customer Configuration Guide

FOSDEM 2007 Brussels, Belgium. Daniel Pocock B.CompSc(Melbourne)

Application Note. Firewall Requirements for the Onsight Mobile Collaboration System and Hosted Librestream SIP Service v5.0

Media Gateway Controller RTP

VoIP Overview for Operators. Gene Lew VP, Advanced Services NANOG 34 Seattle, Washington May 2005

Packetized Telephony Networks

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

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

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

nexvortex SIP Trunking Implementation & Planning Guide V1.5

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

Internet Services & Protocols Multimedia Applications, Voice over IP

The use of IP networks, namely the LAN and WAN, to carry voice. Voice was originally carried over circuit switched networks

internet technologies and standards

Computer Networks. Voice over IP (VoIP) Professor Richard Harris School of Engineering and Advanced Technology (SEAT)

AT&T IP Flex Reach/ IP Toll Free Configuration Guide IC 3.0 with Interaction SIP Proxy

IP Telephony (Voice over IP)

Network Simulation Traffic, Paths and Impairment

Application Notes Rev. 1.0 Last Updated: January 9, 2015

Presented by: John Downing, B.Eng, MBA, P.Eng

B12 Troubleshooting & Analyzing VoIP

Development of SIP-H.323 Gateway Project

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

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

Enterprise Video Conferencing

Application Notes Rev. 1.0 Last Updated: February 3, 2015

Troubleshooting Voice Over IP with WireShark

Android Softphone App for the Opera IP System. Installation and user guide

Internet Services & Protocols Multimedia Applications, Voice over IP

12 Quality of Service (QoS)

Dialogic Diva SIPcontrol Software

MiaRec. Cisco Built-in-Bridge Recording Interface Configuration Guide. Revision 1.1 ( )

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

Transcription:

Internet Technology Voice over IP Peter Gradwell

BT Advert from 1980s Page 2 http://www.youtube.com/v/o0h65_pag04

Welcome to Gradwell Gradwell provides technology for every line on your business card Every product we sell solves a problem we had Page 3

The TCP/IP Stack Where does VoIP fit in? Page 4

Different Types of VoIP VoIP Comes in Many Flavours Page 5

Voice Protocols All systems use some kind of application protocol to communicate - SIP - H323 ( exchange - IAX (Inter Asterisk ( Protocol - Skinny (Cisco Audio is transported as RTP

TCP/UDP/Ports Traffic is either TCP or UDP MTU on Ethernet typically 1500 bytes 100 bytes of headers, 1400 bytes of data Lots of packet overhead Socket = IP Address + Port MTU = Max Transfer Unit/A Packet

Good book: If you're interested in more details You can read most of it on amazon

H.323 Point to Point Protocol H.323 is actually a family of protocols H.323 is used a lot on trunk routes, as it's signalling reflects ISDN, but is becoming obsolete Modem over IP Conferencing Fax 9

Inter-Asterisk exchange Asterisk is a major OpenSource phone system IAX was invented by Mark Spencer/Digium Single UDP stream port 4569 Handles the Media inband on the same socket - Can support multiple RTP streams - Single signalling link - Far more bandwidth efficient - Also much friendlier for firewalls - Pronounced eeks 10

SIP Session Initiation Protocol SIP is the dominant VoIP protocol It's a peer to peer protocol, unlike H.323 11

SIP Addressing SIP is very similar to Email and HTTP URI Address format: - sip:peter@gradwell.com - sip:100@sip.gradwell.net:5060 - sip:441225800800@sip.gradwell.net 12

Types of SIP Message INVITE An INVITE method indicates that the recipient user or service is invited to participate in a session. ACK - An ACK request confirms that the UAC has received the final response to an INVITE request. - ACK is used only with INVITE requests. ACK is sent end to end for a 200 OK response. OPTIONS A UA uses the OPTIONS request to query a UAS about its capabilities BYE A UA uses BYE to request the termination of a previously established session. CANCEL The CANCEL request enables UACs and network servers to cancel an in-progress request, such as INVITE. This does not affect completed requests in which the UAS had already sent final responses. REGISTER A client uses a REGISTER request to register its current location information corresponding to the AOR of the user with SIP servers. 13

SIP Registration Phone registers periodically to tell the SIP server where it is 14

SIP Call Flow 15

A Complete Call Often we'll draw SIP call path diagrams out like this for debugging 16

Debug using wireshark 17

You can also do redirects 18

Codecs Nyquist theorem states that if you sample an analog signal at twice the rate of the highest frequency of interest, you can accurately reconstruct that signal back into its analog form Audio is sampled at 8k or 16k times per second (Hertz) Pulse Code Modulation Codecs trade off quality, bandwidth and CPU to produce an RTP data packet ( 16k ) Narrow Band (8k) or Wide Band We waste loads of Bandwidth on packet overhead Audio transmitted as RTP Codec BR NEB G.711 64 Kbps 87.2 Kbps G.729 8 Kbps 31.2 Kbps G.723.1 6.4 Kbps 21.9 Kbps G.723.1 5.3 Kbps 20.8 Kbps G.726 32 Kbps 55.2 Kbps G.726 24 Kbps 47.2 Kbps G.728 16 Kbps 31.5 Kbps ilbc 15 Kbps 27.7 Kbps BR = Bit rate NEB = Nominal Ethernet ( direction Bandwidth (one Skype uses ilbc and ISAC

Jitter & Packet Loss Jitter is the variation of packet interarrival time Jitter is a major problem - The internet is asymmetrical - Manage the problem with a Jitter buffer ~ 20ms

Quality of Service QoS is needed if a network link is congested Routers need to enforce traffic prioritisation across their links How do they decide? - Trust the user? - DiffServ, Expedited Forwarding and Low Delay bits in IP header - Trust the network all traffic on port X or from IP address Y is special 21

Shift Change in the handset industry What about Mobile Handsets? SIP over WiFi has a very bad user experience Still difficult to setup GSM Calls Just work Costs of calling can be fixed commercially e.g. All inclusive call plans Operators are not keen on offloading voice minutes onto their data networks iphone & Google Voice are changing things Page 22

Which Mobile App Should I run? Page 23

Google Voice Video Page 24 http://www.youtube.com/v/m4q9mjdt5ds

What is ENUM User ENUM - Allows users to define how calls should be routed to their numbers - Stores telephone numbers in DNS and routing records ENUM = E.164 NUmber Mapping (E164 is an ITU standard) Needs a new root -.e164.arpa - Managed by RIPE Numbers stored in reverse - +44 1865 332211 becomes - 1.1.2.2.3.3.5.6.8.1.4.4.e164.arpa

What is ENUM DNS uses a special form of record - Name Authority Pointer (NAPTR) - RFC2915 NAPTR contains a URI - Information on how to route call - Can specify multiple ways to call - VoIP (SIP/H323) - Email - Tel(ephone) - Fax NAPTR records can be very sophisticated - Can contain time of day and other information - Can contain regular expressions so say a SIP record relates to the ENUM data - (Generic ENUM records for a telco)

What is ENUM $ORIGIN 2.1.2.1.5.5.5.0.7.7.1.e164.arpa. IN NAPTR 100 10 "u" "E2U+sip" "!^.*$!sip:information@pbx.example.com!i". IN NAPTR 102 10 "u" "E2U+email" "!^.*$!mailto:information@example.com!i" This is a record for +1 770 555 1212 100 / 102 is priority - Lowest number, highest priority 10 is a preference level - Can be ignored here as both records 10 u is a user record i.e. stop processing E2U+sip is the way of writing it s a SIP record Regular expression and the final destination

ENUM call Company A Dials +44 987 654321 +44 123 456789 PSTN Company B +44 987 654321 SIP:01@A.co.uk No ENUM Internet SIP:25@compB.co.uk

ENUM call Company A Dials +44 987 654321 +44 123 456789 PSTN Company B +44 987 654321 SIP:01@A.co.uk +1.2.3.4.5.6.7.8.9.44.164.arpa ENUM Internet D N S SIP:25@compB.co.uk +44 987 654321 SIP:25@compB.co.uk

ENUM in production Asterisk supports ENUM out the box OpenSIPS has an ENUM module Various PBX suppliers can support ENUM though may require special configuration Nominet have developed an Android application Enumdroid - Integrated into dialer ENUM in the UK is currently looking for users - www.nominet.org.uk/enum/

Enumdroid real life app Developed by Nominet s Ray Bellis published as open source. Available on the Android Marketplace Dial the number of your contact Application performs an ENUM query and Presents the user the options available Caller make decision of call method and places the call. Presents a number of options Has flexibility to turn off GSM if necessary

Enumdroid real life app Developed by Nominet s Ray Bellis published as open source. Available on the Android Marketplace Dial the number of your contact Application performs an ENUM query and Presents the user the options available Caller make decision of call method and places the call. Presents a number of options Has flexibility to turn off GSM if necessary

Enumdroid real life app Developed by Nominet s Ray Bellis published as open source. Available on the Android Marketplace Dial the number of your contact Application performs an ENUM query and Presents the user the options available Caller make decision of call method and places the call. Presents a number of options Has flexibility to turn off GSM if necessary

Enumdroid real life app Developed by Nominet s Ray Bellis published as open source. Available on the Android Marketplace Dial the number of your contact Application performs an ENUM query and Presents the user the options available Caller make decision of call method and places the call. Presents a number of options Has flexibility to turn off GSM if necessary

ENUM Conclusions Story so far ENUM allows interoperability between carriers More than just voice Most applications can be completed thecontrolyouif, ENUM without network & devices It needs a lot of end user applications Page 35

Voice Over IP? Where are we at with VoIP? Protocols and services are well established & here to stay Lines (no pun intended) are bluring Network convergence is actually happening No one wants a desk phone Some of the mobile problems will be fixed commercially Some problems by changes in end user behaviour and open access to networks The desktop environment is quickly unifying Telcos still like building islands of subscribers Regulator is looking at mobile number portability ENUM gives end-user control, but no applications or drive for it Page 36

Any Questions? Peter Gradwell T: 01225 800 810 E: peter@gradwell.com Page 37