IP Telephony. Course scope - lecture scope

Similar documents
IP Telephony. Summary of course scope H.323 or SIP

IP Telephony. Operator Framework Technology Framework Quality of Voice over IP Threats and Opportunities

Transporting Voice by Using IP

RTP. Prof. C. Noronha RTP. Real-Time Transport Protocol RFC 1889

Multimedia in the Internet

CS519: Computer Networks. Lecture 9: May 03, 2004 Media over Internet

RTP/RTCP protocols. Introduction: What are RTP and RTCP?

RTP: A Transport Protocol for Real-Time Applications

in the Internet Andrea Bianco Telecommunication Network Group Application taxonomy

Provide a generic transport capabilities for real-time multimedia applications Supports both conversational and streaming applications

Kommunikationssysteme [KS]

Real Time Protocols. Overview. Introduction. Tarik Cicic University of Oslo December IETF-suite of real-time protocols data transport:

ETSF10 Internet Protocols Transport Layer Protocols

Real-Time Transport Protocol (RTP)

Multimedia Applications. Classification of Applications. Transport and Network Layer

Lecture 14: Multimedia Communications

Transporting Voice by Using IP

INSE 7110 Winter 2009 Value Added Services Engineering in Next Generation Networks Week #2. Roch H. Glitho- Ericsson/Concordia University

Real-time Services BUPT/QMUL

A common issue that affects the QoS of packetized audio is jitter. Voice data requires a constant packet interarrival rate at receivers to convert

VoIP Basics. 2005, NETSETRA Corporation Ltd. All rights reserved.

Transport protocols Introduction

RTP Profile for TCP Friendly Rate Control draft-ietf-avt-tfrc-profile-03.txt

陳懷恩博士助理教授兼所長國立宜蘭大學資訊工程研究所 TEL: # 255

4 rd class Department of Network College of IT- University of Babylon

On the Scalability of RTCP Based Network Tomography for IPTV Services. Ali C. Begen Colin Perkins Joerg Ott

Real-Time Protocol (RTP)

WKH4XDOLW\RI9RLFHRYHU,3 LVLWWKHUH

Real-time Services BUPT/QMUL

IP-Telephony Introduction

CS High Speed Networks. Dr.G.A.Sathish Kumar Professor EC

Multimedia Protocols. Foreleser: Carsten Griwodz Mai INF-3190: Multimedia Protocols

13. Internet Applications 최양희서울대학교컴퓨터공학부

Digital Asset Management 5. Streaming multimedia

Voice over IP (VoIP)

Overview. Slide. Special Module on Media Processing and Communication

Transport Protocols. ISO Defined Types of Network Service: rate and acceptable rate of signaled failures.

Multimedia Networking

Outline. Multimedia is different Real Time Protocol (RTP) Session Description Protocol (SDP) Session Initiation Protocol (SIP)

Mohammad Hossein Manshaei 1393

Voice in Packets: RTP, RTCP, Header Compression, Playout Algorithms, Terminal Requirements and Implementations

Introduction to Quality of Service

A Novel Software-Based H.323 Gateway with

Chapter 11: Understanding the H.323 Standard

Outline. QoS routing in ad-hoc networks. Real-time traffic support. Classification of QoS approaches. QoS design choices

Multimedia! 23/03/18. Part 3: Lecture 3! Content and multimedia! Internet traffic!

Part 3: Lecture 3! Content and multimedia!

AIMD (additive-increase, multiplicative-decrease),

H.323. Definition. Overview. Topics

Real-Time Control Protocol (RTCP)

Congestion Feedback in RTCP

RTP: A Transport Protocol for Real-Time Applications

Master Course Computer Networks IN2097

Multimedia networking: outline

OSI Layer OSI Name Units Implementation Description 7 Application Data PCs Network services such as file, print,

Multimedia Communications

Extensions to RTP to support Mobile Networking: Brown, Singh 2 within the cell. In our proposed architecture [3], we add a third level to this hierarc

Lecture 6: Internet Streaming Media

Popular protocols for serving media

Multimedia Communications

A Practical Evaluation of QoS for Voice over IP Daniel Zinca, Virgil Dobrota, Mihai Vancea, Gabriel Lazar

Voice in Packets: RTP, RTCP, Header Compression, Playout Algorithms, Terminal Requirements and Implementations

Mul$media Networking. #5 Real- Time Transport Protocol Semester Ganjil 2012 PTIIK Universitas Brawijaya

ABSTRACT. that it avoids the tolls charged by ordinary telephone service

Network+ Guide to Networks 6th Edition. Chapter 12 Voice and Video Over IP

Effective Network Quality Control Mechanism for QoS/QoE Assurance

Multimedia networks. Additional references. Jargon. Analog to Digital (S5 4.3) KR: Kurose and Ross chapter 7 (KR3: 3 rd ed)

CSCD 433/533 Advanced Networks Fall Lecture 14 RTSP and Transport Protocols/ RTP

RTCP Feedback for Congestion Control in Interactive Multimedia Conferences draft-ietf-rmcat-rtp-cc-feedback-03. Colin Perkins

Introduction to Networked Multimedia An Introduction to RTP p. 3 A Brief History of Audio/Video Networking p. 4 Early Packet Voice and Video

Convergence of communication services

Location Based Advanced Phone Dialer. A mobile client solution to perform voice calls over internet protocol. Jorge Duda de Matos

TSIN02 - Internetworking

TSIN02 - Internetworking

Basic Architecture of H.323 C. Schlatter,

Advanced Communication Networks

THE EFFECT OF DYNAMIC VOICE CODEC SELECTION FOR ACTIVE CALLS ON VOICE QUALITY. A Thesis by. Jered Daniel Ast

Higher layer protocols

TSIN02 - Internetworking

Multimedia Networking

VoIP. ALLPPT.com _ Free PowerPoint Templates, Diagrams and Charts

Multimedia Systems Multimedia Networking Part II Mahdi Amiri December 2015 Sharif University of Technology

Medical Sensor Application Framework Based on IMS/SIP Platform

Phillip D. Shade, Senior Network Engineer. Merlion s Keep Consulting

Internet. 1) Internet basic technology (overview) 3) Quality of Service (QoS) aspects

Transport of (Legacy) Signaling over IP. Summary of course scope

An Architecture Framework for Measuring and Evaluating Packet-Switched Voice

Hands-On Voice Over IP

File transfer. Internet Applications (FTP,WWW, ) Connections. Data connections

Series Aggregation Services Routers.

CS 218 F Nov 3 lecture: Streaming video/audio Adaptive encoding (eg, layered encoding) TCP friendliness. References:

Streaming (Multi)media

Multimedia Networking. Protocols for Real-Time Interactive Applications

Implementation of Embedded SIP-based VoIPv6 System

What is NGN? Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011

Multi-Service Access and Next Generation Voice Service

Voice Over IP. Marko Leppänen Helsinki University of Technology Department of Computer Science Abstract

Converged Networks. Objectives. References

MEA: Telephony systems MEB: Voice over IP MED: VoIP systems MEC: C7 signalling systems MEE: Video principles MEF: Video over IP

Multimedia Applications over Packet Networks

Transcription:

IP Telephony Overview of IP Telephony Media processing, RTP, RTCP Quality of Service Raimo Kantola/k2001 Telecommunications Switching Technology I 18-1 Course scope - lecture scope H.323 or SIP IP SIP or ISUP CAS, R2 IP HLR PABX ISDN Router network MAP Voice Path CCS7 ISUP AN V5 Control Part INAP = Call Processing Server SCP Raimo Kantola/k2001 Telecommunications Switching Technology I 18-2 1

Data traffic will dominate voice in volume. Therefore Data will drive the Network Architecture. IP based Network Point of packetization moves towards access Broadband Networks will be based on packet switching BB network emerges from the existing Internet Each step of Development pays for itself. Raimo Kantola/k2001 Telecommunications Switching Technology I 18-3 VoIP in action Coded samples (G.711, G.729B, G.723.1) bitstream buffer Phys. frame IP UDP RTP Audio data buffer bitstream Raimo Kantola/k2001 Telecommunications Switching Technology I 18-4 2

Delay variance is compensated at reception by buffering Packet flow with constant spacing (e.g. 160 octets/ 20 ms) Source Internet Packets arrive unevenly spaced Delay buffer Destination Lost packet Raimo Kantola/k2001 Telecommunications Switching Technology I 18-5 IP Telephony Standardization is active on de-jure and de-facto fora ITU-T - H.3xx, H.2xx series ETSI - TIPHON project - Telecommunications and Internet Protocol Harmonisation over Networks IPTEL and PINT - WGs of the IETF MMUSIC - WG of the IETF (Multiparty Multimedia Session Control) SIGTRAN (ISUP over IP) VOIP - Voice over IP by IMTC - Int l Multimedia Teleconferencing Consortium Raimo Kantola/k2001 Telecommunications Switching Technology I 18-6 3

TIPHON specifies IP Voice to PSTN/ISDN/GSM Interworking Intranet Internet H.323 H.323 Interworking Functions Interworking Functions Gatekeeper Gateway Gatekeeper Gateway UNI- DSS1 ISDN NNI E.164 numbering NNI PSTN NNI GSM Raimo Kantola/k2001 Telecommunications Switching Technology I 18-7 H.323 products are available ITSPs are strongly committed to H.323 MS Netmeeting, Intel Videophone, Netscape Conference are examples of H.323 clients H.323 version 2 products are available Gateways and Gatekeepers/Call managers are available Raimo Kantola/k2001 Telecommunications Switching Technology I 18-8 4

IETF alternatives to H.323 pursue Integration of Telephony to the Web Web Telephony AVT - Audio Video transport ( RTP) PINT worked on Click-to-Dial, Click-to-Fax, Click-to-Fax- Back www-buttons. The idea is to integrate www to IN Mmusic (now SIP group) works on SIP - idea is to use web-technology to absorb signaling SIP has been adopted by 3GPP for 3G packet telephony Media Gateway Control (Megaco) SIGTRAN works onc7 overip ENUM - numbering info in DNS Raimo Kantola/k2001 Telecommunications Switching Technology I 18-9 Functionality Roadmap to the Future Private VoIP networks: subs criteria in PSTN phase 1 Capacity &replacement &Service Mgt Peer VoIP/PSTN networking Phase 2 All Service IP network Popular Vision Multiple connections between SCN and IP Telephony Network now 2002 2005 2010 Raimo Kantola/k2001 Telecommunications Switching Technology I 18-10 5

Interoperability Issues Signaling and Call control Quality of Service Telephony Routing and addressing Input Information gathering Alternative routing over IP Service Management in the hybrid network Phase 1 ---> Phase 2 --> Phase 3 Raimo Kantola/k2001 Telecommunications Switching Technology I 18-11 IP Voice in Ethernet - Delay is in the Workstation (IPANA -97) Function Generator Voice sender -SUNUltra - Nevot Delay meter ETHERNET RADCOM LAN analyzer -analysis - load generator Voice receiver - SUN Ultra - Nevot - Nevot debug -RTPdump Receiver timestamps Terminal delay: Delay HW 8.9 ms VoIP Client 103.9 ms End-to-end delay Packet lenght Delay 0.02 s 104.5 ms Difference = network delay Raimo Kantola/k2001 Telecommunications Switching Technology I 18-12 6

Packet spacing difference in a campus network 100 10 1 D(ms) 0,1 0,01 0,001 56,00 % 59,00 % 62,00 % 65,00 % 68,00 % 71,00 % 74,00 % 77,00 % % 80,00 % 83,00 % 86,00 % 89,00 % 92,00 % 95,00 % 98,00 % In the public Internet lack of bandwidth, congested routes/links and underdeveloped charging are blockers to IP Voice. Raimo Kantola/k2001 Telecommunications Switching Technology I 18-13 Media processing path in terminals and gateways Audio Audio Microphone A/D conversion Audio device Loadspeaker D/A conversion Audio device Audio device driver Coding Framing RTP packetization Media subsystem UDP/IP packetization Network device driver Audio device driver Decoding Deframing Play-out buffer RTP depacketization Media subsystem UDP/IP depacketization Network device driver Physical transfer Network interface card Physical transfer Network interface card Raimo Kantola/k2001 Telecommunications Switching Technology I 18-14 7

Delay in practical IP voice systems Delay component ms Explanation Audio HW &device driver 0-100 Buffering Algorithm 20-37.5 Sample length + lookahead time Operating system 0-30 Depends on load and implementation Coder <5 Predictable delay in coding algorithm Decoding <1 Typically an easy process Framing and <1 A small software delay packetization NIC and device <5 Has some signifigance especially in WLAN driver Network 0-500 In LAN about 1 ms, Dimensioning Issue! Play-out buffer 0-100 At reception,depends on the state of the network Synchronization 0-30 Audio device requests for data at constant intervals that can not be synchronized with packet arrivals. Avg = half a packet time Source: M.Sc thesis by Jari Selin Raimo Kantola/k2001 Telecommunications Switching Technology I 18-15 Voice quality starts to degrade, when end-to-end delay > 150ms Perceived subjective quality PCM voice quality in ISDN network 150 ms Delay Quality can be measured e.g. based on the E-model or using MOS measurements. MOS - Mean Opinion Score. Raimo Kantola/k2001 Telecommunications Switching Technology I 18-16 8

Packetization of voice samples in ATM cells Voice packet Voicepadding -packet ATM cells Padding Padding Voice packet Padding Voice packet Voice packet ATM cells Length of voice packet depends on coding method and the length of voice frame Packet overhead includes ATM headers and padding, which is needed in order not to increase packet delay. Raimo Kantola/k2001 Telecommunications Switching Technology I 18-17 Packet header and padding overhead is significant Percentage of voice payload when samples are carried over IP, UDP and RTP protocols, and IP is carried over ATM 80 % 70 % 60 % Payload share [%] 50 % 40 % 30 % 20 % Payload; 10ms sample Payload; 20ms sample Payload; 30ms sample 10 % 0% 5 10 15 20 25 30 35 40 45 50 55 60 65 Decoder rate [Kbit/s] Source: Veikko Brax Raimo Kantola/k2001 Telecommunications Switching Technology I 18-18 9

Why voice over IP, when ISDN/GSM work perfectly well? NB: Voice brings currently ca. 90% of operator revenues! Integration of voice and data networks creates new services. Maintaining two networks is expensive. Data traffic grows >30%/year, voice 5%/y, volumes are approximately equal now. If trend continues, in 2010 share of voice will be 10%, data will be 90% of all traffic. Cost of transmission is in free fall: xdsl, SDH, WDM - this trend is difficult to take advantage of using circuit switching: only one sample (8 bits) can be switched at a time cmp. E.g. 20 ms sample => 1 Gbit router is less expensive than an exchange with a 1 Gbit switch fabric. Terminals can do more -> consumer market economy helps. Raimo Kantola/k2001 Telecommunications Switching Technology I 18-19 Real time Services in IP RTP (RFC 1889) RTCP - - Telephony over IP Raimo Kantola/k2001 Telecommunications Switching Technology I 18-20 10

TCP is not suitable for real time services Applications include Audio and video conferencing Shared workspaces Telephony Games Remote medicine... TCP is point-to-point - not suitable for multicast TCP has retransmission for lost segments --> out of order delivery No mechanism for associating timing info with segments Raimo Kantola/k2001 Telecommunications Switching Technology I 18-21 Variable delay has to be compensated at reception by delay buffer Constant flow of packets (e.g. 160 octets each 20 ms) Source Internet Packets arrive unevenly spaced Time Time Delay Buffer Destination Raimo Kantola/k2001 Telecommunications Switching Technology I 18-22 11

Packet arrival process is characterised by delay jitter and packet spacing difference Delay jitter = Maximum variance in packet delay in a session Example: fastest packet arrive in 1 ms slowest arrive in 8 ms. Delay jitter is 7 ms. Packet spacing difference is measured based on receiver clock only: Spacing difference = [(t i -t i-1 )-(t j -t j-1 )] Raimo Kantola/k2001 Telecommunications Switching Technology I 18-23 Soft real time communications tolerate some loss but need the following Low jitter and Low latency Ability to integrate real-time and non-real-time services Adaptability to changing network and traffic conditions Performance for large networks and large nrof connections Modest buffering requirements in the network Effective capacity utilization Low processing overhead per packet Raimo Kantola/k2001 Telecommunications Switching Technology I 18-24 12

RTP - Real time protocol is a sublayer library on top of UDP MPEG H.261 RTP UDP IP Network Access RTP leaves recovery from loss to the application Instead of retransmission e.g. more compact coding may be chosen RTP provides sequencing Raimo Kantola/k2001 Telecommunications Switching Technology I 18-25 RTP supports the transfer of real time data among participants of a session Session is defined by RTP port number (dest port in UDP header of all receivers RTCP - Real time control protocol port number Participant IP addresses - multicast address or a set of unicast addresses For session set-up e.g H.323 or SIP - Session Initiation Protocol can be used Raimo Kantola/k2001 Telecommunications Switching Technology I 18-26 13

RTP transport model includes sources, relays and receivers Source Relay Receiver Mixer or translator A mixer will combine sources - e.g. add voice signals from all conference participants A translator may translate from one video format to another The relay will mark itself as the synchronisation source Raimo Kantola/k2001 Telecommunications Switching Technology I 18-27 V=2 = version RTP header 0 4 8 9 16 31 V P X CC M Payload type Sequence number Timestamp Synchronisation source (SSRC) identifier Contributing source (CSRC) identifier Contributing source (CSRC) identifier P - Padding - indicates that last octet of payload = nrof preceeding padding octets X - Extension - there is an experimental extension header CC - CSRC count - Nrof CSRC identifiers following the fixed header M - Marker - e.g. End of video frame, Beginning of talk spurt Payload type - format of RTP payload. Seq. nr - each source starts at a random nr and =+1 for each packet - determines order of packets with the same timestamp Timestamp - value of local clock at source at generation of first octet of payload SSRC and CSRC identifiers are generated at random Raimo Kantola/k2001 Telecommunications Switching Technology I 18-28 14

RTCP - RTP Control Protocol provides feedback among participants of the session SDES - Source Description Source RR - Receiver report [loss, excessive jitter] SR - Sender report [data rates, quality of transm] BYE Destination Source RTCP packets may be multicast in parallel to RTP using another UDP port RTCP source is identified by plain text Few participants: RTCP reports are sent once in 5s Rate of reports is reduced to max 5% of session traffic if there are more participants Raimo Kantola/k2001 Telecommunications Switching Technology I 18-29 RTCP fixed header is 0 4 8 16 31 V P RC/SC PT Length SSRC of sender (or CSRC) V =2 = version, P - Padding, same as RTP RC - Reception report block count in SR or RR SC - Source item count in SDES or BYE PT - RTCP packet type [RR, SR, SDES, BYE] Length - lenght of this packet in 32 bit words - 1 SSRC - same as in RTP Raimo Kantola/k2001 Telecommunications Switching Technology I 18-30 15

Sender Report carries sender info and reception report blocks Sender information is Reception report block NTP timestamp (MS word) NTP timestamp (LS word) RTP timestamp Sender s packet count Sender s octet count SSRC_i (SSRC of source) Fraction Cum nrof packets lost lost Ext highest seq nr received Interarrival jitter Time of last sender report Delay since last sender report NTP is the wallclock time when sending this report (used for round-trip time measurement) RTP timestamp let relate this report to RTP stream Packet and octet counts run from beginning of session SSRC identifies source Fraction lost since last SR or RR, Cum loss is for the whole session 16 LS bits= highest RTP seq nr. 16 MS bits= nroftimesseqnrhaswrappedbacktozero SR is sent by party who is both sender and receiver! Raimo Kantola/k2001 Telecommunications Switching Technology I 18-31 Average inter-arrival jitter for a source is estimated as follows S(i) = Timestamp from RTP data packet i R(i) = Time of arrival of data packet i in RTP timestamp units D(i)=(R(i)-R(i -1)) - (S(i)-S(i -1)) J(i) = Estimate of Inter-arrival jitter up to the receipt of RTP packet i J(i) = 15/16 * J(i-1)+1/16* D(i) Receivers use the estimate of Jitter to adjust the play-out delay According to measurements the above exponential average is not always optimal Raimo Kantola/k2001 Telecommunications Switching Technology I 18-32 16

RTCP other packets RR are made of the fixed header + reception report blocks (see SR format lower part) SDES can carry CNAME - Canonical Name NAME - Real user name of the source Email address of the source Phone number of the source TOOL - name of the tool used by the source Raimo Kantola/k2001 Telecommunications Switching Technology I 18-33 How to provide SCN-like QoS over IP? Integrated Services ( use RSVP to make reservations in routers for each call!) changes Routers into SCN- Exchange -like systems. Does not scale well. DiffServ mark voice packets with higher than BE priority at ingress priority queuing in transit nodes How to prevent voice from blocking BE traffic? How to do Service Management? Voice packets have high overhead - how to minimize? Overprovisioning Raimo Kantola/k2001 Telecommunications Switching Technology I 18-34 17

How is IP Telephony different from Circuit switched telephony? Circuit Telephony Voice sample = 8 bits A- and µ -law PCM voice standard Reference connection gives network design guidelines => end-to-end delay is under control Wire-line telephones are dumb. Cellular phones are pretty smart Call control is tied to the voice path -INisusedtoaddservice processing on the side. IP Telephony Voice in 10 40 ms samples, Bits in a sample can be switched in parallel No single coding standard End-to-End delay is big challenge Terminals are intelligent - consumer market economics Call control is separate from voice path - first find out whether parties want and can talk, if yes, set-up the voice path Note: Using todays technology IP Telephony is not less expensive in replacement nor green field investments in Corporate networks! Raimo Kantola/k2001 Telecommunications Switching Technology I 18-35 18