The Basics of Voice over the Internet Protocol Frank M. Groom, Ph.D. Professor of Information and Communication Sciences Ball State University.

Slides:



Advertisements
Similar presentations
Voice over IP.
Advertisements

1 IP Telephony (VoIP) CSI4118 Fall Introduction (1) A recent application of Internet technology – Voice over IP (VoIP): Transmission of voice.
Johan Garcia Karlstads Universitet Datavetenskap 1 Datakommunikation II Signaling/Voice over IP / SIP Based on material from Henning Schulzrinne, Columbia.
Chapter 17 Networking Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
H. 323 Chapter 4.
A Presentation on H.323 Deepak Bote. , IM, blog…
Tom Behrens Adam Muniz. Overview What is VoIP SIP Sessions H.323 Examples Problems.
Voice over IP Fundamentals
© 2004, NexTone Communications. All rights reserved. Introduction to H.323.
Security in VoIP Networks Juan C Pelaez Florida Atlantic University Security in VoIP Networks Juan C Pelaez Florida Atlantic University.
Packet Based Multimedia Communication Systems H.323 & Voice Over IP Outline 1. H.323 Components 2. H.323 Zone 3. Protocols specified by H Terminal.
CCNA – Network Fundamentals
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
VoIP Voice Transmission Over Data Network. What is VoIP?  A method for Taking analog audio signals Turning audio signals into digital data Digital data.
Protocols and the TCP/IP Suite
Chapter 12: Circuit Switching and Packet Switching
Internet Telephony Helen J. Wang Network Reading Group, Jan 27, 99 Acknowledgement: Jimmy, Bhaskar.
Voice and Data Integration over IP An analytical overview of voice-over-IP Prabhu Sivarja Wichita State University, Wichita, KS Spring 2003.
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.
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 2: Protocols and Architecture.
1 Networking A computer network is a collection of computing devices that are connected in various ways in order to communicate and share resources. The.
1 CCM Deployment Models Wael K. Valencia Community College.
Voice over IP Fundamentals M. Arvai NEC Senior Technical Eng. 1.
1 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public IP Telephony Introduction to VoIP Cisco Networking Academy Program.
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
3. VoIP Concepts.
VoIP What is VoIP Background & Benefit VoIP Concepts What is H.323 Another VoIP Protocol SIP Considerations What is VoIP Background & Benefit VoIP Concepts.
Chapter 17 Networking Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William Stallings.
IP Ports and Protocols used by H.323 Devices Liane Tarouco.
Protocols Suite By: Aleksandr Gidenko. What is H.323? H.323 is a multimedia conferencing protocol for voice, video and data over IP-based networks that.
Chapter 4. After completion of this chapter, you should be able to: Explain “what is the Internet? And how we connect to the Internet using an ISP. Explain.
Protocols and the TCP/IP Suite
Jaringan Komputer Dasar OSI Transport Layer Aurelio Rahmadian.
ACM 511 Chapter 2. Communication Communicating the Messages The best approach is to divide the data into smaller, more manageable pieces to send over.
William Stallings Data and Computer Communications 7 th Edition Data Communications and Networks Overview Protocols and Architecture.
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.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
H.323 An International Telecommunications Union (ITU) standard. Architecture consisting of several protocols oG.711: Encoding and decoding of speech (other.
Networks CS105. What is a computer network? A computer network is a collection of computing devices that are connected in various ways so that they can.
1 Networking Chapter Distributed Capabilities Communications architectures –Software that supports a group of networked computers Network operating.
Voice over IP by Rahul varikuti course instructor: Vicky Hsu.
ﺑﺴﻢﺍﷲﺍﻠﺭﺣﻣﻥﺍﻠﺭﺣﻳﻡ. Group Members Nadia Malik01 Malik Fawad03.
Transport Layer COM211 Communications and Networks CDA College Theodoros Christophides
NATIONAL INSTITUTE OF SCIENCE & TECHNOLOGY VOICE OVER INTERNET PROTOCOL SHREETAM MOHANTY [1] VOICE OVER INTERNET PROTOCOL SHREETAM MOHANTY ROLL # EC
William Stallings Data and Computer Communications
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
VoIP Signaling Protocols A signaling protocol is a common language spoken by telephones and call-management servers, the PSTN, and legacy PBX systems as.
Voice Over IP (VoIP): Internet Telephony Dr. Najla Al-nabhan 1.
CSE5803 Advanced Internet Protocols and Applications (14) Introduction Developed in recent years, for low cost phone calls (long distance in particular).
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
1 Internet Telephony: Architecture and Protocols an IETF Perspective Authors:Henning Schulzrinne, Jonathan Rosenberg. Presenter: Sambhrama Mundkur.
3/10/2016 Subject Name: Computer Networks - II Subject Code: 10CS64 Prepared By: Madhuleena Das Department: Computer Science & Engineering Date :
Data Communication Networks Lec 13 and 14. Network Core- Packet Switching.
سمینار تخصصی What is PSTN ? (public switched telephone network) تیرماه 1395.
by Kiran Kumar Devaram Varsha Mahadevan Shashidhar Rampally
Cisco Networking Academy Program
VoIP ALLPPT.com _ Free PowerPoint Templates, Diagrams and Charts.
Chapter 9: Transport Layer
IP Telephony (VoIP).
Instructor Materials Chapter 9: Transport Layer
VoIP over Wireless Networks
Introduction to Networking
Net 431: ADVANCED COMPUTER NETWORKS
Cisco Networking Academy Program
Cisco Networking Academy Program
VoIP—Voice over Internet Protocol
Chapter 12: Circuit Switching and Packet Switching
Presentation transcript:

The Basics of Voice over the Internet Protocol Frank M. Groom, Ph.D. Professor of Information and Communication Sciences Ball State University

The Telephone Network

Circuit Switch Voice Message Path STP Call Establishment Circuit Switch Circuit 22 Circuit 7 DPC OPC CIC= 22 Initial Address Called # Calling # DPC OPC CIC= 7 Initial Address Called # Calling # DPC OPC CIC= 22 Initial Address Called # Calling # DPC OPC CIC= 7 Initial Address Called # Calling #

San Francisco Chicago NY Virginia ISP Carrier POP Carrier POP Carrier POP Carrier POP ISP Managed Private/ Peer Network

Access to the Telephone Network

Broadband Access to the Telephone Network

Creating Paths for IP Packets Across the Telephone Network

Creating a Path for Calls and Packets

The Standard Telephone Protocols

Video Equipment Audio Equipment User and System Data Applications System Control H.245 Control H.225 Call Control H.225 RAS Control T.120 and H.225 Data Transfer Video Codec H.261 and H.263 Audio Codec G.711, G.722, G.723, G.728 G.729 Multimedia Protocols

Standard Bodies 1.ITU – telephone standards supports the H.323 local network and conference standard. 2.IETF- Internet group supports the browser-like approach endorsed by the telephone companies.

CHARACTERISTICS OF VOICE AND IP TRAFFIC

Voice requires a Call-Setup Message to be transmitted first to notify the receiver and an Acknowledgement Message returned. Voice requires a regularity (minimum delay) of transmission. Voice only needs 8 Kbps bandwidth for each call.

Packet Switching LANS and Router-based networks are sized based upon the clustering of a sum of independent packets submitted in a bursty fashion. More efficient usage of trunk bandwidth is accomplished by sharing rather than determining the correct number and speed of links and ports. The trade-off is higher delay and delay variation due to queuing, blocking and congestion against a strategy of over-provisioning facilities.

64kb WAN ~214ms Serialization Delay 10mbps Ethernet Voice Packet 60 bytes Every 20ms Voice1500 bytes of DataVoice Voice Packet 60 bytes >214ms Every >214ms Voice Packet 60 bytes >214ms Every >214ms Voice1500 bytes of DataVoice 1500 bytes of DataVoice Large packets can cause buffer filling irregularities resulting in voice degradation Buffers to adjust for Jitter can accommodate some delay and delay variation The Problem of Mixing Data Packets with Voice Large Packets “Freeze Out” Voice

TYPE BYTE COUNT PACKET COUNT 300B- 1500B 1 Client request 200B 1 File transfer 50, , Print submit 2, , Internet request 60 B 1 COMMON PACKET VOLUMES

Result 1.Use small packets to set up a voice transfer path. 2.Use small packets to transfer voice content (73 Bytes). 3.Prioritize voice over data.

Some Standards used by VoIP

BASICS FOR TRANSMITTING VOICE IN IP PACKETS

KEY PARAMETERS FOR AN ACCEPTABLE VOICE NETWORK

(1) the maximum amount of delay experienced, (2) the amount of packets that are lost, and (3) the amount of variation or jitter in the arrival rates.

Inter-site Voice Connection Alternatives

VOIP OVERHEAD AND ITS EFFECTS Packet and cell-based networks require an overhead for addressing and other indicators which adds to each packet and comprises up to 10% of the total packet size.

General VoIP Connection Model

General Home Connection Model

ASSIGNING IP TELEPHONE ADDRESSES – DHCP

VOICE OVER INTERNET PROTOCOL MODELS FOR CONNECTION

IP PBX PSTN Public Internet Gateway VOIP Router IP Phone Private Internet ENTERPRISE CONNECTION OVER PUBLIC AND PRIVATE NETWORKS

Two-Site Enterprise VOIP

Multi-Site Enterprise VOIP

Residence Dial over RBOC Supplied VOIP Service

Residence DSL VOIP

Residence Cable VOIP

VOICE OVER IP TERMINALS SIP Phones H.323 Phones

VOICE OVER IP USING THE H.323 PROTOCOL

The H.323 family of protocols covers the functions of: 1. call signaling 2. transport of the various media types 3. system control 4. special specifications for conferencing including both point-to-point and multipoint conferencing.

To perform these functions, the family of H.323 specifications include: (a) the control specifications of H.245 and H.225 for signaling and control of transmission, (b) the video specifications including those for video compression H.261 and H.263 which are performed by a video codec and are required due to the large volume that would be transmitted if left in a raw form, and (c) the data specification of T.120. However, the most crucial H.323 specifications for employment with voice transmission under a VoIP process are those regarding the compression of audio G.711, 722, 723,728, and 729. This compression is performed as a function of the IP handset and is termed the audio codec.

The Multi-layered Header of an H.323 Packet

Dialing, Compression, and Header Addressing Layers of H.323

H.323 AUDIO CODING AND COMPRESSION

H.323 CALL SETUP SIGNALING AND MESSAGE FLOW

OPERATION OF GATEWAYS AND GATEKEEPERS IN H.323 NETWORK

Admission-to-the-network-requests (ARQ), admission confirmation (ARC) or admission rejection (ARJ)

H.323 Call Setup and Transfer Messages through Gateway and Gatekeeper

Three Zones Communicating by Means of Regional Area Gatekeepers

REAL TIME TRANSFER PROTOCOL

RTP provides timing and sequencing benefits, but at the cost of adding to the considerable UDP/IP header overhead To assist UDP for reliability enhancement purposes, RTP provides an additional 8-byte header to accompany the UDP 12-byte header which has already been added to the 20-byte IP header An additional algorithm, the RTP Compression (CRTP) algorithm, is sometimes employed to drop the total header to 2 bytes instead of the uncompressed 40 bytes..

RTP added to H.323’s Q.931 Signaling Sequence

VoIP Gateways and Gatekeepers Exchanging Info with the WAN

Universal Scheme for Connecting VoIP Traffic to Multiple Nets

SESSION INITIATION PROTOCOL (SIP) FOR VOIP TRANSMISSION

Basic SIP Overall Network and Services Architecture

SIP MESSAGES

Messages exchanged by client phones with servers &destination phones 1. Register- Each phone must register its existence, its parameters, and it’s burned-in MAC address (likely an Ethernet address). It is then assigned a telephone number and an IP address. 2. Invite- Each phone invites another phone to join a session and to exchange a conversation. 3. Acknowledge- Each phone receives back an acknowledgement when a calling session has been established and the destination device agrees to converse. 4. Bye- Each device issues a Bye message to hang-up and takes down the conversation session. 5. Cancel- Bother servers and user devices can issue a cancellation message to stop a request in progress

Sequence Issuance of Messages between Source and Destination Agents

SIP has four headers - one used for Requests, one for Responses, plus an Entity Header and a General Header. - the Request header field modifies the request command. - the Response header field enables servers to send response information back to the requester. - the Entity header field indicates information about the message in the body of the transmitted request/response message

Transmitted Frame with SIP, TCP, UDP and IP Headers

SIP spec covers the 3 core components of VoIP system. a) SIP first covers the application-level user agent and a server agent that can act on behalf or the user agent and receive and respond to the user agent requests. These agents exist in IP phones, IP servers, and gateway devices. b) SIP then specifies three types of network servers that act on behalf of clients to initiate, change, and terminate sessions. These are the Proxy servers, Redirecting servers, and Location and Registration servers c) SIP also provides for addressing in the traditional Internet URL fashion, such as with aliases of the fashion: or physical addresses such

SIP ADDRESSING AND OPERATION

USER AGENTS USING SIP PROXY SERVERS

Initiating a SIP connection over an IP Network

Destination Agent Acknowledging a SIP connection over the IP Network

Two-way Communication with SIP connection over IP Network

FLOW USING PROXY AND REDIRECT SERVERS

SIP Signaling Sequence and Operation

Sequence of SIP steps performed: 1. Registering with the Registration Server, 2. Requesting with an “Invite” of the proxy Server 3. Which then the Proxy Server asks the Location Server where the desired individual is located. 4. The Redirect Server then informs the sending requester at which URL address the desired individual is now located. 5. The Proxy server can now make a connection to the destination user for the caller, substituting a national public IP address for the private local IP address used by many businesses.

GATEWAYS AND GATEKEEPER PROTOCOLS

For simple Voice over IP connections, H.323 or SIP protocols are satisfactory

MEDIA GATEWAY CONTROL PROTOCOL- MGCP

The MGCP protocol supports gateways between a variety of networks. Among these connections are: a)Gateways for trunk connections between telephone networks and IP networks. b) Gateways interconnecting telephone networks and ATM networks. c) Gateways from a standard PBX to a switch interface and further to a voice carrying IP network. d) Gateways from a home devices or home network to a connection to the Internet primarily through an Internet Service Provider (ISP). e) Gateway from a business or residence to the public Internet by means of an analog modem and a dial-up connection through the Public Switched Telephone Network (PSTN). f) MGCP provides connection, signaling, and call control over the PSTN. g) MGCP allows for a division of the functionality with part to be provided by the Media Gateway and other parts to be provided by a central Media Controller placed out in the network. h) MGCP defines a means of handling signaling and session management for multimedia (voice, video, and data) conferencing.

The principle components of a MGCP process include: 1. the originating IP phones, 2. the Media Gateway itself, 3. and the Call Agent as a centralized assistant placed out in the IP network.

Call Agent Signaling to IP or PSTN Network

Call Agent Signaling for Traditional Telephone Transmission through IP Network

THE MGCP COMMANDS The MGCP protocol implements a set of commands that control the interfaces for the media gateway. These commands are structured as a set of origination commands and a required response to each command.

A Notification Request which asks the Media Gateway to look for activity arriving on a specific port from a specific end user terminal (IP Phone). The Media Gateway sends a Notify response to the Call Agent that originally made the request to inform when one of those events occur. The Terminal’s Call Agent sends a CreateConnection command to connect to a specific port on the Media Gateway. The Terminal can subsequently change any of the parameters of that connection with the issuance of a ModifyConnection command. The DelectConnect can be issued either by the terminal or the Media Gateway when a connection is no longer necessary or can’t be maintained. The status of endpoints, connections, and existing calls can be monitored by the Call Agent by issuing AuditEndpoint or AuditConnect commands. The RestartinProgress is a notification message sent to the terminal’s Call Agent indicating that the Media Gateway or a set of connected end points are being restarted or reconnected.

The Architecture of a National IP-based SIP-VoIP Service Network

Carrier SIP Service Local PSTN Enterprise IP Network IP Telephone Standard Telephone Enterprise IP Network Standard Telephone IP Telephone National IP Network Enterprise IP Network Standard Telephone IP Telephone

Conclusion 1.Somebody has to pay. 2.Somebody has to pay taxes. 3.Somebody has to pay for equipment.