Voice over IP
Open-Source Platforms
and the Session
Initiation Protocol
1-800-COURSES
www.globalknowledge.com
Expert Reference Series of White Papers
Introduction
Voice over IP (VoIP) communications can be separated into two categories: business and residential. The
early growth of VoIP was primarily in the residential space, fueled mostly by PC enthusiasts. Businesses
need practical and reliable phone service, early VoIP technology proved unreliable. At first, the business
community didn’t pay much attention to VoIP because the early versions of the technology had very poor
quality much of the time. However, over the last 10 years, the world of voice communications has made
dramatic changes
.
Businesses usually purchase their phone systems from a particular voice equipment manufacturer or reseller. In
many cases they also rely on the same source for the installation and maintenance of these systems. They usu-
ally decide on a particular product based on system features that map well to their business needs.
Today, voice equipment vendors scramble to get their latest VoIP products and/or upgrades to market. In some
instances, vendors have lost major market share due to poor products or by being a late entrant into the VoIP
market.
Some vendors with an early lead have lost out to traditional phone equipment manufacturers that
have developed superior VoIP system designs and strateies.
While competition is intense among equipment vendors, the emergence of open source VoIP software plat-
forms adds a new threat to the voice equipment suppliers that serve small-to-medium size businesses (SMBs).
If this trend continues, it is only be a matter of time before the steady improvement of these software plat-
forms will threaten the equipment vendor’s market share of large businesses.
The Impact of Voice over IP (VoIP) in Telecom
VoIP: the Early Years
T
he Internet has made global communications very inexpensive
More information detailing various audiovisual and multimedia systems can be obtained at
/>IETF developed the first version of the Session Initiation Protocol (SIP), which was released in 1999. It was
developed to initiate
, modify, and terminate an interactive user session that involves multimedia elements
(e.g., video, voice, instant messaging, etc.).
The Multiparty Multimedia Session Control (MMUSIC) working group (f
.org/html.charters/mmu-
sic-charter.html) continues to guide the development of SIP.
In 1996, the IETF published Request for Comment (RFC) 1889, which defined a standardized packet format used
for packaging and delivering real-time communications, such as audio and video, over the Internet. The original
document has since been superceded by RFC 3550, RTP:
A Transport Protocol for Real-Time applications.
The VoIP Equipment Vendor Landscape
The H.323 recommendation w
as the first real-time communications standard available to the mark
et.
As a
result, H.323 has been the springboard for the development of many proprietary systems by traditional tele-
phone equipment vendors
,
as well as their data network equipment vendors
. As a result of these standardiza-
tion efforts, commercial VoIP has had a significant impact on the type of products being developed and from
whom they are being purchased.
In 1998, networking equipment giant Cisco Systems got off to an early lead in the VoIP market after acquiring
the CallManager product through the acquisition of Selsius Systems. This allowed Cisco Systems to introduce a
packet-based voice system that competed with other traditional vendors, such as Alcatel, Avaya, Mitel, Nortel,
and Siemens. Since then, these and many other vendors have developed their own proprietary VoIP systems in
response to the growing demand for
V
customers. However, the other critical piece to their service is the Internet-to-PSTN gateways, where PSTN traf-
fic converts to VoIP packets and vice versa, strategically placed throughout the world to provide international
voice service
. These gateways allow Vonage customers to make and receive calls over the public switched net-
work as well.
Vonage is not the only company providing phone service over the Internet. However, SIP is one common
thread among most of the Internet Telephony Service Providers (ITSPs) that are providing this type of service.
The Evolution of SIP in Enterprise VoIP Networks
In addition to the mobile wireless industries, support for SIP is found in many IP-PBXs originally developed
using a proprietary version of H.323. This strong demand by customers has translated into a more open stan-
dard supported by many vendors. The move towards SIP opens up these platforms for third-party SIP phone
support,
which is a very significant change
.
In the past, an enterprise purchased their phone system from one vendor. The entire system was proprietary,
and the phones and the system came from the same vendor. If you liked the features of another vendor’s
phone sets, you had to purchase their system to support those features. There were very few instances of
cross-vendor phone support, and certainly no relationships between major competitors. SIP is undoing this pro-
prietary vendor hardw
are lock.
Copyright ©2006 Global Knowledge T
raining LLC. All rights reserved.
Page 4
SIP Is Ubiquitous
• With the adoption of SIP, the new version of Cisco’s CallManager (v.5) supports SIP-based third-party
phones. The core platform is supporting SIP along with their proprietary protocol, Skinny Client Control
Protocol (SCCP).
• Avaya’s MultiVantage VoIP system uses the SIP Enablement Services (SES) to create a communication
services layer within the architecture that supports SIP.
• In June 2005, Nortel and Polycom announced a partnership to support video conferencing based on the
ating system/Web server combination has been the cornerstone for many application development projects.
Note:
Some versions of Linux must be purchased. These versions normally provide support, solid documenta-
tion, and additional tools developed by the software distributor. Red Hat is one of the best examples of a com-
pany that packages Linux for sale, along with many other solutions and services.
Copyright ©2006 Global Knowledge T
raining LLC. All rights reserved.
Page 5
Comparison of Open-Source Software to Proprietary Software
Advantages of Open Source
• There is no license fee. Proprietary software requires either a per-seat or site license.
• Open source allows users to change the source code at will. Proprietary source code is tightly controlled,
with limited or no alteration allowed.
• Open source engages a community of developers. Proprietary software depends solely on the vendor’s
development staff for revisions and bug fixes.
Advantages of Proprietary Software
• With proprietary software, there is dedicated support. Usually, with open source software, there is no
dedicated support. However, IBM and Hewlett-Packard, along with other organizations support open
source software platforms for fees.
• Proprietary software has professionally written documentation. Open source software is provided by the
community, which usually means not well written documentation; in some cases documentation is non-
existent. In many cases there are books on the subject available at a reasonable cost.
However, many of
these books don’t necessarily reflect the latest revision released by the software community.
• Software releases for proprietary software are driven by vendor revenue targets and customer feedback.
Software releases for open source are driven by the community as time permits the individual develop-
ers to create new features or fix bugs within the existing software.
Open-Source Software Products for VoIP
Many of the VoIP softw
are developments listed here run strictly on Linux,since open source projects tend to
“SIPfoundry is committed to providing highly functional open source VoIP solutions of exceptional quality to
end users. Ease of use and proper documentation, as well as qualified and timely support on our mailing lists,
are among our objectives and commitments to the community.” www.sipfoundry.org
SipXphone is available in both Windows and Linux versions. Pingtel, offers three software products for sale:
• SIPexchange Enterprise Communications Server is an IP-PBX software package that includes integrated
voice mail, Automatic Call Distribution (ACD), with multiple auto attendants supported. It has a Web-
based system configuration and management tool.
• CallManager is a server-based integrated central call routing system. In addition, it provides directory
services throughout the enterprise VoIP network.
• The SIP Softphone is a virtual phone.
In addition to these softw
are products, Pingtel offers turnk
ey, or pre-packaged, solutions. There are two server
options: one supports up to 50 users (via an analog gateway), and the other supports up to 250 users (via either
analog or digital gateway). Three models of Polycom SIP phones are supported. The user selects a system and
determines how many phones and what model(s) they want.
The system is then pre-configured and shipped.
How does all this information relate to open source? In 2004, Pingtel decided to release the source code for
their SIP softw
are, which is available through SIPfoundry. This includes the SipXpbx that runs on Linux and the
sipXphone that runs on Windows. Documentation for these software packages is provided via a link.
Why would Pingtel give source code away and try to sell it at the same time? Apparently, they felt that the
open source would give them a better exposure and a community of developers behind the product.
Organizations can purchase software and load it on the hardware platform of their choice, as well as support.
Other organizations may want a turnkey solution, which is also available. This is a very different strategy that
may well prove to be a great formula.
Vovida Networks and VOCAL
V
ovida Networks
,
Asterisk, created by Mark Spencer at Digium, is the most popular open-source SIP development to date. The
current version (1.2.5), along with several related developments, can be downloaded from www.asterisk.org.
Asterisk is a good platform with a lot of open source pieces coming together to make a great product.
Asterisk runs on several variants of Linux as well as on OpenBSD, FreeBSD, Mac OS X, and Sun Solaris. It also
runs on Microsoft Windows. With Asterisk able to run on Windows, things have changed dramatically. A recent
release allows Asterisk to run using a VMware player (mentioned below). The VMware player is a free virtual
machine that allows one operating system to run on top of another operating system, Windows in this case.
Although it appears to be a very stable test platform, it is not designed to handle high call volumes. It does
prove the concept.
Scaling Asterisk
A key challenge to any open source software is scalability. Scalability can be done through the deployment of
distributed Asterisk systems. The individual tasks can be spread among several or many servers: there is no
minimum or maximum size to consider when using
Asterisk. Unfortunately, distributed Asterisk systems are not
easy to design and implement. Although not a project for a beginner, over time the system can be grown by
adding additional hardware.
Digium and Asterisk
A relationship previously existed between Pingtel’s SIPexchange Enterprise Communications Server and sipX, the
open source variant.
The same relationship applies with Digium and Asterisk open source. Digium offers a soft-
ware bundle called Asterisk Business Edition. According to the information on the Digium Web site, the Business
Edition of Asterisk support up to 120 simultaneous calls and can be upgraded to allow up to 240 calls.
Why buy the Business Edition when the open source is free? In addition to the software, Digium offers reliabili-
ty through stress testing, technical documentation,
certified interoperability of third party products, technical
support and free upgrades for one year, plus additional software (binaries, installer and scripts).
Asterisk Business Edition Bundles is not a turnkey like Pingtel’s other offering. This product contains the
Business Edition package along with PCI hardware cards that can be installed in your Asterisk server for gate-
way purposes (inbound/outbound calls to/from the PSTN). The hardware cards support both analog and digital
line/trunk interfaces.
• SugarCRM—Customer relationship management
• MySQL—database management system
• PHP—scripted programming language
• phpMyAdmin—a tool used for handling the administration of MySQL over the Internet
• SSH—Secure Shell, which is designed to securely log into and execute command on a network computer
• Bluetooth—Wireless standard that provides a way to connect and exchange information
• Asterisk Management Portal (AMP)—A web portal for configuring and managing the
Asterisk server
• Flash Operator Panel
• Call Detail Reporting
Is it really that simple to get all that loaded on a system? Yes, it really is, but you now need to go to work to
learn your way around and how to configure it. That will tak
e a lot of time and energy, because there is so
much to it. However, it will be worth the effort.
Those that would lik
e a step-by-step guide in configuration have a friend: Ward Mundy is his name, and
Asterisk@Home is his game. Visit the “Nerd Vittles” Web site at If you decide to begin
the experimentation journey with
Asterisk@Home
, do it with the multitude of helpful tips from this Web site.
Asterisk@Home was really designed for the hobbyist who may just want to experiment with a phone system in a
residential or home office setting. However, over the past year, this package has become powerful enough to enter
the small business arena, so maybe they will need to consider a name that is more fitting for its capabilities.
Asterisk@Home is the same softw
are as
Asterisk,
but runs a little behind in development.
The list below with
indicate how quick the pace has been with the development cycle:
Copyright ©2006 Global Knowledge T
The following quote is from the Sourceforge
Web site page
( where this version can be downloaded:
“T
he VMware version allows testing of Asterisk@Home without the use of a dedicated system.
Asteriskathome_27.exe is a compressed archive with a fully installed and running
Asterisk@Home system. Install the free
VMware player from />ucts/player/ and launch the VM.”
Conclusion
This paper shows the industry-wide acceptance of SIP and the recent advances of the open source software
projects related to VoIP. The author firmly believes that the VoIP open source is still in its infancy, but its
acceptance and product maturity will grow rapidly over the next few years.
Digium and Pingtel have enhanced products over and above the open source softw
are, and there are several
companies that are designing easy-to-use interfaces with Asterisk and providing turnkey solutions on top of
that.
A good source to view these products can be found at the
V
oipsupply
.com
W
eb site under the IP-
PBX/Asterisk Hardware tab.
So what does all this really mean? It means that open source is really beginning to turn a lot of heads in the
industry. What impact will open source make over the next couple of years? The market will evolve to meet
that need with more interconnect vendors moving into the open source market, where a much better profit
can be made
.
At some point these systems will become more of a commodity
.
-
facturing companies.
Books Referenced
Kelly, David, Cullen Jennings and Luan Danag.
Practical VoIP – Using VOCAL. Sebastopol
, CA: O'Reilly Media,
Inc.,
2002.
Van Meggelen, Jim, Jared Smith, and Leif Madsen.
Asterisk – The Future of Telephony. Sebastopol
, CA: O'Reilly
Media, Inc., 2005.
W
allingford,
Ted.
Switching to VoIP
.
Sebastopol,
CA: O’Reilly Media, Inc., 2005.
Web Sites Referenced
http://www
.sipfoundry
.org
http://www
.voip-info
.org/wiki-Asterisk