Voice over IP Andreas Mettis University of Cyprus November 23, 2004.

Slides:



Advertisements
Similar presentations
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Advertisements

20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 25 Multimedia.
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 20 – March 25, 2010.
IP Protocol - Introduction Dr. Farid Farahmand. Introduction TDM transport networks are not sufficient for data communications Low utilization TDM networks.
Quality of Service(QoS). Outline Why QoS is important? What is QoS? QoS approach. Conclusion.
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
ACN: IntServ and DiffServ1 Integrated Service (IntServ) versus Differentiated Service (Diffserv) Information taken from Kurose and Ross textbook “ Computer.
© 2006 Cisco Systems, Inc. All rights reserved. 2.3: Encapsulating Voice Packets for Transport.
CS158B Project By Shing Chau Jerry Ko Ying Li
School of Information Technologies IP Quality of Service NETS3303/3603 Weeks
Internet QoS Syed Faisal Hasan, PhD (Research Scholar Information Trust Institute) Visiting Lecturer ECE CS/ECE 438: Communication Networks.
A Study on Quality of Service Issues in Internet Telephony  IP Telephony – Applications and Services  Advantages and benefits of Voice over IP  Technical.
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.
Gursharan Singh Tatla Transport Layer 16-May
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.
Presentation on Osi & TCP/IP MODEL
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Integrated Services (RFC 1633) r Architecture for providing QoS guarantees to individual application sessions r Call setup: a session requiring QoS guarantees.
Protocol Layering Chapter 10. Looked at: Architectural foundations of internetworking Architectural foundations of internetworking Forwarding of datagrams.
IP QoS for 3G. A Possible Solution The main focus of this network QoS mechanism is to provide one, real time, service in addition to the normal best effort.
Jaringan Komputer Dasar OSI Transport Layer Aurelio Rahmadian.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
Computer Networks: Multimedia Applications Ivan Marsic Rutgers University Chapter 3 – Multimedia & Real-time Applications.
TCP/IP: Basics1 User Datagram Protocol (UDP) Another protocol at transport layer is UDP. It is Connectionless protocol i.e. no need to establish & terminate.
Mukesh N. Tekwani Elphinstone College Mumbai
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.
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
Emerging Technologies. Emerging Technology Overview  Emerging technologies are those which are just beginning to be adopted or are at the initial acceptance.
1 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services MPLS.
University of the Western Cape Chapter 12: The Transport Layer.
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
Switching breaks up large collision domains into smaller ones Collision domain is a network segment with two or more devices sharing the same Introduction.
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 10 – Quality of Service (QoS)
Computer Networks with Internet Technology William Stallings
Internet Protocol ECS 152B Ref: slides by J. Kurose and K. Ross.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 21 – Case Studies for Multimedia Network Support (Layer 3) Klara Nahrstedt Spring 2009.
ﺑﺴﻢﺍﷲﺍﻠﺭﺣﻣﻥﺍﻠﺭﺣﻳﻡ. Group Members Nadia Malik01 Malik Fawad03.
Computer Security Workshops Networking 101. Reasons To Know Networking In Regard to Computer Security To understand the flow of information on the Internet.
William Stallings Data and Computer Communications
LOG Objectives  Describe some of the VoIP implementation challenges such as Delay/Latency, Jitter, Echo, and Packet Loss  Describe the voice encoding.
Institute of Technology Sligo - Dept of Computing Chapter 12 The Transport Layer.
Prepared by Engr.Jawad Ali BSc(Hons)Computer Systems Engineering University of Engineering and Technology Peshawar.
Review of Network Technologies. Basic of Network concepts Computer Network – A Communication system for connecting computers/hosts Why? – Better connectivity.
Voice Over Internet Protocol
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.
1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE.
Protocol Layering Chapter 11.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
1 Transport Layer: Basics Outline Intro to transport UDP Congestion control basics.
Chapter 6 outline r 6.1 Multimedia Networking Applications r 6.2 Streaming stored audio and video m RTSP r 6.3 Real-time, Interactive Multimedia: Internet.
Switching. Circuit switching Message switching Packet Switching – Datagrams – Virtual circuit – source routing Cell Switching – Cells, – Segmentation.
3/10/2016 Subject Name: Computer Networks - II Subject Code: 10CS64 Prepared By: Madhuleena Das Department: Computer Science & Engineering Date :
1 Lecture 15 Internet resource allocation and QoS Resource Reservation Protocol Integrated Services Differentiated Services.
VOICE AND VIDEO OVER IP VOIP, RTP, RSVP.
Introduction to Networking
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Chapter 25 Multimedia TCP/IP Protocol Suite
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
VoIP Final Report Proposal Spring 2004
Process-to-Process Delivery:
Switching Techniques.
Lecture 2: Overview of TCP/IP protocol
CIS679: Two Planes and Int-Serv Model
Computer Networks Protocols
Presentation transcript:

Voice over IP Andreas Mettis University of Cyprus November 23, 2004

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

VoIP VoIP (voice over IP - that is, voice delivered using the Internet Protocol) is a term used in IP telephony for a set of facilities for managing the delivery of voice information using the Internet Protocol (IP). In general, this means sending voice information in digital form in discrete packets rather than in the traditional circuit-committed protocols of the public switched telephone network (PSTN).

How VoIP Works The OSI Model

Analog to Digital Voice is nothing but air vibration. The microphone converts this vibration into an equivalent variation of an electrical current. The amplitude of this current is measured 8000 times every second. Each reading is coded in binary (ones and zeros). Each code is made up of 8 bits.

Codec Standards

Packet by Packet Transmission

Transport Layer The Real-time Transport (RTP) Protocol provides end-to-end network transport functions suitable for applications transmitting real-time data such as audio, video or simulation data, over multicast or unicast network services. RTP does not address resource reservation and does not guarantee quality-of-service for real-time services.

Transport Layer The User Datagram Protocol (UDP), provides a simple, but unreliable message service for transaction-oriented services. Each UDP header carries both a source port identifier and destination port identifier, allowing high-level protocols to target specific applications and services among hosts.

Network Layer The Internet Protocol (IP), is the routing layer datagram service of the TCP/IP suite. The IP is used to route packets from host to host. The IP packet header contains routing information and control information associated with datagram delivery.

Data Link/ Physical Layer The Ethernet header is attached to the VoIP frame. At the Physical Layer the data are sent from the sender to the receiver.

VoIP Packet

Reduction of voice quality

Mean Option Score In order to assess the quality of voice communications in the presence of impairments, it is crucial to study the individual as well as collective effects of the impairments and produce quantitative measures that reflect the subjective rating that listeners would give. MOS is valuable in that it addresses the human perceived experience, which is the ultimate measure of interest.

Application Layer StandardCodec typeRate (Kbps)Frame (ms)MOS G.711PCM G.729CS-ACELP G.723.1ACELP G.723.1MP-MLQ

Application Layer

Voice Activity Detection VAD uses the fact that two communication partners seldom speak at the same time. Bandwidth saving up to 50%. Difficult to distinguish between ambient noise and silence in transmission. Voice clipping.

Packet Size

Delay Delay incurred in encoding (Algorithmic delay) Packetization delay (function of the amount of speech data included in a packet) Sender to receiver delay 1) Propagation delay 2) Transmission delay 3) Queuing delay

Packet losses and Delay

Echo Echo is caused by the reflection of signals at the four-to-two wire hybrids. This type of echo is present when a voice call involves a combination of VoIP segment in the Internet and a circuit segment in the switched telephone network. Another cause of echo is the PC-based phones that are equipped with a microphone and loudspeakers.

Why bother about VoIP? MONEY,MONEY,MONEY,MONEY,MO NEY,MONEY,MONEY,MONEY!!!!!!!!!!

Quality of Service

Algorithms used Echo Cancellation Loss Recovery: Forward error correction adds redundancy information into voice streams for aiding the loss correction. Error Concealment: A replacement for a lost packet is produced which is similar to the original lost packet. This is possible because voice signals exhibit large amounts of short-term self similarity.

Worst Case Design Advantages QoS is guarantee. Disadvantages Too expensive. The utilization is very small.

RSVP The sender sends the PATH, which describes the traffic that is going to create. The receiver sends the RESV, that it is used to make reservations at every intermediate node. The RESV packets are routed using the Reverse Path Algorithm. Sender 1 Sender 2 PATH RESV (merged) RESV Receiver B Receiver A R R R R R

RSVP Advantages It is possible to assign bandwidth reliably for eachVoIP session. Disadvantages Some resources remain not used when VoIP data has burst character. The load of routers becomes high and application to a very large scale network becomes difficult.

Virtual Private Networks Advantages QoS can be high. Disadvantages Utilization of the network might be low. Might cause starvation for other VoIP traffic.

Differentiated Services Model

Diffserv

DSCP

DSCP – Expedited Forwarding EF – PHB ensures a minimum departure rate, independently of any other traffic attempting to transit across the node. EF – PHB provides a low loss, low jitter assured bandwidth, end to end service through DS domains.

DSCP - Assured Forwarding Best Effort Forwarding (green, yellow, red)

Admission Control Admission control unit makes admission decision to the new request. Admission Criteria is a set of conditions used to determine if an incoming call is to be accepted. Network QoS state and flow information are necessary for the admission control unit.

Combination of Diffserv and Call Admission SIP proxy observes flow information from the router using SNMP. When a SIP message arrives from the SIP terminal it decides the acceptability of this new call based on flow information and the SIP message log.

Diffserv Packet Marking Rule Green: Basic data of all communication sessions. Yellow: Additional data of important sessions. Red: Additional data of normal sessions.

Behavior of the System Basic data can be protected from packet loss by dropping additional data packet of normal communication. In order to guarantee quality of each session, it is necessary to make VoIP flow less than suitable quantity on each link of the network.

Call Admission Method Three kind of VoIP sessions which exist in a system. Sessions generating data traffic Sessions currently in the signaling stage and generating future traffic. Sessions currently in the signaling stage, but which will terminate without generating traffic in the future because of some kind of error.

Call Admission Method It is impossible to determine whether the session currently in the signaling stage will generate traffic or terminate by future error. The log of SIP INVITE message is used and the worst time processing of SIP signaling is recorded to log as TTL value for each SIP INVITE message. TTL is the worst time to process SIP signaling and is known from statistical data.

Conclusions VoIP is rather easy to implement but difficult to guarantee QoS. The combination of Diffserv and Call Admission provide a good mechanism for QoS for VoIP. VoIP offers a lower QoS compared with the PSTN, and can also offers lower costs to the organizations and people that use it. Still need to find better solutions for providing QoS for VoIP.

References [1] Athina P. Markopoulou, Fouad A. Tobagi and Mansour J. Karam, “Assessing the Quality of Voice Communications over Internet Backbones”, pp , [2] Xiuzhong Chen, Chunfeng Wang, Dong Xuan, Zhongcheng Li, Yinghua Min and Wei Zhao, “Survey on QoS Management of VoIP”, Proceedings of the 2003 International Conference on Computer networks and Mobile Computing (ICCNMC’ 03). [3] Masaaki Noro 1, Takahiro KIKUCHI 1, Ken-ichi BABA 2,Hideki SUNAHARA 1,3, Shinji SHIMOJO, “QoS Support for VoIP Traffic to Prepare Emergency”, Proceedings of the 2004 International Symposium on Applications and the Internet Workshops (SAINTW’04) [4] [5] Dr. Christos Panayiotou lecture notes. [6] Siemens. Information and Communications networks. [7] HiPath 4000 V1.0, IP Distributed Architecture, Service Manual.