We think you have liked this presentation. If you wish to download it, please recommend it to your friends in any social system. Share buttons are a little bit lower. Thank you!
Presentation is loading. Please wait.
Published byCeline Villar
Modified about 1 year ago
© Kenega Training Ltd Understanding Voice over IP by Eur Ing Dr KR Duncan BSc MSc PhD CEng CITP CPhys Kenega Training Ltd, Havant, Hants
© Kenega Training Ltd Objectives: Describe voice telephony in a circuit switched network (e.g Public Switched Telephone Network (PSTN) Describe requirements on bandwidth and delay in the PSTN Describe suitability of Data Networks for transporting voice Discuss main VoIP signalling and transport protocols – SIP, H323 and RTP Describe packetisation, codecs and bandwidth requirements for VoIP Present some typical VoIP deployments
© Kenega Training Ltd Analogue Connection to a Local Exchange Switch PSTN (circuit switched digital voice – 64 kbps per call) Copper loop – typically uses loop start signalling for voice Copper loop can be analogue or digital (BRI) Copper loop mainly analogue for xDSL technologies LE switch filters analogue voice and digitises using PCM Analogue voice carried across digital network in 64 kbps channel
© Kenega Training Ltd Corporate Telephony using a Digital PBX PBX PSTN Signalling between user and network (Q931) Signalling within the network (SS7) Signalling sets up PCM bandwidth for conversation (64 kbps) – in a TDM timeslot Switch ASwitch B Signalling between user and network (Q931) PCM is analagous to G711 codec in VoIP
© Kenega Training Ltd Connection between User and Network PRI using CCS G.704 Frame Structure – 32 x 64 kbps timeslots Q 931 MessageFCSAddressing/Control7E Signalling Timeslot carries Q921 Frames Time slots 1 – 15 and 17 – 31 are bearer channels Time slot 16 carries byte samples of packetised voice signalling
© Kenega Training Ltd E164 Addresses XXX 000 XXXXXXXXXXX International Call Request National Call Request Country Code National Destination Code Subscriber Number E164 telephone numbers are network layer addresses Network addresses have hierarchical structure
© Kenega Training Ltd Signalling Protocol Stacks Application Presentation Session Transport Network Datalink Physical 7 Layer OSI Model MTP 3 MTP 2 MTP 1 TUP / ISUP Part of SS7 Protocol Stack SS7 signalling is already packetised in PSTN SS7 signalling can be backhauled into a Data Network
© Kenega Training Ltd Performance of the Voice Network ITU G.114 emphasises the need to consider delay One way end-to-end delay no more than 150 mS Post-dial delay less than 2 seconds PSTN
© Kenega Training Ltd Voice over the PSTN - pros Service Guarantees Low Delay Low Jitter Uses Admission Control Call only accepted if sufficient resources exist in network Each call receives a dedicated bandwidth
© Kenega Training Ltd Voice over the PSTN - Cons High bandwidth requirement due to legacy standards Each call requires 64kbps of bandwidth – from PCM New Codecs utilise only 8k Inefficient usage of bandwidth Bandwidth wasted during gaps in the conversation
© Kenega Training Ltd The Internet Protocol (IP) Source Host Host to Host Internet Process Network Access Destination Host Host to Host Internet Process Network Access Internetwork payload IP Header IP datagram routed through connectionless, unreliable internetwork using destination IP address in IP header
© Kenega Training Ltd Network Access Headers within TCP/IP Host to Host Internet Process TCP/IP Stack Application Data Process Header TCP or UDP Header IP Header Network Access Layer Header FCS e.g. FTP TFTP TELNET or VOICE PROTOCOLS e.g. PPP Frame Relay Ethernet
© Kenega Training Ltd Transport (Host to Host) Protocols Transmission Control Protocol (TCP) Ports numbers point to software application End to end reliability Connection oriented Stream Control Transmission Protocol (SCTP) Alternative to TCP for backhauling multiple signalling messages User Datagram Protocol (UDP) Port numbers point to software application Used to carry voice media packets Connectionless Unreliable
© Kenega Training Ltd Voice over Data Networks - Pros Packet Switched not Circuit Switched Packet switching has greater resilience Call Bandwidth Flexibility Reduced bandwidth per call when using more efficient coding scheme Bandwidth can be increased on a needs basis Efficient bandwidth utilisation Available bandwidth can be shared amongst various traffic types
© Kenega Training Ltd Voice over Data Networks - Cons No Service Guarantees (no per call state) Packets may be queued by Routers Packets may follow different paths Unpredictable Quality of Service Traffic is sent ‘best-effort’ by default No admission control Connectionless (Unless controlled by another protocol)
© Kenega Training Ltd Data Voice IP Voice & Data Convergence Convergence of voice and data networks Reduce rising communications costs Real-time voice over IP
© Kenega Training Ltd Standards Organisations in VoIP H.323 VoIP Solution - International Telecommunications Union (ITU) SIP VoIP Solution - Internet Engineering Task Force (IETF) Soft Switching VoIP Solution – ITU and IETF Other Organisations involved: lInternet Architecture Board (IAB) lInternet Corporation for Assigned Names & Numbers (ICANN) lSIGTRAN lSoft Switch Consortium (SSC) lForums (SIP, H.323, etc)
© Kenega Training Ltd Analogue Equipment can be used in VoIP Analogue telephones connect via Foreign Exchange Subscriber (FXS) interface. FXS interface provides dial tone, battery current and ring voltage to the analogue telephone. FXS can be an Analogue Telephone Adapter (ATA) or a voice card in a router or server. Analogue trunk lines can be connected via a Foreign Exchange Office (FXO) interface. FXO receives POTS from a switch in the Local Exchange and provides on-hook/off-hook indication to switch. FXO is typically a voice card in a router or server.
© Kenega Training Ltd Gateway Packet SwitchedCircuit Switched Gateway To communicate to a PSTN user, a gateway is required Provides an interface between: circuit switched telephone networks (PSTN and GSM) and packet switched IP data networks.
© Kenega Training Ltd Voice Conversion Internet or Private IP Network PABX (Gateway) Analogue (or Digital) Packets IP PCM samples are delayed, optionally compressed, and carried across the IP network in IP packets
© Kenega Training Ltd Three Styles of Call Phone to phone Phone to PC /PC to Phone PC to PC
© Kenega Training Ltd Voice Coding Compression Method Bit Rate (kbps) Frame Size (mS) Year Finalised G.711 (PCM) G.726 (ADPCM)40,32,24, G.728 (LD-CELP) G.729 (CS-ACELP) G (MP-MLQ) (ACELP) Bit rate for voice call is determined by codec used G711 codec is mandatory – others are optional
© Kenega Training Ltd Real-time Transport Protocol (RTP) RTP V2 is defined in IETF RFC 1889, along with a profile for carrying audio and video over RTP in RFC 1890 RTP carries voice or video Does not offer any form of reliability or a protocol-defined flow/congestion control Sequences and Timestamps packets for proper replay Indicates codec used in RTP header Port 5004 (UDP) registered by IETF – but voice software can negotiate dynamic port
© Kenega Training Ltd Payload Formats PTIENCODINGMEDIACLOCK (Hz) 0PCM (µ-Law)Audio8000 3GSMAudio8000 8PCM (A-Law)Audio8000 9G.722Audio G.728Audio G.729Audio H.261Video H.263Video NTEdtmf tonesn/a 96 – 127 (dyn)GSM-HRAudio – 127 (dyn)GSM-EFRAudio8000
© Kenega Training Ltd Mean Opinion Score (MOS) Compression Method Bit Rate (kbps) Frame Size (mS) MOS G.711 (PCM) G.726 (ADPCM)40,32,24, G.728 (LD-CELP) G.729 (CS-ACELP) G (MP-MLQ) (ACELP)
© Kenega Training Ltd Voice Media Packet using G.711 Codec G711 codec is mandatory in VoIP implementations IP packet size around 200 bytes Voice Payload RTP Header UDP Header IP Header e.g. G.711 (20mS delay) = 160 bytes
© Kenega Training Ltd Voice Media Packet using G.729/G Codec Compresses voice payload to reduce bandwidth for call Additional processing degrades quality and adds delay G.729 used by Main vendors such as Cisco and Nortel IP packet size around 60 bytes Voice Payload RTP Header UDP Header IP Header e.g. G.729 (20mS delay) = 20 bytes G.723 (30mS delay) = 24 bytes
© Kenega Training Ltd IP Bandwidth Requirements for a Voice Call Codec Bit Rate (kbps) Delay (mS) IP Bandwidth G.711 (PCM)640 2.6 Mbps G.711(PCM) kbps G.711(PCM) kbps G.711 (PCM)6430 74 kbps G.729 (82024 kbps Layer 2 overhead needs to be accounted for also cf 64 kbps for voice call over PSTN
© Kenega Training Ltd The H.323 Protocol Stack IP TCP or UDPUDP RTP Compressed Audio Control RTCP Control RAS Capabilities Exchange H.245 Call Signalling H.225 Deployed extensively in corporate environment Gatekeeper offers admission control and bandwidth management Originally designed for LAN – poor scalability Uses well known signalling port 1720 (TCP or UDP)
© Kenega Training Ltd The SIP Protocol Stack IP UDP (or TCP)UDP RTP Compressed Audio Control RTCP Capabilities Exchange SDP (SIP) Call Signalling SIP Similar to HTTP and SMTP – text based protocol Highly scalable – utilises DNS Classic client/server Internet Model Uses well known signalling port 5060 (UDP)
© Kenega Training Ltd SIP Components SIP components User Agent Client (UAC) — Makes calls User Agent Server (UAS) — Answers or rejects calls SIP servers (several types) — Locate called parties Proxy server Redirect server Registrar/Location server Addressing and naming (requires DNS lookup) Either can be placed directly on a Web page Two kinds of SIP messages Requests (from client) Responses (from server)
© Kenega Training Ltd SIP Proxy Server Example DNS lookup INVITE kenega.co.uk 200 OK INVITE 200 OK ACK ACK SIPSERV IP address DNS SIP Registrar (Location) Server Called PCSIP proxy Server Calling PC wants to call but he has gone to Eurotech for the day RegisterRegister
© Kenega Training Ltd Call Connection with MGCP Notify CreateConnection ModifyConnection IP Network MG1 MG2 Call Agent Digit Map Voice Signalling Voice Path Notify DeleteConnection Call Setup Call Teardown ModifyConnection
© Kenega Training Ltd IP TCPUDP RTP Compressed Audio /Video Audio Control RTCP Cisco ‘Skinny’ Protocol Skinny Client Control Protocol (SCCP) Used for communication between Cisco IP telephones and Cisco Callmanager Server Proprietary Voice Signalling Protocol Uses TCP port 2000 for voice signalling messages
© Kenega Training Ltd LANs and WANs lLANs: lTraditional Ethernet, 10Mbps, no QoS support, legacy technology lFast Ethernet, 100 Mbps, supports QoS, standard access switch lGigabit Ethernet, 1000 Mbps, point-to-point, supports QoS l10 Gb Ethernet, Mbps, supports QoS, work in progress lWANs: lX.25 - up to 256kbps, old technology, but still widely used, no QoS support lFrame –Relay – up to 2 Mbps, used for WAN interconnect, limited QoS support lISDN – up to 128Kbps (BRI) or 2 Mbps (PRI), used for backup and remote working, no QoS support lxDSL – up to 16Mbps, used for SOHO internet connections, backup and remote working, no QoS support lATM – up to 2Gbps (155/622 Mbps more normal), extensive QoS support, slowly losing favour but large installed base lMPLS – extensive QoS support and will be covered in QoS chapter
© Kenega Training Ltd VoIP in the WAN - Packet or Circuit Switched? Connection oriented (ATM or MPLS) or connectionless (IP) A queue of queues Packet switching gives large variable delay (jitter) making it unsuitable for delay sensitive data like voice Circuit Switching gives less jitter and is more suitable for voice
© Kenega Training Ltd H.323/SIP Terminal ISP Internet VoIP Implementation (Domestic) - 1 International voice calls at local call rates. Likely to be used with broadband access.
© Kenega Training Ltd VoIP Implementation (Domestic) - 2 Use of Skype or other VoIP Provider for free Internet calls and cheap rate to PSTN – using Skype out Skype software loaded onto PC’s Likely to use Broadband Access to communicate with Skype server and other Skype users Skype Terminal ISP Internet Skype Server
© Kenega Training Ltd VoIP Implementations (Domestic/Home Office) FXS allows analogue telephones to be used for VoIP Dial code allows calls to be carried across Internet Soft phone could be installed on PC PSTN (circuit switched) Third Party Data Network ( e.g. BT) Broadband Router DSLAM Internet FXS Interface Communicate via soft switch (see later)
© Kenega Training Ltd VoIP Implementation (Corporate) - 1 This is a typical H323 implementation Gatekeeper gives Call Admission Control PBX PSTN Router Gateway WAN Gatekeeper
© Kenega Training Ltd VoIP Implementations (Corporate) - 2 FXO allows analogue lines (PSTN) to integrate with VoIP IP telephones can communicate over Internet through IPSec tunnels IP telephones can ‘break out’ to PSTN via FXO interface on SIP PBX PSTN (circuit switched) DSLAM Internet FXO interface on SIP PBX
© Kenega Training Ltd RTP SS7 SIP MGCP H.323 RTP Gateway IP Network Accounting PSTN Call agent Proxy Server GK Soft Switch VoIP Implementation (Carrier/Large Corporate) Voice Signalling Voice Path Signalling Gateway
1 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public IP Telephony Introduction to VoIP Cisco Networking Academy Program.
CHAPTER H.323 SIP. Trunking Connections Between Systems: Common language must be used or conversion between languages Available languages are.
3. VoIP Concepts. General concept of VoIP PSTN Router IP Network PBX ① ② Voice is transported over Internet with compression of Audio data. 1. What is.
CSE5803 Advanced Internet Protocols and Applications (14) Introduction Developed in recent years, for low cost phone calls (long distance in particular).
3/10/2016 Subject Name: Computer Networks - II Subject Code: 10CS64 Prepared By: Madhuleena Das Department: Computer Science & Engineering Date :
Voice Over IP (VoIP): Internet Telephony Dr. Najla Al-nabhan 1.
VoIP Using SIP/RTP by George Fu, UCCS CS 522 Semester Project Fall 2004.
SG2001_VIP.ppt Page 1 PLANET Technology Corp. Product Guide 2001 VoIP Products Your Voice over Internet By Product Department.
Internet, Part 2 1) Session Initiating Protocol (SIP) 2) Quality of Service (QoS) support 3) Mobility aspects (terminal vs. personal mobility) 4) Mobile.
The Basics of Voice over the Internet Protocol Frank M. Groom, Ph.D. Professor of Information and Communication Sciences Ball State University.
Gateway and Trunk Concepts Chapter 07. The Process of Converting Voice to Packet 0.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Services Networking for Home and Small Businesses – Chapter.
Applied Communications Technology Voice Over IP (VOIP) nas1, April 2012 How does VOIP work? Why are we interested? What components does it have? What standards.
H.323 An International Telecommunications Union (ITU) standard. Architecture consisting of several protocols oG.711: Encoding and decoding of speech (other.
Application layer (continued) Week 4 – Lecture 2.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI transport layer CCNA Exploration Semester 1 – Chapter 4.
Telecommunications Essentials Chapter 9. Cost savings & revenue generation Logical rather than physical connections IPT – Telephony IPTV – Digital Television.
Networks and Protocols CE Week 5a. WAN’s and ISDN.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
Nicolas FISCHBACH Senior Manager, IP Engineering/Security - COLT Telecom - version 1.0 Voice over IP (VoIP)
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
Voice Over IP (VoIP): Internet Telephony. Chapter Objectives.
Security in VoIP Networks Juan C Pelaez Florida Atlantic University Security in VoIP Networks Juan C Pelaez Florida Atlantic University.
July 20, 2000H.323/SIP1 Interworking Between SIP/SDP and H.323 Agenda Compare SIP/H.323 Problems in interworking Possible solutions Conclusion Q/A Kundan.
1 A high grade secure VoIP using the TEA Encryption Algorithm By Ashraf D. Elbayoumy 2005 International Symposium on Advanced Radio Technologies Boulder,
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
Voice over IP by Rahul varikuti course instructor: Vicky Hsu.
Computer Security Workshops Networking 101. Reasons To Know Networking In Regard to Computer Security To understand the flow of information on the Internet.
VoIP What is VoIP Background & Benefit VoIP Concepts What is H.323 Another VoIP Protocol SIP Considerations What is VoIP Background & Benefit VoIP Concepts.
سمینار تخصصی What is PSTN ? (public switched telephone network) تیرماه 1395.
Basics of Protocols SIP / H.323 / MGCP Presented by Jonathan Cumming
A Presentation on H.323 Deepak Bote. , IM, blog…
Voice Over Internet Protocol (VoIP). Basic Components of a Telephony Network.
1 14-Jun-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
IP Multicast A convention to identify a multicast address Each node must translate between an IP multicast address and a list of networks that contain.
K. Salah 1 Chapter 28 VoIP or IP Telephony. K. Salah 2 VoIP Architecture and Protocols Uses one of the two multimedia protocols SIP (Session Initiation.
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
1 VoIP – Voice over Internet Protocol Patrick Hügenell, Andreas Vetter – TIM01AGR – 2003 VoIP Voice over IP.
CHAPTER 7 Gateway and Trunk Concepts. Converting Analog Voice to Digital: The average human can hear frequencies of 20-20,000 Hz Human speech uses frequencies.
ﺑﺴﻢﺍﷲﺍﻠﺭﺣﻣﻥﺍﻠﺭﺣﻳﻡ. Group Members Nadia Malik01 Malik Fawad03.
1 CCM Deployment Models Wael K. Valencia Community College.
Voice Over IP CS158B Project By Shing Chau Jerry Ko Ying Li.
15-1 Networking Computer network A collection of computing devices that are connected in various ways in order to communicate and share resources.
Secure Telephony Enabled Middle-box (STEM) Maggie Nguyen Dr. Mark Stamp SJSU - CS 265 Spring 2003 STEM is proposed as a solution to network vulnerabilities,
VoIP Signaling Protocols A signaling protocol is a common language spoken by telephones and call-management servers, the PSTN, and legacy PBX systems as.
SIP/RTP/RTCP Implementation by George Fu, UCCS CS 525 Semester Project Fall 2006.
Voice and Video over IP. Topics Use Terminology specific to converged networks Explain VoIP Explain video over IP Describe VoIP and video over IP signaling.
Chapter 15 Networks. Chapter Goals Types of networks Topologies Open Systems Home Internet connections 15-2.
Voice over IP. IP Networking Overview IP assumes delay and packet ordering problems.
Chapter 5 standards for multimedia communications 5.1 Introduction 5.2 reference models 5.3 standards relating to interpersonal communications 5.4 Standards.
© 2017 SlidePlayer.com Inc. All rights reserved.