Copyrights © 2006. All rights Reserved. Introduction to VoIP Chetan Vaity August 2006.

Slides:



Advertisements
Similar presentations
VoIP PRESENTATION BY HÜSEYİN SAVRAN OUTLINE PSTN an brief history of telephone.
Advertisements

CAUSES & CURE OF LATENCY IN THE INTERNET TELEPHONY DR. OLUMIDE SUNDAY ADEWALE Dept of Industrial Math & Computer Science Federal University of Technology.
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Tom Behrens Adam Muniz. Overview What is VoIP SIP Sessions H.323 Examples Problems.
Voice over IP Fundamentals
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet.
29.1 Chapter 29 Multimedia 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.
User Control of Streaming Media: RTSP
Application layer (continued) Week 4 – Lecture 2.
SIP/RTP/RTCP Implementation by George Fu, UCCS CS 525 Semester Project Fall 2006.
VoIP Using SIP/RTP by George Fu, UCCS CS 522 Semester Project Fall 2004.
VoIP Voice Transmission Over Data Network. What is VoIP?  A method for Taking analog audio signals Turning audio signals into digital data Digital data.
CS158B Project By Shing Chau Jerry Ko Ying Li
© 2006 Cisco Systems, Inc. All rights reserved. 2.2: Digitizing and Packetizing Voice.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
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.
VOIP ENGR 475 – Telecommunications Harding University November 16, 2006 Jonathan White.
1 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public IP Telephony Introduction to VoIP Cisco Networking Academy Program.
Improving a Traffic Generator and Analyzer Test-tool for Media Gateway - Support for Real-time Transfer Protocol (RTP) and RTP Control Protocol (RTCP)
CS 218 F 2003 Nov 3 lecture:  Streaming video/audio  Adaptive encoding (eg, layered encoding)  TCP friendliness References: r J. Padhye, V.Firoiu, D.
1 CMSCD1011 Introduction to Computer Audio Lecture 10: Streaming audio for Internet transmission Dr David England School of Computing and Mathematical.
CIS679: RTP and RTCP r Review of Last Lecture r Streaming from Web Server r RTP and RTCP.
Multimedia Communications
Multimedia Communications Student: Blidaru Catalina Elena.
© 2006 Cisco Systems, Inc. All rights reserved. QOS Lecture 2 - Introducing VoIP Networks.
3. VoIP Concepts.
VoIP Voice over Internet Protocol
Voice Over IP Friday Science Seminar 02/16/07 Southern Oregon University.
1 VoIP Fundamentals Tech Agenda Tech 160  Voice Communication  Voice over PSTN  Voice over IP  Quality of Service  VoIP Security  References.
Copyrights © All rights Reserved. Asterisk and VoIP issues Chetan Vaity March 2007.
Computer Networks: Multimedia Applications Ivan Marsic Rutgers University Chapter 3 – Multimedia & Real-time Applications.
1 VoIP – Voice over Internet Protocol Patrick Hügenell, Andreas Vetter – TIM01AGR – 2003 VoIP Voice over IP.
1 A high grade secure VoIP using the TEA Encryption Algorithm By Ashraf D. Elbayoumy 2005 International Symposium on Advanced Radio Technologies Boulder,
P2P VoIP Speaker : Ching Chen Chang Date: 2007/09/27.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 3 – VoIP: An Overview.
Multimedia Over IP: RTP, RTCP, RTSP “Computer Science” Department of Informatics Athens University of Economics and Business Λουκάς Ελευθέριος.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
1 Lecture 17 – March 21, 2002 Content-delivery services. Multimedia services Reminder  next week individual meetings and project status report are due.
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
Code : STM#220 Samsung Electronics Co., Ltd. IP Telephony System Error Handling & Management IP Telephony System Error Handling & Management Distribution.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 2: Cisco VoIP Implementations.
Computer Networks with Internet Technology William Stallings
Voice over IP by Rahul varikuti course instructor: Vicky Hsu.
Streaming Media Control n The protocol components of the streaming n RTP/RTCP n RVSP n Real-Time Streaming Protocol (RTSP)
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
 Introduction – Consumer Market  Benefits – Operational Cost & Flexibility  Challenges – Quality of Service & Securing VOIP  Legal Issuers  Risk.
Chapter 28. Network Management Chapter 29. Multimedia
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
Voice over IP B 林與絜.
LOG Objectives  Describe some of the VoIP implementation challenges such as Delay/Latency, Jitter, Echo, and Packet Loss  Describe the voice encoding.
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.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
Ch 6. Multimedia Networking Myungchul Kim
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
Multimedia Streaming I. Fatimah Alzahrani. Introduction We can divide audio and video services into three broad categories: streaming stored audio/video,
1 Internet Telephony: Architecture and Protocols an IETF Perspective Authors:Henning Schulzrinne, Jonathan Rosenberg. Presenter: Sambhrama Mundkur.
The Session Initiation Protocol - SIP
3/10/2016 Subject Name: Computer Networks - II Subject Code: 10CS64 Prepared By: Madhuleena Das Department: Computer Science & Engineering Date :
The Internet and Real-Time Applications Identifying Voice Transmission and Switching Issues for Packet Data Networks S. Wood Nov Copyright 2006 Modern.
VoIP ALLPPT.com _ Free PowerPoint Templates, Diagrams and Charts.
Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IP Telephony (VoIP).
VOICE AND VIDEO OVER IP VOIP, RTP, RSVP.
Introduction to Networking
Chapter 25 Multimedia TCP/IP Protocol Suite
VoIP—Voice over Internet Protocol
ENGR 475 – Telecommunications
Presentation transcript:

Copyrights © All rights Reserved. Introduction to VoIP Chetan Vaity August 2006

Copyright © GS Lab All rights Reserved. Lets make some VoIP calls… Broadvoice Indian PSTN US phone Indian phone Internet 1 US PSTN 2 3

Copyright © GS Lab All rights Reserved. What is VoIP  Transfer of voice conversations over an IP based network  Also known as:  IP Telephony  Internet telephony  Broadband telephony  Voice over Broadband

Copyright © GS Lab All rights Reserved. Essentials  What happens in a VoIP call?  Establish connection with the target  Various protocols  Capture voice, digitize and encode  Codecs  Transfer over network  Network issues  Interface with PSTN  Decode and reproduce voice

Copyright © GS Lab All rights Reserved. Protocols  Signaling protocols  SIP ( I nternet E ngineering T ask F orce)  H.323 ( I nternational T elecommunications U nion)  All voice/video communications are done over separate transport protocols, typically RTP  Media protocols  RTP  RTCP

Copyright © GS Lab All rights Reserved. Protocols – SIP  Session Initiation Protocol  SIP is primarily used in setting up and tearing down voice or video calls  SIP clients traditionally use port 5060 to connect to SIP servers  SIP acts as a carrier for the Session Description Protocol (SDP), which describes the media content of the session, e.g. what IP ports to use, the codec being used etc.  It is human readable and request-response structured  SIP messages: INVITE, ACK, BYE, REGISTER  SIP responses:  100 Trying  180 Ringing  200 OK  404 Not found  SIP shares many HTTP status codes, such as the familiar '404 not found'

Copyright © GS Lab All rights Reserved. Protocols – H.323  H.323 is actually a family of protocols  H.323 ties together a number of protocols to allow multimedia transmissions over an unreliable packet based network  H.225 for call control and signaling  H.245 for exchanging terminal capabilities and creation of media channels  H.235 for security  RTP/RTCP for media

Copyright © GS Lab All rights Reserved. Protocols – RTP (Real-time Transport Protocol)  Media applications are less sensitive to packet loss, but typically very sensitive to delays.  UDP is a better choice than TCP  RTP generally runs over UDP  RTP provides  payload-type identification  sequence numbering  timestamping  It does not guarantee any QoS

Copyright © GS Lab All rights Reserved. Protocols - RTCP  Real-time transport control protocol (RTCP) is the counterpart of RTP that provides control services.  The primary function of RTCP is to provide feedback on the quality of the data distribution.  Statistics on a media connection  bytes sent  packets sent  lost packets  jitter  round trip delay  An application may use this information to increase the quality of service perhaps by limiting data sent or maybe using a low compression codec instead of a high compression codec  RTCP uses (RTP port + 1)

Copyright © GS Lab All rights Reserved. Speech example Wel come to G S Lab

Copyright © GS Lab All rights Reserved. Codecs  Convert speech to a digital format suitable to be transmitted over the network  Most codecs utilize compression to reduce the bandwidth requirement  But, heavy compression algorithms take time. This adds a delay to the conversation  Human speech is a very special signal and its characteristics are exploited in these algorithms

Copyright © GS Lab All rights Reserved. Pulse Code Modulation  A PCM representation of an analog signal is generated by measuring ( sampling ) the magnitude of the analog signal at uniform intervals, and then quantizing it to a code.

Copyright © GS Lab All rights Reserved. G.711 (µ-law)  8000 samples per second  8 bits per sample  64 kbps  Logarithmic PCM (because the perceived loudness by humans is logarithmic)  µ-law: used in North America and Japan  a-law: used in the rest of the world

Copyright © GS Lab All rights Reserved. Linear Predictive Coding  LPC starts with the assumption that a speech signal is produced by a buzzer at the end of a tube  The vocal tract (the throat and mouth) forms the tube, which is characterized by its resonances  The buzz is characterized by its intensity (gain) and frequency (pitch)  LPC analysis produces estimates for the pitch, gain and a set of numbers for the resonances  Voiced and Unvoiced

Copyright © GS Lab All rights Reserved. GSM codec  GSM uses linear predictive coding (LPC)  Speech is divided into 20 millisecond units (frames)  LPC parameters are determined for each frame  The number of bits needed to send these parameters is the bit-rate of the codec  For GSM, the bit rate is 13kbps

Copyright © GS Lab All rights Reserved. Comparison between codecs CodecBit rateQuality (MOS) G G G LPC Source for wave samples:

Copyright © GS Lab All rights Reserved. Network problems  Delay  Jitter  Echo  Congestion  Packet loss  Disordered packet arrivals

Copyright © GS Lab All rights Reserved. Network issues - Delay  A delay of less than 150 ms is acceptable and usually goes unnoticed by humans  With delay greater than 400 ms, conversation starts becoming irritating  Coder delay is the time taken to compress a block of PCM samples  This delay varies with the codec used and processor speed  For G.729, delay is around 30ms  Packetization delay is the time taken to fill a packet payload with encoded speech  Queuing delay and Propagation delay at various network components  Jitter buffer delay

Copyright © GS Lab All rights Reserved. Jitter  Variation in delay of packets is called Jitter  The effects of jitter can be mitigated by storing voice packets in a buffer upon arrival, before playing out  Increases delay by the length of the buffer

Copyright © GS Lab All rights Reserved. Echo  Echo in telephony systems is caused by two main phenomena  Electrical echo due to imperfect impedance matching  Acoustic echo due to microphone pickup of audio output  Echo becomes noticeable only when there is a delay between speaking and hearing your voice echoed. (more than about 50 ms)  In PSTN calls, there is always echo, but it remains unnoticed because the delay is quite small  VoIP intrinsically has packetization, depacketization and processing delays built into its protocols  VoIP phones don't cause echo. They just make it audible by introducing an extra delay  Echo cancellation: Subtract from the received signal  Based on the response of the system to a short spike of sound  Echo cancellation is a hugely CPU-intensive process

Copyright © GS Lab All rights Reserved. Advantages of VoIP  Reduction in costs  Uses the internet for long distance calls  Uses underutilized existing network capacity  Functionality  Especially for computer users – (click on name to call)  Merging of Data and Voice infrastructures  No need for separate cabling  Mobility  Wherever you are connected to the Internet, you can receive VoIP calls

Copyright © GS Lab All rights Reserved. Disadvantages of VoIP  Quality  Due to low/variable bandwidth  Echo  Internet connection  VoIP usage is entirely dependent on the quality, reliability and speed of the internet connection  If the net is down, you have no telephony  Power  No phone calls in a power outage

Copyright © GS Lab All rights Reserved. Services  Packet8, Vonage, Verizon  A black box with a phone attached  The user experience is almost indistinguishable from normal PSTN  The term “VoIP” is not used, instead – “Internet telephone” or “Digital telephone”  Broadvoice  Allow direct connect of SIP phones  Aimed at tech-savvy clients  Allows  Skype  Rely on the software client on the computer  Peer to peer  Routes calls through other Skype peers on the network  Proprietary, closed source

Copyright © GS Lab All rights Reserved. Legal Issues  As the popularity of VoIP grows, and PSTN users switch to VoIP in increasing numbers, governments are becoming more interested in regulating VoIP in a manner similar to legacy PSTN services  In some countries, governments fearful for their state owned telephone services, have imposed restrictions on the use of VoIP  In India, it is legal to use VoIP. But it is illegal to have VoIP gateways inside India. This effectively means, people who have PCs can use it to make a VoIP call to any number. But if the remote side is a normal phone, the gateway that converts VoIP call to PSTN call should not be inside India

Copyright © GS Lab All rights Reserved. Cougar  What is it?  What can it do?  What software does it use?  How do I make calls?  Whom should I contact if I can’t?  Where to get more info?

Copyright © GS Lab All rights Reserved. References  Wikipedia   