IP Over Voice
IP Over Voice
IP Over Voice
Advisor
Prof. Ausif Mahmood
Associate Professor
Dept. of Computer Science & Engineering
University of Bridgeport
Submitted by
Parth Dave
S.Id 459802
Contents
7) VOIP SERVICES 15
A) PC to Phone Services
B) PC to PC services
C) Phone to Phone Services
D) Network Services
Conclusion 29
WebPages 30
ACKNOWLEDGEMENTS
I sincerely thank Prof. Ausif Mahmood for his invaluable guidance and support
through the course of my project.
Abstract
With massive advances in technology the computational power available to us
has increased manifold. As a result of this it has become possible for us to
transmit data over Plain Old Telephone System (POTS), which is a circuit-
switched network, and voice over an IP network, which is a packet switched
network. Since voice traffic maps directly to a circuit switched network, and not,
onto a packet switched network therefore to be able to transmit voice data over a
packet switched network entails several complications, which must be dealt with
before we can use the Internet for transmitting real time audio traffic.
This project covers the basics of a VOIP network and the current market
products and trends. The purpose of this paper is to study some of these
complications namely delay, packet loss, jitter, encoding and to present some of
the solutions to these problems. This is a broad overview of VOIP and is meant
to give the reader an idea of the issues involved in trying to cater to voice traffic
in an IP network.
Introduction:
In this paper I shall present a broad overview of the different complications that
arise in trying to provide Data over POTS and Voice traffic in the current Internet.
The reason why these complications arise is due to the fact that voice traffic has
certain differing characteristics and requires much more stringent ‘Quality of
Service Guarantees’.
We begin this paper by explaining what we mean by VOIP, and then we go on to
discuss whether it is wise to cater for voice traffic in a packet switched network in
the first place. We then describe a basic VOIP architecture and describe its
working. Then we go on to analyze the various characteristics of voice traffic,
which need to be taken into account when we discuss its transmission in a
The Public Switched Telephone Network (PSTN) has been evolving ever since
Alexander Graham Bell made the first voice transmission over wire in 1876. The
existing PSTN does not fit all the needs of its builders or users. After you
understand where today’s PSTN is lacking, you will know where to look to find a
solution. This section sets the stage for why the voice and data networks are
merging into a single network.
Although the PSTN is effective and does a good job at what it was built to do
(that is, switch voice calls), many business drivers are striving to change it to a
new network, whereby voice is an application on top of a data network. This is
happening for several reasons:
• Data has overtaken voice as the primary traffic on many networks built for
voice. Data is now running on top of networks that were built to carry voice
efficiently. Data has different characteristics, however, such as a variable use
of bandwidth and a need for higher bandwidth. Soon, voice networks will run on
top of networks built with a data-centric approach. Traffic will then be
differentiated based upon application instead of physical circuits. New
technologies (such as Fast Ethernet, Gigabit Ethernet, and Optical Networking)
will be used to deploy the high-speed networks that needed to carry all this
additional data.
• The PSTN cannot create and deploy features quickly enough.
• Data/Voice/Video (D/V/V) cannot converge on the PSTN as currently built.
With only an analog line to most homes, you cannot have data access
(Internet access), phone access, and video access across one 56-kbps
modem. High-speed broadband access, such as digital subscriber line (DSL),
cable, or wireless, is needed to enable this convergence
• The architecture built for voice is not flexible enough to carry data.
We must begin by discussing what is Voice over IP? By voice over IP we mean
the transmission of real time voice signals over an IP network namely the
Internet. The question then arises that what is the big deal in transmitting voice
signals over a packet switched network? Well if we look closely at the underlying
architecture of the Internet, it becomes apparent that to be able to provide voice
service over an IP network needs a lot of different mechanisms to be built into
the IP networks and also in the end hosts. The reason for this is that the service
requirements of VOIP don’t map onto the Internet in an inherent way. The current
for this is that current Internet provide only best effort service, whereas Voice
transmission over the Internet require much more stringent guarantees from the
Internet. As a result of which we need to build mechanisms over the current
architecture to provide these services to the voice applications. The specific
requirements and characteristics of Voice traffic are discussed later in the paper.
We must mention here the difference between multimedia voice transmission
and voice transmission over IP. By VOIP we mean real time voice transmission.
The voice signal at the sender is encoded and sent to some receiver where the
receiver immediately replays the packets as soon as it receives it. All this
happens in real time. Whereas in a multimedia system, the receiver may receive
the whole voice segment and store it locally and then play it back whenever the
user requests it. The analogy would be something like a voice telephone call with
a voice mail.
We mentioned that voice traffic has characteristics which are different from
traditional traffic carried by the Internet and to provide for voice traffic is not a
trivial issue. Then the natural question is whether we should carry voice traffic in
the Internet in the first place? After all we already have a telephone system in
place, why do we need to transmit voice over the Internet? The answer to this
lies in the massive advantages which can be achieved from multiplexing voice
and the traditional data traffic. The inherent nature of both this type of traffic is
such that their presence on a single wire is both complementary. One can just
imagine the massive cut in spending, we could have long distance calls at the
price of local ones. In the current telephone network, currently when we place a
call, the required bandwidth is reserved for the entire path for the duration of the
call and even if the speaker is not saying anything, the bandwidth is still locked
with that person and no body else can use it. As a result of this, for a given
The advance in technology, both in the network and in the end host, allows us to
empty encoding techniques and time stamping and sequencing without incurring
too much delay so that voice can be transmitted to the other side with acceptable
delays. There are various value added services that can be provided if we use
the Internet for voice transmission. Thus weighing the pros and cons it clearly
stands out that there are massive advantages to be had from integrating voice in
an IP network .
A basic VOIP architecture would have a host where the voice signal must be
compressed, coded and inserted into packets, have a sequence number and
time stamps and sent to the receiver where they must be received and stored in
a payoff buffer and then the signal recreated based on the time stamps and
relative positions of things. VOIP services architecture either be PC-PC or PC-
phone or vice versa. A basic of scenarios of voice over IP in the PC-PC
architecture may be that voice signals at some host are encoded as soon as they
are produced and are sent to the remote machines IP where the remote machine
on receiving the packet decodes the packet and sends it immediately to the
process. An alternative scenario might be a PC calling a remoter telephone. We
specify the telephone number and the remote telephone numbers are mapped to
IP address of the gateway closest to the receiver. The sender address the IP
packets to remote gateway’s IP and remote gateway on receiving the packets
decodes them and sends an analogue signal to the remote telephone. Similarly
in the telephone-PC architecture the gateway would do the packetization and
encoding of data in packets.
1 Gateway
The gateways are the devices that communicate between the telephone signals
and the IP endpoint. The IP endpoint usually speaks H.323 for media stream and
more recently Session Initiation protocol (SIP). The gateways usually perform
the following 6 functions
• Search function
• Digitizing function
Analog telephone signals coming into a trunk on the gateway are digitized
by the gateway into a format useful to the gateway, usually 64 kbps PCM.
This requires the gateway to interface to a variety of Telephone-signaling
conventions.
• Demodulation functions
With some gateways the gateway trunk can accept only a voice signal or
a fax signal but not both. But sophisticated gateways handle both. When
the signal is a fax, it is demodulated by the DSP back into the original 2.4-
14.4 kbps digital format. This is then put into the IP packets for
transmission. The demodulated information is remodulated back to the
original analog fax signal by the remote gateway, for delivery to the
remote fax machine.
• Compression functions
At the same time that the gateway performs steps 1-5, it is also receiving
packets. Hence this function is required
2 Gatekeepers
Terminals are the LAN client endpoints that provide real time two-way
communications. When an endpoint is switched on, it performs a multicast
discovery for a gatekeeper and registers with it. Thus the gatekeeper knows how
many users are connected and where they are located. The collection of a
• Address translation
• Admissions control
• Bandwidth management
• Zone management
The Gatekeeper provides the above functions for terminals, MCUs, and
Gateways, which are registered in its Zone of control.
3 IP Telephones
These are devices, which replace the existing telephones by providing enhanced
services suited to VOIP. At the same time they should retain the capabilities of
the original phones to keep the user comfortable.
4 PC Software phones
1 Voice Quality
The voice quality should be comparable to what is available using the PSTN,
even over networks of varying levels of QoS. If a company thinks that reducing
the bills is the criteria and adopts a poor quality VOIP service, then the only
people using that service would be the Managing Director and the Accounting
Officer. The employees will not compromise quality to reduce the company's
bills.
• Echo cancellation
When a two-wire telephone cable connects to a four-wire PBX interface or
a Telco central office interface, a special electric circuit called a hybrid is
used to do the conversion. But in them a small percentage of telephone
energy is not converted but instead reflected back to the caller creating an
echo. If the delay is more than 10mS the caller hears the echo and this
has to be avoided.
• Delay
o Total Transmission Delay
Total transmission delay is the sum of the compression,
decompression delays, processing delay, the buffering/Queuing
delay, the transmission delay and the network delay. The network
delay is variable while the others can be fixed pre hand to less than
130ms. When this total delay exceeds 200ms, the two speakers
have to make sure that when one speaks the other listens and
pauses to make sure that the speaker is done. Bad timing may
result in stepping on the other's message.
o Delay Jitter
Delay jitter is the variability in arrival time of a packet. When a
packet does not arrive in time to fit into the voice stream going out
o Delay management
VOIP Packet Prioritization
The reason VOIP works well over a corporate IP network is
due more to the corporate network's low jitter than low delay.
Corporate routers usually prioritize voice/fax packets either
by explicit programming of the router or by using a
prioritization protocol like Resource Reservation Protocol
(RSVP).
IP Packet Segmentation
This is an important step required to ensure that a very long
data packet does not delay the voice packet from exiting the
router in a timely manner. This is achieved by programming
the router to segment all out bound data packets according
to the WAN access link.
A telephone quality call or a toll quality call requires at least 64 kbps/call. This
bandwidth is impossible to dedicate on a data network for voice.
Speech compression techniques as the G.729 reduce this to around 8kbps. The
IP router overhead is around 7 kbps. Thus it is 15 kbps. But modern
compressors make use of an important technique called as silence
suppression. In a typical full duplex phone conversation, only 35-40% is active.
There are significant pauses between words, phrases etc. The bandwidth
consumption is thus reduced by silence suppression. Ultimately voice requires
only 5-6 kbps.
Silence suppression renders the line absolutely silent to the listener so much so
that it sounds absolutely dead. But by inserting Comfort Noise or even better, by
periodically sampling the background noise and regenerating it for the listener,
the line sounds active.
The user need not know what technology is being used for the call. He should be
able to use the telephone as he does right now.
• Ease of configuration
• Addressing / Directories
At a remote site there are normally 2 to 4 VOIP connections (or trunks) from the
VOIP gateway to the PBX allowing 2 - 4 simultaneous phone/fax connections
between the remote site and other corporate locations. The actual number of
trunks depends upon the number of calls made per day and the total amount
they consume. The number of the head quarter’s trunks is decided by the total
number of phone calls between head quarters and the remote sites and the total
number of simultaneously active calls. Usually, head quarters have a fraction of
the total trunk count. The trunk contention ratio is the ratio of total remote site
trunks to head quarter trunks.
6 Security
• Authentication/ Encryption
VOIP offers the potential for secure telephony by making use of the
services available in TCP/IP environments. Access controls can be
implemented using authentication and calls can be made private using
encryption of the links.
• Security implementation
VOIP gateways must keep track of successful and unsuccessful calls. Call detail
records should be produced. But the major issue is the suitable billing model
selection. A number of billing models have been suggested
H.323 is a set of protocols for voice, video and data conferencing over packet-
based networks such as the Internet. It is designed to operate above the
transport layer of the underlying network. This protocol assumes that no quality
of service is provided by LANs. H.323 defines four logical components which are:
Terminals, Gateways, Gatekeepers and Multipoint Control Units(MCU). The
terminal, gateways and MCUs are known as endpoints. H.323 terminals are the
LAN client endpoints that provide real time, two way communications. A H.323
terminal can communicate with either another H.323 terminal, a H.323 gateway
or a MCU. An H.323 gateway provides for real-time, two-way communication
between H.323 terminal on the IP network and other ITU terminals on a switched
based network, or to another H.323 gateway. Their basic function is that of a
translator i.e. they perform the translation between different transmission
formats. The gateway is the interface between the PSTN and the Internet. They
take voice from PSTN and put it on the public Internet and vice versa.
Gatekeepers are the most vital part of H.323. A gatekeeper plays the role of a
manager. It acts as the central point for all calls within its zone and provides
services to the registered endpoints. Gatekeepers also do bandwidth
management and controls admission of end points. The MCU is an endpoint on
the network that provides the capability for three or more terminals and gateways
to participate in a multipoint conference. The MCU determines the capabilities of
each terminal and sends each a mixed media stream. In the decentralized model
of multipoint conferencing, a MC ensures communication compatibility but the
media streams are multicast and the mixing is performed at each terminal.
IP PBXs, such as Altigen's AltiServe and Artisoft's TeleVantage, are great if you
have the luxury of designing your system from the ground up. IP PBXs are
complete phone systems, usually with IP phone options that include many of the
IP telephony applications, such as managing your phone from your desktop PC,
multiline call control and automatic call distribution.
IP PBXs are usually NT servers with telephony software and voice cards.
Disadvantages often include scalability and a dial tone that's dependent on NT,
which doesn't offer the same uptime as a switched phone network.
Until recently, IP PBXs have mainly been targeted at small or branch offices with
100 users or less, but Alcatel recently announced OmniPCX, a voice-over-IP
system that incorporates gateway and call processing in a single device and can
accommodate up to 50,000 users. Additionally, 3Com, Lucent and Cisco have all
announced plans to provide the same type of product.
Cisco's Selsius products and 3Com's NBX series fit in this category because the
goal of both is to provide the same services as OmniPCX on a large scale.
However, while initial versions of these products are in trial stages, they have not
been proven for high numbers of users. Alcatel is the first to stake that claim, and
Cisco and 3Com will have products in the future that compete. 3Com now says
its product is only for midsize businesses with less than 500 users.
Converged appliances that join phone and data networks provide the simplified
management that fulfills the promise of voice over IP. Several vendors offer such
appliances. For example, Vertical Networks' Instant Office offers call services,
voice mail, routing and LAN connect for voice and telecom, for a small to midsize
office, all included in the same box and managed together. Also, Praxon's PDX,
a modular communications platform, combines voice PBX features with a full
complement of data networking, messaging and Internet functions.
VOIP SERVICES
1 PC to Phone Services
These Services require a gateway on the receiving side to convert the IP packets
back to Telephone signals.
• VocalTec Surf&Call
• Dialpad.com
2 PC-to-PC services
• Microsoft NetMeeting
• VocalTec Iphone
• TaoTalk.com
3 Phone-to-Phone Services
A large number of Companies are providing long distance phone call services by
means of VOIP at reduced rates. Examples are:
• AT&T’s 7cents per minute any day any time offer for long distance calls in
the United States. It also offers discounted international calls on purchase
of the above offer.
• AOL offers 9cents/minute service.
A variety of calling card services to talk over long distances from anywhere,
including different countries. However in many of these services which offer low
rates, the quality is poor. But there are some, which use good gateways and
reliable billing mechanisms.
Examples:
• AcculinQ:
This offers local Access in 5 Major US Cities including: Austin, Dallas, Fort
Worth, Houston Texas & Denver Colorado at an extraordinarily low long
distance rate of 5.9 cent per minute.
Calls to France and Germany are 11.9 cents per minute.
• USATEL VIA ONE PREPAID calling Card:
This card does not charge the FCC pay phone access fee. It charges 14
cents per minute in Continental USA.
4 Network Services
Here we talk about services being offered to improve the quality of transfer of IP
packets. VOIP in a company Intranet is currently much better than that over the
public Internet. While talking about issues, we talked about the Managed IP
Network. It is believed that fiber networks will improve the quality of transfer.
B QWest
QWest Virtual Network Service enables building a virtual private network system
for call networks to meet individual business needs. It is built with Qwest Macro
Capacity Fiber network as a backbone and advanced architecture and includes
features desired by most private users.
Installations Considered
• CAT5 Installs Into Each Room For Use With Ethernet-Based System
o Install Multiple CAT 5 Lines Throughout Building Without
Exceeding 100m Limit
o Bring All Cables to Central Patch Panel For Connection To LAN
System
o Install Centralized Ethernet System (Switches, Routers, Etc.) &
Subscriber Management
Using Data-Over-POTS
The property selected for this installation was located within close proximity to a
business community in southern New Jersey. Also very close by were
conference facilities and business centers.
Many nearby hotels began offering High-Speed access at low rates to compete
with local copy shops and other notable hotspots. This particular hotel noticed
that a large amount of their clientele was frequenting the local copy shop to
access the Internet and to perform basic document printing and copying. The
hotel also noticed an alarming amount of their clientele choosing to stay at the
surrounding properties that were offering Internet access. New clientele stopped
walking through the door, and existing repeat guests were no longer making
reservations. It became very apparent to the Hotel Management that they
needed to rectify this problem quickly, and effectively.
The solution was clearer than ever: PROVIDE INTERNET ACCESS!
Immediately the Hotel Management began submitting RFP’s for dedicated
Internet access systems. The demand was simple: provide each room with
affordable high-speed access at a minimal installation and maintenance cost. If
Proposed Switching/Medium
The City-Net solution met all the desired results quite effectively.
However, City-Net was able to deliver a price point more attractive than any
other system. Moreover, City-Net Technology’s switches have a higher
compatibility rate as well as heightened switching and system reliability. Another
reason why City-Net was preferred over other switching solutions is the ability to
scale your installation using management concentrators and stacking
technology. City-Net switches offer convenient interfaces for the management
and control of up to 15 twelve-port switches from a single IP address.
Selected Solution
The CN-1412 HomePNA Switch has plenty of Ethernet ports, to offer you many
paths for upgrading your network, as well as 12 VLAN HomePNA ports ready to
plug in to your existing wiring system using current CAT3/RJ-11 Installations.
Product Specifications:
• Speed:1Mbps (phone line)
• Ports:RJ-11, two connectors
• Transmission Distance: Up to 500 ft (150 m)
• LED Indicators: Link / Activity and Collision
• Cabling: Standard Copper RJ-11
1) HOMEPNA
2) SWITCH
Q: How many users can log into the switch through telnet at once?
A: Telnet accepts only 1 connection at a time, however with the Http interface
you can have unlimited administrators logged in. The console port supports only
one user per session.
Q: Will the switch ever get “too busy” to handle large volumes of data?
Q: I am using my HomePNA Switch for my office network; I cannot see the file-
sharing computer. Is there something wrong with my switch?
A: Not at all, just set the VLAN function to OFF and all ports will be able to
communicate with one another.
3) LAN
Q: Will other types of HomePNA CPE (Customer Premises Equipment) work with
the HomePNA Switch?
A: Yes, however all Manufacturers do not guarantee the performance of their
products when used with other manufacturer products.
4) WAN
5) PBX
6) TROUBLESHOOTING
This section covers some common problem areas, also known fixes and
solutions. Although the solutions offered in this section should solve your
problem, occasionally a problem might arise that takes on a symptom of an
issue, hence cannot be solved in the same fashion.
Solution:
Install an impedance matching filter to correct the frequency domain shift.
Depending on the frequency domain, type of PBX, and amount of impedance
shift a filter may be needed between the PBX and the MDF or the CPE and
Telephone set equipment.
This broad overview of the various issues involved in the transmission of voice
over an IP network give us an insight into the kinds of mechanisms that need to
be in place in the internet if we expect to provide services of voice transmission
over the internet.
The differentiating characteristics of voice traffic that have been highlighted make
is necessary that we employ mechanisms in the internet that are able to
recognize different type of traffic and are able to provide them different services
based on their different service requirements. On thing is clear, real-time voice
traffic does not map naturally onto the packet switched network. The different
mechanisms mentioned, to take into account the characteristics of real time
voice traffic are necessary to facilitate its service in the current ‘best effort packet
switched network.’
VOIP is growing fast. The very knowledge of the applications of this technology
is enough for users and manufacturers to flock towards it. It is ideal for computer
based communications and at the same time bringing down the cost of
multimedia transfer. Hence VOIP products and services have flooded the market.
The above paper presented the features of the products of a few major game
players in the field of VOIP.
REFERENCES
Technical Papers
Books B&N
1. CISCO, http://www.cisco.com/
2. MICOM, http://www.micom.com
5. VocalTec,http://www.vocaltec.com/
6. Nuera, http://www.nuera.com/
7. Ericsson, http://www.ericsson.com/
8. Qwest, http://www.qwest.com/
9. ITXC, http://www.itxc.com
http://www.VOIP-news.com/