![Page 1: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/1.jpg)
IP Telephony (Voice over IP)
![Page 2: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/2.jpg)
n Instructorn Ai-Chun Pang, [email protected] Office Number: 417, New building
n Textbookn “Carrier Grade Voice over IP,” D. Collins, McGraw-Hill, Second
Edition, 2003.
n Requirementsn Homework x 3 30%n Mid-term exam 25%n Final exam 25%n Term project 20%
n TAs (office number: 305, Old building)n 王舜茂 ([email protected])n 許睿斌 ([email protected])n 詹勝? ([email protected])
![Page 3: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/3.jpg)
n Course Outlinen Introductionn Transporting Voice by Using IPn Speech-Coding Techniques (Optional)n H.323n Session Initiation Protocol (SIP) and ENUMn SIP over Network Address Translation (NAT)n Media Gateway Control and the Softswitch Architecturen VoIP and SS7n Quality of Servicen Designing a Voice over IP Networkn From IPv4 to IPv6 Networksn Mobile All IP Network
n IP Multimedia Subsystem (IMS)
n VoIP over Wireless LAN (WLAN)
![Page 4: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/4.jpg)
Introduction
Chapter 1
![Page 5: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/5.jpg)
5IP Telephony
Carrier Grade VoIP
n Carrier grade and VoIPn Mutually exclusiven A serious alternative for voice communications with enhanced
features
n Carrier graden The last time when it failsn 99.999% reliability (high reliability)
n Fully redundant, Self-healing
n AT&T carries about 300 million voice calls a day (high capacity).n Highly scalable
n Short call setup time, high speech qualityn No perceptible echo, noticeable delay and annoying noises on the
line
n Interoperability
![Page 6: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/6.jpg)
6IP Telephony
VoIP
n Transport voice traffic using the Internet Protocol (IP)
n One of the greatest challenges to VoIP is voice quality.
n One of the keys to acceptable voice quality is bandwidth.
n Control and prioritize the accessn Internet: best-effort transfer
n VoIP != Internet telephonyn Next generation Telcos
n Access and bandwidth are better managed.
![Page 7: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/7.jpg)
7IP Telephony
IP
n A packet-based protocoln Routing on a packet-by-packet base
n Packet transfer with no guaranteesn May not be received in ordern May be lost or severely delayed
n TCP/IPn Retransmissionn Assemble the packets in ordern Congestion controln Useful for file-transfers and e-mail
![Page 8: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/8.jpg)
8IP Telephony
Data and Voice
n Data trafficn Asynchronous – can be delayedn Extremely error sensitive
n Voice trafficn Synchronous – the stringent delay requirementsn More tolerant for errors
n IP is not for voice delivery.n VoIP must
n Meet all the requirements for traditional telephonyn Offer new and attractive capabilities at a lower cost
![Page 9: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/9.jpg)
9IP Telephony
Why VoIP?
n Why carry voice?n Internet supports instant access to anythingn However, voice services provide more revenues.
n Voice is still the killer application.
n Why use IP for voice?n Traditional telephony carriers use circuit switching
for carrying voice traffic.n Circuit-switching is not suitable for multimedia
communications.n IP: lower equipment cost, lower operating
expense, integration of voice and data applications, potentially lower bandwidth requirements, the widespread availability of IP
![Page 10: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/10.jpg)
10IP Telephony
Lower Equipment Cost
n PSTN switchn Proprietary – hardware, OS, applications
n New software application development for third parties
n High operation and management costn Training, support, and feature development
n Mainframe computer
n The IP worldn Standard mass-produced computer equipmentn Application software is quite separaten A horizontal business model
n More open and competition-friendly
n Intelligent Network (IN)n does not match the openness and flexibility of IP solutions.n A few highly successful servicesn VoIP networks can interwork with Signaling System 7 (SS7) and
take advantage of IN services build on SS7.
![Page 11: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/11.jpg)
11IP Telephony
Voice/Data Integration
n Click-to-talk applicationn Personal communicationn E-commerce
n Web collaborationn Shop on-line with a friend at another location
n Video conferencingn Shared whiteboard sessionn With IP multicasting
n IP-based PBXn IP-based call centersn IP-based voice mailn Far more feature-rich than the standard 12-
button keypad
![Page 12: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/12.jpg)
12IP Telephony
Lower Bandwidth Requirements
n PSTNn G.711 - 64 kbpsn Human speech frequency < 4K Hzn The Nyquist Theorem: 8000 samples per second to fully
capture the signaln 8K * 8 bits
n Sophisticated codersn 32kbps, 16kbps, 8kbps, 6.3kbps, 5.3kbpsn GSM – 13kbpsn Save more bandwidth by silence suppression
n Traditional telephony networks can use coders, too.n But it is more difficult.
n VoIP – two ends of the call to negotiate the coding schemen The fundamental architecture of VoIP systems lends itself to
more transmission-efficient network designs.n Distributed (Bearer traffic can be routed more directly from
source to destination.)
![Page 13: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/13.jpg)
13IP Telephony
The Widespread Availability of IP
n IPn LANs and WANsn Dial-up Internet accessn IP applications even reside within hand-held
computers and various wireless devices.n The ubiquitous presence
n VoFR or VoATMn Only for the backbone of the carriers
![Page 14: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/14.jpg)
14IP Telephony
VoIP Challenges
n VoIP must offer the same reliability and voice quality as traditional circuit-switched telephony.
n Mean Opinion Score (MOS)n 5 (Excellent), 4 (Good), 3 (Fair), 2 (Poor), 1 (Bad)n International Telecommunication Union
Telecommunications Standardization Sector (ITU-T) P.800
n Toll quality means a MOS of 4.0 or better.
![Page 15: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/15.jpg)
15IP Telephony
Speech Quality [1/2]
n Must be as good as PSTNn Delay
n The round-trip delayn Coding/Decoding + Buffering Time + Tx. Timen G.114 < 300 ms
n Jittern Delay variationn Different routes or queuing timesn Adjusting to the jitter is difficult.n Jitter buffers add delay.
![Page 16: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/16.jpg)
16IP Telephony
Speech Quality [2/2]
n Echon High Delay ===> Echo is Critical
n Packet Lossn Traditional retransmission cannot meet the
real-time requirements
n Call Set-up Timen Address Translationn Directory Access
![Page 17: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/17.jpg)
17IP Telephony
Managing Access and Prioritizing Traffic
n A single network for a wide range of applications, including data, voice, and video
n Call is admitted if sufficient resources are available
n Different types of traffic are handled in different waysn If a network becomes heavily loaded, e-mail traffic
should feel the effects before synchronous traffic (such as voice).
n QoS has required a huge effort.
![Page 18: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/18.jpg)
18IP Telephony
Speech-coding Techniques
n In general, coding techniques are such that speech quality degrades as bandwidth reduces.n The relationship is not linear.
n G.711 64kbps 4.3n G.726 32kbps 4.0n G.723 (celp) 6.3kbps 3.8n G.728 16kbps 3.9n G.729 8kbps 4.0n GSM 13kbps 3.7
![Page 19: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/19.jpg)
19IP Telephony
Network Reliability and Scalability
n PSTN system failsn 99.999% reliability
n Today’s VoIP solutionsn Redundancy and load sharing
n A balance must be struck between network cost and network quality.
n Finding the right balance is the responsibility of the network architect.
n Scalable – easy to start on a small scale and then expand as traffic demand increases
![Page 20: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/20.jpg)
20IP Telephony
VoIP Implementations
n IP-based PBX solutionsn A single networkn Enhanced services
![Page 21: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/21.jpg)
21IP Telephony
VoIP Implementations
n IP voice mailn One of the easiest
applications
n IP call centersn Use the caller IDn Automatic call
distributionn Load the customer’s
information on the agent’s desktop
n Click to talk
![Page 22: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/22.jpg)
22IP Telephony
VoIP Evolution
![Page 23: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/23.jpg)
23IP Telephony
Overview of the Following Chapters [1/2]
n Chapter 2, “Transporting Voice by Using IP”n A review of IP networking in general to understand what IP offers,
why it is a best-effort protocol, and why carrying real-time traffic over IP has significant challenges
n RTP (Real-Time Transport Protocol)n Chapter 3, “Voice-coding Techniques”
n Choosing the right coding scheme for a particular network or application is not necessarily a simple matter.
n Chapter 4, “H.323”n H.323 has been the standard for VoIP for several years.n It is the most widely deployed VoIP technology.
n Chapter 5, “The Session Initiation Protocol”n The rising star of VoIP technologyn The simplicity of SIP is one of the greatest advantagesn Also extremely flexible (a range of advanced feature supported)
![Page 24: IP Telephony (Voice over IP)acpang/course/voip_2004/slides/chap1… · nDesigning a Voice over IP Network nFrom IPv4 to IPv6 Networks nMobile All IP Network nIP Multimedia Subsystem](https://reader034.vdocuments.pub/reader034/viewer/2022042210/5eae6c03230dae77372de791/html5/thumbnails/24.jpg)
24IP Telephony
Overview of the Following Chapters [2/2]
n Chapter 6, “Media Gateway Control and the SoftswitchArchitecture”n Interworking with PSTN is a major concern in the deployment of
VoIP networksn The use of gatewaysn They enables a widely distributed VoIP network architecture,
whereby call control can be centralized.n Chapter 7, “VoIP and SS7”
n H.323, SIP, MGCP and MEGACO are all signaling systems.n The state of the art in PSTN signaling is SS7.n Numerous services are provided by SS7.
n Chapter 8, “QoS”n A VoIP network must face to meet the stringent performance
requirements that define a carrier-grade network.n Chapter 9, “Designing a Voice over IP Network”
n How to build redundancy and diversity into a VoIP network without losing sight of the trade-off between network quality and network cost (network dimensioning, traffic engineering and traffic routing)?