Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Internet Telephony Shivkumar Kalyanaraman Based upon slides of Henning Schulzrinne (Columbia)

Slides:



Advertisements
Similar presentations
1 IP Telephony (VoIP) CSI4118 Fall Introduction (1) A recent application of Internet technology – Voice over IP (VoIP): Transmission of voice.
Advertisements

Johan Garcia Karlstads Universitet Datavetenskap 1 Datakommunikation II Signaling/Voice over IP / SIP Based on material from Henning Schulzrinne, Columbia.
H. 323 Chapter 4.
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.
Tom Behrens Adam Muniz. Overview What is VoIP SIP Sessions H.323 Examples Problems.
Voice over IP Fundamentals
Security in VoIP Networks Juan C Pelaez Florida Atlantic University Security in VoIP Networks Juan C Pelaez Florida Atlantic University.
Chapter 5 standards for multimedia communications
IP Communications Services Redefining Communications Teresa Hastings Director WorldCom SIP Services Conference – April 18-20, 2001.
Agenda Introduction Requirements Architecture Issues Implementation Q/A Kundan Singh and Henning Schulzrinne, Columbia University.
VoIP Using SIP/RTP by George Fu, UCCS CS 522 Semester Project Fall 2004.
1.Alice (caller) calls Bob 2.The SIP server forks the call to Bob’s phone and the mail server 3.After 10 seconds, the mail server sets up RTSP sessions.
A Generic Event Notification System Using XML and SIP Knarig Arabshian and Henning Schulzrinne Department of Computer Science Columbia University
1 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public IP Telephony Introduction to Packet Voice Technologies Cisco Networking Academy Program.
 3G is the third generation of tele standards and technology for mobile networking, superseding 2.5G. It is based on the International Telecommunication.
Towards Junking the PBX: Deploying IP Telephony Wenyu Jiang, Jonathan Lennox, Henning Schulzrinne and Kundan Singh Columbia University
IRT Lab IP Telephony Columbia 1 Henning Schulzrinne Wenyu Jiang Sankaran Narayanan Xiaotao Wu Columbia University Department of Computer Science.
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.
E*phone sipc Software SIP user agents Hardware Internet (SIP) phones SIP proxy, redirect server SQL database sipd SIPH.323 converter NetMeeting siph323.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Internet Telephony Shivkumar Kalyanaraman Based upon slides of Henning Schulzrinne (Columbia)
VoIP Lecture 8 Paul Flynn. 2 Network Components CO - Central Office Trunk - Switch-switch connection Loop - Line from switch to phone Tandem switch -
Session Initialization Protocol (SIP)
1 CCM Deployment Models Wael K. Valencia Community College.
Architecture SIP proxy, redirect server SQL database sipd Proxy, Redirect, Registration server. Authentication Programmable (SIP- CGI) OpenSource SQL database:
Architecture Proxy, Redirect, Registration server. Authentication Programmable (SIP- CGI) OpenSource SQL database: MySQL User information:
3. VoIP Concepts.
Agenda Introduction Architecture Issues Implementation features Future plan Demo.
IP telephony overview and demonstration
Sipdsip323sipconfsipumsipvxmlrtspd CINEMA Libraries libNT Win32 stub libcine Utilities parsing IPv6 libsip Basic SIP library libsip++ SIP UA library libmixer.
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.
B2BUA – A New Type of SIP Server Name: Stephen Cipolli Title: System Architect Date: Feb. 12, 2004.
Session Initiation Protocol (SIP). What is SIP? An application-layer protocol A control (signaling) protocol.
Introduction to SIP Based ENUM IP Telephony Infrastructure 資策會 網路及通訊實驗室 Conference over IP Team 楊政遠 博士
Introduction to Packet Voice Technologies Cisco Networking Academy Program.
H.323 An International Telecommunications Union (ITU) standard. Architecture consisting of several protocols oG.711: Encoding and decoding of speech (other.
©2000, Columbia University “A flexible architecture to support wide range of multimedia communication applications, both clients and servers” Presented.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz #13 Shivkumar Kalyanaraman: GOOGLE: “Shiv RPI”
©2000, Columbia University “A flexible architecture to support wide range of multimedia communication applications, both clients and servers”
Omar A. Abouabdalla Network Research Group (USM) SIP – Functionality and Structure of the Protocol SIP – Functionality and Structure of the Protocol By.
VOCODERS. Vocoders Speech Coding Systems Implemented in the transmitter for analysis of the voice signal Complex than waveform coders High economy in.
VoIP Signaling Protocols A signaling protocol is a common language spoken by telephones and call-management servers, the PSTN, and legacy PBX systems as.
RSVP Myungchul Kim From Ch 12 of book “ IPng and the TCP/IP protocols ” by Stephen A. Thomas, 1996, John Wiley & Sons. Resource Reservation.
SIP & H.323 Interworking Name: Amir Zmora Title: PM Date: Feb
CSE5803 Advanced Internet Protocols and Applications (14) Introduction Developed in recent years, for low cost phone calls (long distance in particular).
K. Salah1 VoIP or IP Telephony. K. Salah2 Introduction Importance of VoIP Importance of VoIP  Unification of data and voice networks  It is easier to.
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 :
Telecommunications Essentials Chapter 9. Cost savings & revenue generation Logical rather than physical connections IPT – Telephony IPTV – Digital Television.
Postech DP&NM Lab Session Initiation Protocol (SIP) Date: Seongcheol Hong DP&NM Lab., Dept. of CSE, POSTECH Date: Seongcheol.
سمینار تخصصی What is PSTN ? (public switched telephone network) تیرماه 1395.
Introduction to Packet Voice Technologies
SIP-based VoiceXML browser (sipvxml)
VoIP ALLPPT.com _ Free PowerPoint Templates, Diagrams and Charts.
IP Telephony (VoIP).
Towards Junking the PBX: Deploying IP Telephony
SIX MONTHS INDUSTRIAL TRAINING REPORT
SIP based VoiceXML browser
Architecture OpenSource SQL database: MySQL
Voice over IP Presentation on Voice over IP Telecommunication and Computer Networks Presenter: Subash Chandra Pakhrin (072MSI616) MSC in Infromation and.
VOICE AND VIDEO OVER IP VOIP, RTP, RSVP.
Session Initiation Protocol (SIP)
Introduction to Networking
Net 431: ADVANCED COMPUTER NETWORKS
Prof. Henning Schulzrinne Internet Real-Time Laboratory
SIP/RTSP based unified messaging
Internet Real-Time Laboratory demonstration
Architecture rtspd SIP/RTSP Unified messaging RTSP media server sipum
CINEMA clouds sipc e*phone Netmeeting H.323 sipd SIP RTSP MGCP PSTN
VoIP Signaling Protocols Framework
Presentation transcript:

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Internet Telephony Shivkumar Kalyanaraman Based upon slides of Henning Schulzrinne (Columbia)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 2 q Telephony: history and evolution q IP Telephony: Why ? q Adding interactive multimedia to the web q Being able to do basic telephony on IP with a variety of devices q Basic IP telephony model q Protocols: SIP, H.323, RTP, Coding schemes, MGCP, RTSP q Future: Invisible IP telephony and control of appliances Overview

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 3 Public Telephony (PSTN) History q 1876 invention of telephone q 1915 first transcontinental telephone (NY–SF) q 1920’s first automatic switches q 1956 TAT-1 transatlantic cable (35 lines) q 1962 digital transmission (T1) q ESS analog switch q 1974 Internet packet voice q ESS digital switch q 1980s Signaling System #7 (out-of-band) q 1990s Advanced Intelligent Network (AIN)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 4 Telephone Service in the US AT&T Divestiture

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 5 Telephone System Overview q Analog narrowband circuits: home-> central office q 64 kb/s continuous transmission, with compression across oceans q  -law: 12-bit linear range -> 8-bit bytes q Everything clocked a multiple of 125 s q Clock synchronization  framing errors q AT&T: 136 “toll”switches in U.S. q Interconnected by T1, T3 lines & SONET rings  Call establishment “out-of-band” using packet- switched signaling system (SS7)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 6 Telephony: Multiplexing  Telephone Trunks between central offices carry hundreds of conversations: Can’t run thick bundles!  Send many calls on the same wire: multiplexing  Analog multiplexing  bandlimit call to 3.4 KHz and frequency shift onto higher bandwidth trunk  Digital multiplexing: convert voice to samples  8000 samples/sec => call = 64 Kbps

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 7 Trends: Price of Phone Calls: NY - London AT&T Divestiture

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 8 Trends: Data vs Voice Traffic Since we are building future networks for data, can we slowly junk the voice infrastructure and move over to IP?

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 9 Trends: Phone vs Data Revenues

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 10 Private Branch Exchange (PBX) External line Telephone switch Private Branch Exchange Another switch Corporate/Campus Internet Corporate/Campus LAN Post-divestiture phenomenon...

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 11 External line PBX Corporate/Campus Internet LAN PBX Another campus LAN IP Telephony: PBX Replacement

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 12 Voice over Packet Market Forecast – North America

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 13 Invisible Internet Telephony q VoIP technology will appear in... q Internet appliances q home security cameras, web cams q 3G mobile terminals  fire alarms  chat/IM tools  interactive multiplayer games

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 14 IPtel for appliances: “Presence”

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 15 Taxonomy of Speech Coders Speech Coders Waveform CodersSource Coders Time Domain: PCM, ADPCM Frequency Domain: e.g. Sub-band coder, Adaptive transform coder Linear Predictive Coder Vocoder  Waveform coders: attempts to preserve the signal waveform not speech specific (I.e. general A-to-D conv) q PCM 64 kbps, ADPCM 32 kpbs, CVSDM 32 kbps qVocoders: q Analyse speech, extract and transmit model parameters q Use model parameters to synthesize speech q LPC-10: 2.4 kbps qHybrids: Combine best of both… Eg: CELP (used in GSM)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 16 Speech Quality of Various Coders

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 17 Applications of Speech Coding q Telephony, PBX q Wireless/Cellular Telephony q Internet Telephony q Speech Storage (Automated call-centers) q High-Fidelity recordings/voice q Speech Analysis/Synthesis q Text-to-speech (machine generated speech)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 18 Pulse Amplitude Modulation (PAM)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 19 Pulse Code Modulation (PCM) * PCM = PAM + quantization

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 20 Quantization

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 21 Companded PCM Small quantization intervals to small samples and large intervals for large samples Excellent quality for BOTH voice and data Moderate data rate (64 kbps) Moderate cost: used in T1 lines etc

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 22 Companding

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 23 How it works for T1 Lines Companding blocks are shared by all 16 channels

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 24 Adaptive Gain Encoding Automatic Gain control (AGC), but accounting for silence periods

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 25 Time Waveform of Voiced/Unvoiced Sound High correlation (0.85) between samples, cycles, pitch intervals etc

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 26 Differential PCM Exploits sample-to-sample correlation (0.85) => differences require fewer bits; feedback avoids cascading quantization errors

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 27 Delta Modulation Used in first-generation PBXs (switching was more sensitive to Digital conversion cost and less sensitive to quality or data rate)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 28 Adaptive Predictive Coding Adapt both the prediction coefficients (alphas) and the estimates Based upon past or present samples => 20 dB prediction gain

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 29 Subband Coding Frequency domain analysis of input instead of time-domain Analysis: adjust quantization based upon energy level of each band Eg: G.722 coder: 7kHz voice w/ 64 kbps

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 30 G.722 (7 kHz) audio Codec

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 31 Recall: Taxonomy of Speech Coders Speech Coders Waveform CodersSource Coders Time Domain: PCM, ADPCM Frequency Domain: e.g. Sub-band coder, Adaptive transform coder Linear Predictive Coder Vocoder  Waveform coders: attempts to preserve the signal waveform not speech specific. q PCM 64 kbps, ADPCM 32 kpbs, CVSDM 32 kbps qVocoders: q Analyse speech, extract and transmit model parameters q Use model parameters to synthesize speech q LPC-10: 2.4 kbps qHybrids: Combine best of both… Eg: CELP

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 32 Vocoders Encode only perceptually important aspects of speech w/ fewer bits than waveform coders: eg: power spectrum vs time-domain accuracy

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 33 LPC Analysis/Synthesis

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 34 Speech Generation in LPC

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 35 Multi-pulse LPC

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 36 CELP Encoder

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 37 Example: GSM Digital Speech Coding q PCM: 64kbps too wasteful for wireless q Regular Pulse Excited -- Linear Predictive Coder (RPE--LPC) with a Long Term Predictor loop. q Subjective speech quality and complexity (related to cost, processing delay, and power) q Information from previous samples used to predict the current sample: linear function. q The coefficients, plus an encoded form of the residual (predicted - actual sample), represent the signal. q 20 millisecond samples: each encoded as 260 bits =>13 kbps (Full-Rate coding).

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 38 Speech Quality of Various Coders

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 39 Speech Quality (Contd)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 40 VoIP Camps ISDN LAN conferencing IP H.323 I-multimedia WWW IP SIP Call Agent SIP & H.323 IP “Softswitch” BISDN, AIN H.xxx, SIP “any packet” BICC Conferencing Industry Netheads “IP over Everything” Circuit switch engineers “We over IP” “Convergence” ITU standards Our focus

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 41 Internet Multimedia Protocol Stack

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 42 IP Telephony Protocols: SIP, RTP  Session Initiation Protocol - SIP  Contact “office.com” asking for “bob”  Locate Bob’s current phone and ring  Bob picks up the ringing phone  Real time Transport Protocol - RTP  Send and receive audio packets

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 43 Internet Telephony Protocols: H.323

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 44 H.323 (contd) q Terminals, Gateways, Gatekeepers, and Multipoint Control Units (MCUs)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 45 H.323 vs SIP IP and lower layers TCP UDP TPKT Q.931 H.245 RASRTCP RTP Codecs Terminal Control/Devices Transport Layer SIPSDP RTP Codecs RTCP Terminal Control/Devices Typical UserAgent Protocol stack for Internet

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 46 SIP vs H.323 q Text based request response q SDP (media types and media transport address) q Server roles: registrar, proxy, redirect q Binary ASN.1 PER encoding q Sub-protocols: H.245, H.225 (Q.931, RAS, RTP/RTCP), H.450.x... q H.323 Gatekeeper - Both use RTP/RTCP over UDP/IP - H.323 perceived as “heavyweight”

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 47 Light-weight signaling: Session Initiation Protocol (SIP) q IETF MMUSIC working group q Light-weight generic signaling protocol q Part of IETF conference control architecture: q SAP for “Internet TV Guide” announcements q RTSP for media-on-demand q SDP for describing media q others: malloc, multicast, conference bus,... q Post-dial delay: 1.5 round-trip time (with UDP) q Network-protocol independent: UDP or TCP (or AAL5 or X.25)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 48 SDP: Session Description Protocol q Not really a protocol – describes data carried by other protocols q Used by SAP, SIP, RTSP, H.332, PINT. Eg: v=0 o=g.bell IN IP s=Come here, Watson! u= c=IN IP b=CT:64 t= k=clear:manhole cover m=audio 3456 RTP/AVP 96 a=rtpmap:96 VDVI/8000/1 m=video 3458 RTP/AVP 31 m=application udp wb

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 49 SIP functionality q IETF-standardized peer-to-peer signaling protocol (RFC 2543):  Locate user given -style address q Setup session (call) q (Re)-negotiate call parameters q Manual and automatic forwarding q Personal mobility: different terminal, same identifier q Call center: reach first (load distribution) or reach all (department conference) q Terminate and transfer calls

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 50 SIP Addresses Food Chain

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 51 SIP components q UAC: user-agent client (caller application) q UAS: user-agent server à accept, redirect, refuse call q redirect server: redirect requests q proxy server: server + client q registrar: track user locations  user agent = UAC + UAS  often combine registrar + (proxy or redirect server)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 52 Are true Internet hosts Choice of application Choice of server IP appliances Implementations 3Com (3) Columbia University MIC WorldCom (1) Mediatrix (1) Nortel (4) Siemens (5) 4 IP SIP Phones and Adaptors 1 3 Analog phone adaptor Palm control 2 54

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 53 SIP-based Architecture SIP proxy, redirect server SQL database sipd e*phone sipc Software SIP user agents Hardware Internet (SIP) phones SIPH.32 3 converto r NetMeeting sip323 H.323 rtspd SIP/RTSP Unified messaging RTSP media server sipum Quicktime RTSP clients RTSP SIP conference server sipconf T1/E1 RTP/SIP Telephone Cisco 2600 gateway Telephone switch Web based configuration Web server

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 54 SIP proxy, redirect server SQL database sipd e*phone sipc Software SIP user agents Hardware Internet (SIP) phones Web based configuration Web server Call Bob Example Call Bob signs up for the service from the web as He registers from multiple phones Alice tries to reach Bob INVITE ecse.rpi.edu sipd canonicalizes the destination to sipd rings both e*phone and sipc Bob accepts the call from sipc and starts talking ecse.rpi.edu

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 55 PSTN to IP Call PBX PSTN External T1/CAS Regular phone (internal) Call SIP server sipd Ethernet 3 SQL database => bob sipc 5 Bob’s phone Gateway Internal T1/CAS (Ext: ) Call

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 56 IP to PSTN Call Gateway ( ) 3 SQL database 2 Use Ethernet SIP server sipd sipc 1 Bob calls PSTN External T1/CAS Call PBX Internal T1/CAS Call Regular phone (internal, 7054)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 57 Traditional voice mail system Alice Bob Dial Phone is ringing.. The person is not available now please leave a message Your voice message... Disconnect Bob can listen to his voice mails by dialing some number.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 58 SIP-based Voic Architecture INVITE Alice phone1.office.com Bob Alice calls through SIP proxy. SIP proxy forks the request to Bob’s phone as well as to a voic server. vm.office.com The voice mail server registers with the SIP proxy, sipd INVITE INVITE REGISTER

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 59 Voic Architecture v-mail rtspd Alice vm.office.com; 200 OK CANCEL SETUP RTP/RTCP phone1.office.com; Bob After 10 seconds vm contacts the RTSP server for recording. vm accepts the call. Sipd cancels the other branch and......accepts the call from Alice. Now user message gets recorded

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 60 SIP-H.323: Interworking Problems Eg: Call setup translation Q.931 SETUP Q.931 CONNECT INVITE 200 OK ACK Terminal Capabilities Open Logical Channel H.323SIP Destination address Media capabilities (audio/video) Media transport address (RTP/RTCP receive) H.323: Multi-stage dialing

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 61 MGCP and Megaco q Media Gateway Controller Protocol (RFC 2705) q Controlling Telephony Gateways from external call control elements called media gateway controllers (MGC) or call agents q Gateways: Eg: RGW : physical interfaces between VoIP network and residences q Call control "intelligence" is outside the gateways and handled by external call control elements q Goal: scalable gateways between IP telephony and PSTN q Successor to MGCP: H.248/Megaco

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 62 MGCP Architecture RGW: Residential Gateway TGW: Trunk Gateway Goal: large-scale phone-to-phone VoIP deployments

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 63 Summary q Telephony and IP Telephony q Protocols: SIP, SDP, H.323, MCGP q Example operation and services: q Calls, voice mail etc q Future: Integration with Web and long-term replacement for current telephone systems