Home > Store

IP Telephony

Register your product to gain access to bonus material or receive a coupon.

IP Telephony


  • This product currently is not for sale.
Not for Sale


  • Copyright 2000
  • Dimensions: 6-3/4x9-1/4
  • Pages: 480
  • Edition: 1st
  • Book
  • ISBN-10: 0-201-61910-5
  • ISBN-13: 978-0-201-61910-2

I recommend this book to all VoIP engineers, analysts, and IT managers who really want to know what they are talking about on the net, enjoy!"
-Jeff Pulver, founder of the VON (Voice On the Net) coalition, and the founder and president of pulver.com

Internet Telephony is now one of the most important and fastest growing technologies on the Internet, providing a viable technical and economical alternative to current telecommunication networks. Network providers and major companies are thus investigating how this emerging technology can be implemented, and at what cost and savings, in their organizations.

This book provides a comprehensive practical overview of the technology behind Internet Telephony, giving essential information to IT professionals who need to understand the background and explore the issues involved in migrating the existing telephony infrastructure to an IP based real time communication service. Assuming a working knowledge of IP and ISDN networking, it addresses the technical aspects of real-time applications over IP, with an in-depth coverage of voice and video applications and protocols. Drawing on their extensive research and practical development experience in VoIP from its earliest stages, the authors give you access to all the relevant standards and cutting-edge techniques in a single resource.

IP Telephony is organized into three clearly structured sections, focusing on protocols, voice technology and networks with a step-by-step approach. The protocols section sets IP telephony in context and then covers H.323, SIP and MGCP in detail, examining in turn their pros and cons, and using examples of particular cases and scenarios. The voice technology section describes voice quality, including the ETSI TIPHON approach, and voice coding, with summary comments on the applicability to VoIP telephone gateways. The final section on networks addresses Quality of Service (QoS) issues, explores dimensioning a VoIP network, and introduces Multicast routing, including a perspective on security and MBONE applications.

Sample Content

Online Sample Chapter

Media Gateway to Media Controller Protocols

Table of Contents

Foreword Jeff Pulver

SECTION 1 The application layer, IP telephony protocols

H.323 and a general background on IP telephony
A little history
Where to find documentation
From RTP to H.323: a quick tour
Transporting voice over a packet network
A Darwinian view of voice transport
Voice and video over IP with RTP and RTCP
H.323 step by step
The hello world case: simple voice call from terminal A to terminal B
A more complex case: calling a public phone from the Internet
H.323 across multiple domains
Advanced topics
Faster procedures
Conferencing with H.323
Directories and numbering
H.323 security: H.235
Media streams
Supplementary services using H.450
H.450.2: call transfer
H.450.3: call diversion
The future of H.450
Future work on H.323
The session initiation protocol (SIP)
The origin and purpose of SIP
Overview of a simple SIP call
SIP messages
Session description syntax, SDP
Advanced services with SIP
SIP entities
User location and mobility
Multiparty conferencing
Configuring network-based call handling
Billing SIP calls
SIP security
Media security
SIP firewalls
SIP and H.323
What SIP does and H.323 does not
What H.323 does and SIP does not
H.323 to SIP gateways
Conclusion on the future of SIP and its relation to H.323
Media gateway to media controller protocols (MGCP)
Which protocol?
What about the requirements?
A new architecture for IP telephony?
What is MGCP?
MGCP commands
Protocols at work
Scenario 1
Scenario 2
The H.323 case

SECTION 2 Voice technology background

Voice quality
Reference connection
Echo in a telephone network
Talker echo, listener echo
Hybrid echo
Acoustic echo
How to limit echo
Delay in a telephone network
Influence of the operating system
Influence of the jitter buffer policy on delay
Influence of the codec, frame grouping and redundancy
Consequence for measuring end-to-end delay
Acceptability of a phone call with echo and delay
Consequences for an IP telephony network
The approach of ETSI TIPHON
Other requirements for gateways and transcoding equipment
Voice coding
Transmitted bandwidth, sampling and quantization
Some basic tools for digital signal processing
The A or u law ITU-T 64 kbit/s G.711
Specifications and subjective quality of
speech coders
ACR subjective test or what is the MOS
Speech and auditory properties
Speech production
Auditory perception used for speech and audio bitrate reduction
Quantization and coders
Adaptive quantizers
Differential (and predictive) quantization
Vector quantization
Entropy coding
Waveform coders: the ADPCM ITU-T G.726
Wideband speech coding using waveform-type coder
Speech coding techniques
Hybrids and analysis by synthesis speech coders
The GSM Full Rate RPE-LTP speech coder
Codebook excited linear predictive (CELP) coders
The ITU-T 8 kbit/s CS-ACELP G.729
The ITU-T G.723.1


This book is about the newest service to arrive on the Internet: interactive voice and video. Since its first appearance to the market in 1995, it is amazing to note how fast the IP telephony technology has evolved. But this evolution alone wouldn't account for VoIP's growing success if there weren't a general recognition of the importance of the Internet in our day-to-day activities.

In 1991, the Internet was still a maze without a map where only addicts really felt at home. As students we used to print and exchange our bookmarks - as soon as someone had found a really good ftp site with anonymous access, he would copy and distribute the listing. Any good book on the Internet inevitably ended with hundreds of pages of such bookmarks. The Internet was a nice tool, especially email and chat, but really you had to enjoy being stuck in front of your black and white computer screen for hours.

Then, in 1993, with the World Wide Web, came the first revolution. The Internet became colorful and our piles of paper bookmarks were instantly obsolete, replaced by links on web pages. Soon there were too many links for one person to keep track of. So two US students came up with the idea of keeping bookmarks up to date for other people and created Yahoo!. It was a good thing indeed. Thus, with all the bookmark sites and search engines, the Internet became less intimidating for non-UNIX gurus. It became feasible for a literature student to get an Internet account.

By 1996 every student had an email address and most of them actually used it. But for most people, the Internet was still a toy. It was too complex to reach the mass market, and would never really count outside universities and research labs. In one sentence: 'the Internet will really count when your grandmother can use it.'

It was around that time that we saw the first attempts to build an Internet telephony gateway. The first prototype was a strange hybrid. The telephone interface was a modem with speakerphone capabilities. The problem with this speakerphone modem was that there was no way to simultaneously play a sound and record from a PC. Actually you could use the modem only to dial the destination number. Some sound boards had a driver that made it possible to simultaneously play and record ('full-duplex'), but no telephone interface, so you had to wire the sound-board line-in jack to the modem microphone, and the modem speaker to the sound-board line-out jack. Of course, some software was needed to turn this into an Internet telephony gateway, but in 1996 there was already good Internet telephony freeware available, such as VAT, and adding some code to interface with the modem wasn't too difficult: when an incoming call arrives, pick up the line, play a welcome prompt, get the destination number with DTMF touchtones (the modem had that capability), relay the information to the destination gateway that would use the modem to dial the right number, and spawn the Internet telephony software.
This was only a very crude, one-line gateway, but its potential was immense. The telephone network is the example of a technology that really counts. There are over 800 million telephone lines in the world, and a five-year-old can use a telephone. Obviously, being able to carry even a small fraction of all telephone conversations over the Internet would have been a major achievement. Many research labs suddenly realized that it could be a second Internet revolution and tried to evaluate if it was possible to build a more sophisticated gateway.

This was only three years ago, but already today, there are more and more companies running their operations without the use of a single 'blackphone' of a PBX. And tomorrow, our grandmother may still use a regular analogue telephone, but the likelihood of this phone being connected to a Softswitch (IP Central Office) will be very high. By this time, there is no doubt that the full potential of Internet will eventually be reached. With its first www revolution, the Internet got a face, with the IP telephony revolution, the Internet has got a voice!

The technology
AT a first glance the technology behind the IP telephony may seem almost trivial. It isn't. In particular it is much more complex than one-way media streaming (used by TV or radio broadcasting on the net) because the latency between the talker and the listener must remain very low, while streaming applications can use very large buffers.

Here is a short list of some topics one needs to explore before understanding the subtleties of IP telephony:
• the characteristics of the human ear, especially its perception of echo and delay;
• the voice compression and packetization technologies;
• silence suppression and comfort noise generation;
• echo cancellation technologies;
• the shortcomings of the Internet protocol regarding real-time applications: delay, jitter, packet loss;
• the strategies to overcome these limitations: buffering, redundancy, timestamps, differentiated services;
• the characteristics of packetized voice traffic, and how it cohabits with non real-time data flows;
• in band data transmission in the telephone network (DTMF, fax, modem);
• telephone signaling protocols (ISDN Q.931, SS7 ISUP, etc.), and all connection sequences (regular calls, calls to intelligent services, calls while the network is overloaded);
• IP telephony protocols (ITU H.323 and associated protocols, MGCP, IETF, MEGACO and SIP);
• politics, to better sort out technology-driven controversies and business-driven controversies.

Very soon in our exploration of VoIP, it appeared that it was really an area that brought together many different types of expertise in the networking, speech and telephony area. In order to build a good VoIP team, it would be necessary for each expert to update the others on the most essential aspects of his domain that are relevant for VoIP.

You will find this book useful if you face issues such as:
• which gateway should I choose for my corporate converged network? What standard?
• can I replace my backbone trunks with VoIP links transparently?
• can I get rid of all the telephone wiring?
• can I prevent VoIP from overloading my network? How does it get through firewalls?
• will my 2 Mbit/s IP access be sufficient for my brand new 100-operator VoIP call center?
• can I use VoIP on a network with dynamic DHCP addressing?
• How do I fax through the net?
• will I be able to use VoIP for multipoint conferences or broadcasting?

On the other hand, you will be disappointed if you look for a list of vendors and a discussion of each product, or simply a quick overview of the technology.

This book assumes a working knowledge of IP and ISDN networking. This doesn't mean that our reader should be familiar with all socket options or BGP4 routing, but we do not explain the basics of IP routing such as the significance of an IP address or TCP port. If you feel you need some clarification on the Internet protocol, we would recommend the books written by Christian Huitema. Similarly we assume the reader knows what Setup, Alerting or Connect ISDN messages mean, although we explain their role in the context of H.323.

Other than that, we have tried to avoid an excessive use of pointers to external documentation in the text itself. We know it can be extremely time consuming to download and read a full RFCs or ITU recommendations when you need to check only a detail, and therefore we have inserted small digests wherever they are useful. For instance, you will find descriptions of popular voice and video coders in the H.323 section. We have also provided a large list of definitions for the acronyms used in the book, as it seems that each new telecom application has to create its own vocabulary. Of course, the relevant pointers are gathered in the reference sections.

Relation to standards
In just three years IP telephony has evolved from one-port, do-it-yourself gateways to backbone hardware supporting 120 ports per PCI slot. And this is just the small part of the iceberg - standards are evolving twice as fast. It was even harder for us because we decided not to choose between the emerging standards and to describe H.323, SIP and MGCP. People are often confused and ask us: Who will be the winner? But in fact only H.323 and SIP can be seen as direct competitors: both aim at being implemented by 'intelligent' multimedia endpoints, and the common opinion that H.323 is 'much more complex' than SIP relates mainly to the fact that H.323 uses a binary ASN.1 encoding, which is not a serious obstacle for any programmer. MGCP is more an effort to create a light stimulus-based protocol for gateways and appliances and can be used in conjunction with both H.323 and SIP. The SIGTRAN group efforts are not described here, as they aim at transporting transparently SS7 signaling across an IP network, which means the Internet is used as a simple trunk. To us it seemed SIGTRAN would rather belong to a book on PSTN technology.

We have tried to keep the manuscript current, but there are unavoidable delays in the publication process, and by the time you read these lines we know that some standards will have evolved. In particular we have based some of the chapters on material gathered from IETF Internet drafts, which is explicitly discouraged by IETF because these documents are not stable. In practice though, people rarely rewrite drafts entirely, and we hope that the background material gathered in the book will be sufficient to allow you to catch the train and join the community of engineers who improve VoIP technology day after day.

We have provided pointers to most of the relevant standards, drafts, mailing lists and web sites. Nothing can really replace daily participation in the standardization process: for each line written in a standard document, there are perhaps 100 lines worth of emails, discussions and drafts that really put this single line into perspective. Sometimes a controversy arises and gives birth to one of those 'everybody's right' sentences (such as the paragraph regarding G.723.1 and G.729 in H.323) that nobody can understand without remembering the previous discussions. We have tried to take this 'behind the scenes' data into account in this book, but we encourage you to make your own opinion using the mailing lists.

The future of multimedia over IP
The speed at which IP telephony has become an industry is truly amazing, but we are far from having reached maturity.

There are still a lot of technical shortcomings in today's products. In general, products are about two years behind the standards. For instance, at the time of book there was just one gateway and one IP phone software that supported mid-call call redirection, although it was already defined in H.323v1. This is one of the most basic and most widely used services in today's PSTN. Everybody boasts 'added value services' and still, amazingly, nobody really has the basics right yet.

Another striking example is the lack of a standardized URL format to trigger an H.323 IP phone call. The very big software manufacturers have resisted any attempt to do so. Because of this you have to put a different button for each flavor of H.323 phone out there.

There are also some economic issues to resolve. Historically, almost all Internet sites were in the US. Consequently the ISPs in the rest of the world had to pay 100 per cent of the data leased lines to the US. The situation in the phone network is different: each carrier pays 50 per cent of the leased line. This situation is unfair and cannot last much longer: the web traffic imbalance is more in the 30/70 range, and of course interactive voice and video is symmetrical. Interestingly, voice over IP seems to develop equally fast in the US, Europe and Asia, which should help in the promotion of a truly international Internet.

Despite these minor issues that will quickly be resolved, the future of IP telephony and video seems bright. Soon the SDH and SONET transport networks will carry more data than voice (this is already the case on the BT network), and at this point using packetized voice is an obvious choice. Some will still argue that packetized voice doesn't mean IP. Why wouldn't we use frame relay or ATM? There are two simple reasons for this: soon 99.9 per cent of the data generated by individuals and corporations will be IP. Introducing an ATM or Frame Relay Layer to the end customer just for voice makes no sense. In addition, ATM and Frame Relay don't scale in terms of connectivity. Switched Virtual Circuits are too slow for today's sporadic data exchanges, where everybody pings everybody, and Permanent Virtual Circuits, although fine for backbones or intranets when there are only a few dozen nodes to connect, make no sense on an open network.

It is true that IP has a latency problem on low-speed links, but in tomorrow's networks with xDSL connections this issue will be resolved, and at this stage we will probably realize that large packets use bandwidth much more efficiently for video. If we project ourselves a few years forward, with these xDSL lines connected to multi-gigabit backbones, hardware IP phones with state-of-the-art echo cancellers, and a new wideband coder standardized by ITU, we will have a better sound quality than today's ISDN network, and of course video. This is not so far away. Already in Canada some fortunate people have 2 Mbps lines in their homes for less than $100 per month.

And we may have even greater surprises. Tomorrow's mobile telephony networks, such as UMTS, will basically be wireless data transmission units able to send and receive megabytes per second. Why invent protocols for the multimedia applications running on those phones when it is already obvious that they will have to talk IP? Maybe our next mobile phone will be an IP phone.

We need to thank many people for their contributions, support and help without which this book would not have reached its goals. Especially those who regularly attend, IETF, ETSI TIPHON and ITU SG 16 meetings and contribute to numerous IP telephony related mailing lists.

We are particularly indebted to those like Scott Petrack, Christian Huitema, Dave Oran, Louise Spergel, Dale Skran, Gur Kimchi, Jonathan Rosenberg, Henning Schulzrine, Jim Toga, Max Morris, Mike Buckley and Jeff Pulver who through their valuable contributions participated in setting up the Internet Telephony revolution.

In CNET, our thanks go to Michel Dudet, Gerard, Sylvie, Catherine, Marcel, Michel, Bernard, Bertrand, Cyril, Pierrick, Jean Jacques, Soleiman, Christope, Sebastien and Frank.

We would also like to thank folks in VocalTec, Elad Sion, Eran Barak, Lior Moscovici, Alon Cohen, Doron Zinger and Bayard Gardineer for their support and comments.
The Authors



Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020