IP Telephony (Voice over IP)
n
Instructor
n
Ai-Chun Pang, acpang@csie.ntu.edu.tw
n
Office Number: 417, New building
n
Textbook
n
“Carrier Grade Voice over IP,” D. Collins, McGraw-Hill, Second Edition, 2003.
n
Requirements
n
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
王舜茂 (oncemore@voip.csie.ntu.edu.tw)
n
許睿斌 (binbin@voip.csie.ntu.edu.tw)
n
詹勝? (kwun@voip.csie.ntu.edu.tw)
n
Course Outline
n
Introduction
n
Transporting Voice by Using IP
n
Speech-Coding Techniques (Optional)
n
H.323
n
Session Initiation Protocol (SIP) and ENUM
n
SIP over Network Address Translation (NAT)
n
Media Gateway Control and the Softswitch Architecture
n
VoIP and SS7
n
Quality of Service
n
Designing a Voice over IP Network
n
From IPv4 to IPv6 Networks
n
Mobile All IP Network
n IP Multimedia Subsystem (IMS)
n
VoIP over Wireless LAN (WLAN)
Introduction
Chapter 1
Carrier Grade VoIP
n
Carrier grade and VoIP
n
Mutually exclusive
n
A serious alternative for voice communications with enhanced features
n
Carrier grade
n
The last time when it fails
n
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 quality
n No perceptible echo, noticeable delay and annoying noises on the line
Interoperability
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 access
n
Internet: best-effort transfer
n
VoIP != Internet telephony
n
Next generation Telcos
n
Access and bandwidth are better managed.
IP
n
A packet-based protocol
n
Routing on a packet-by-packet base
n
Packet transfer with no guarantees
n
May not be received in order
n
May be lost or severely delayed
n
TCP/IP
n
Retransmission
n
Assemble the packets in order
n
Congestion control
n
Useful for file-transfers and e-mail
Data and Voice
n
Data traffic
n
Asynchronous – can be delayed
n
Extremely error sensitive
n
Voice traffic
n
Synchronous – the stringent delay requirements
n
More tolerant for errors
n
IP is not for voice delivery.
n
VoIP must
n
Meet all the requirements for traditional telephony
n
Offer new and attractive capabilities at a lower cost
Why VoIP?
n
Why carry voice?
n
Internet supports instant access to anything
n
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
Lower Equipment Cost
n
PSTN switch
n Proprietary – hardware, OS, applications
n New software application development for third parties
n High operation and management cost
n Training, support, and feature development
n Mainframe computer
n
The IP world
n Standard mass-produced computer equipment
n Application software is quite separate
n 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 services
n VoIP networks can interwork with Signaling System 7 (SS7) and take advantage of IN services build on SS7.
Voice/Data Integration
n
Click-to-talk application
n
Personal communication
n
E-commerce
n
Web collaboration
n
Shop on-line with a friend at another location
n
Video conferencing
n
Shared whiteboard session
n
With IP multicasting
n
IP-based PBX
n
IP-based call centers
n
IP-based voice mail
n
Far more feature-rich than the standard 12-
button keypad
Lower Bandwidth Requirements
n
PSTN
n G.711 - 64 kbps
n Human speech frequency < 4K Hz
n The Nyquist Theorem: 8000 samples per second to fully capture the signal
n 8K * 8 bits
n
Sophisticated coders
n 32kbps, 16kbps, 8kbps, 6.3kbps, 5.3kbps
n GSM – 13kbps
n 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 scheme
n
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.)
The Widespread Availability of IP
n
IP
n
LANs and WANs
n
Dial-up Internet access
n
IP applications even reside within hand-held computers and various wireless devices.
n
The ubiquitous presence
n
VoFR or VoATM
n
Only for the backbone of the carriers
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.
Speech Quality [1/2]
n
Must be as good as PSTN
n
Delay
n
The round-trip delay
n
Coding/Decoding + Buffering Time + Tx. Time
n
G.114 < 300 ms
n
Jitter
n
Delay variation
n
Different routes or queuing times
n
Adjusting to the jitter is difficult.
n
Jitter buffers add delay.
Speech Quality [2/2]
n
Echo
n
High Delay ===> Echo is Critical
n
Packet Loss
n
Traditional retransmission cannot meet the real-time requirements
n
Call Set-up Time
n
Address Translation
n
Directory Access
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 ways
n
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.
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.3
n
G.726 32kbps 4.0
n
G.723 (celp) 6.3kbps 3.8
n
G.728 16kbps 3.9
n
G.729 8kbps 4.0
n
GSM 13kbps 3.7
Network Reliability and Scalability
n
PSTN system fails
n
99.999% reliability
n
Today’s VoIP solutions
n
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
VoIP Implementations
n
IP-based PBX solutions
n
A single network
n
Enhanced services
VoIP Implementations
n
IP voice mail
n
One of the easiest applications
n
IP call centers
n
Use the caller ID
n
Automatic call distribution
n
Load the customer’s information on the agent’s desktop
n
Click to talk
VoIP Evolution
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 technology
n The simplicity of SIP is one of the greatest advantages
n Also extremely flexible (a range of advanced feature supported)
Overview of the Following Chapters [2/2]
n
Chapter 6, “Media Gateway Control and the Softswitch Architecture”
n Interworking with PSTN is a major concern in the deployment of VoIP networks
n The use of gateways
n 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)?