How is this useful? VoIP can turn a standard Internet connection into a way to place free phone calls. The practical upshot of this is that by using some of the free VoIP software that is available to make Internet phone calls, you're bypassing the phone company (and its charges) entirely.
VoIP is a revolutionary technology that has the potential to completely rework the world's phone systems. VoIP providers like Vonage have already been around for a while and are growing steadily. Major carriers like AT&T are already setting up VoIP calling plans in several markets around the United States, and the FCC is looking seriously at the potential ramifications of VoIP service.
Above all else, VoIP is basically a clever "reinvention of the wheel." In this article, we'll explore the principles behind VoIP, its applications and the potential of this emerging technology, which will more than likely one day replace the traditional phone system entirely.
The interesting thing about VoIP is that there is not just one way to place a call. There are three different "flavors" of VoIP service in common use today:
- ATA -- The simplest and most common way is through the use of a device called an ATA (analog telephone adaptor). The ATA allows you to connect a standard phone to your computer or your Internet connection for use with VoIP. The ATA is an analog-to-digital converter. It takes the analog signal from your traditional phone and converts it into digital data for transmission over the Internet. Providers like Vonage and AT&T CallVantage are bundling ATAs free with their service. You simply crack the ATA out of the box, plug the cable from your phone that would normally go in the wall socket into the ATA, and you're ready to make VoIP calls. Some ATAs may ship with additional software that is loaded onto the host computer to configure it; but in any case, it's a very straightforward setup.
- IP Phones -- These specialized phones look just like normal phones with a handset, cradle and buttons. But instead of having the standard RJ-11 phone connectors, IP phones have an RJ-45 Ethernet connector. IP phones connect directly to your router and have all the hardware and software necessary right onboard to handle the IP call. Wi-Fi phones allow subscribing callers to make VoIP calls from any Wi-Fi hot spot.
- Computer-to-computer -- This is certainly the easiest way to use VoIP. You don't even have to pay for long-distance calls. There are several companies offering free or very low-cost software that you can use for this type of VoIP. All you need is the software, a microphone, speakers, a sound card and an Internet connection, preferably a fast one like you would get through a cable or DSL modem. Except for your normal monthly ISP fee, there is usually no charge for computer-to-computer calls, no matter the distance.
Using VoIPChances are good you're already making VoIP calls any time you place a long-distance call. Phone companies use VoIP to streamline their networks. By routing thousands of phone calls through a circuit switch and into an IP gateway, they can seriously reduce the bandwidth they're using for the long haul. Once the call is received by a gateway on the other side of the call, it's decompressed, reassembled and routed to a local circuit switch.
Although it will take some time, you can be sure that eventually all of the current circuit-switched networks will be replaced with packet-switching technology (more on packet switching and circuit switching later). IP telephony just makes sense, in terms of both economics and infrastructure requirements. More and more businesses are installing VoIP systems, and the technology will continue to grow in popularity as it makes its way into our homes. Perhaps the biggest draws to VoIP for the home users that are making the switch are price and flexibility.
With VoIP, you can make a call from anywhere you have broadband connectivity. Since the IP phones or ATAs broadcast their info over the Internet, they can be administered by the provider anywhere there's a connection. So business travelers can take their phones or ATAs with them on trips and always have access to their home phone. Another alternative is the softphone. A softphone is client software that loads the VoIP service onto your desktop or laptop. The Vonage softphone has an interface on your screen that looks like a traditional telephone. As long as you have a headset/microphone, you can place calls from your laptop anywhere in the broadband-connected world.
Most VoIP companies are offering minute-rate plans structured like cell phone bills for as little as $30 per month. On the higher end, some offer unlimited plans for $79. With the elimination of unregulated charges and the suite of free features that are included with these plans, it can be quite a savings.
Most VoIP companies provide the features that normal phone companies charge extra for when they are added to your service plan. VoIP includes:
- Caller ID
- Call waiting
- Call transfer
- Repeat dial
- Return call
- Three-way calling
- Forward the call to a particular number
- Send the call directly to voice mail
- Give the caller a busy signal
- Play a "not-in-service" message
- Send the caller to a funny rejection hotline
Now that we've looked at VoIP in a general sense, let's look more closely at the components that make the system work. To understand how VoIP really works and why it's an improvement over the traditional phone system, it helps to first understand how a traditional phone system works.
VoIP: Circuit SwitchingExisting phone systems are driven by a very reliable but somewhat inefficient method for connecting calls called circuit switching.
Circuit switching is a very basic concept that has been used by telephone networks for more than 100 years. When a call is made between two parties, the connection is maintained for the duration of the call. Because you're connecting two points in both directions, the connection is called a circuit. This is the foundation of the Public Switched Telephone Network (PSTN).
Here's how a typical telephone call works:
- You pick up the receiver and listen for a dial tone. This lets you know that you have a connection to the local office of your telephone carrier.
- You dial the number of the party you wish to talk to.
- The call is routed through the switch at your local carrier to the party you are calling.
- A connection is made between your telephone and the other party's line using several interconnected switches along the way.
- The phone at the other end rings, and someone answers the call.
- The connection opens the circuit.
- You talk for a period of time and then hang up the receiver.
- When you hang up, the circuit is closed, freeing your line and all the lines in between.
Telephone conversations over today's traditional phone network are somewhat more efficient and they cost a lot less. Your voice is digitized, and your voice along with thousands of others can be combined onto a single fiber optic cable for much of the journey (there's still a dedicated piece of copper wire going into your house, though). These calls are transmitted at a fixed rate of 64 kilobits per second (Kbps) in each direction, for a total transmission rate of 128 Kbps. Since there are 8 kilobits (Kb) in a kilobyte (KB), this translates to a transmission of 16 KB each second the circuit is open, and 960 KB every minute it's open. In a 10-minute conversation, the total transmission is 9,600 KB, which is roughly equal to 10 megabytes (check out How Bits and Bytes Work to learn about these conversions). If you look at a typical phone conversation, much of this transmitted data is wasted.
VoIP: Packet SwitchingA packet-switched phone network is the alternative to circuit switching. It works like this: While you're talking, the other party is listening, which means that only half of the connection is in use at any given time. Based on that, we can surmise that we could cut the file in half, down to about 4.7 MB, for efficiency. Plus, a significant amount of the time in most conversations is dead air -- for seconds at a time, neither party is talking. If we could remove these silent intervals, the file would be even smaller. Then, instead of sending a continuous stream of bytes (both silent and noisy), what if we sent just the packets of noisy bytes when you created them?
Data networks do not use circuit switching. Your Internet connection would be a lot slower if it maintained a constant connection to the Web page you were viewing at any given time. Instead, data networks simply send and retrieve data as you need it. And, instead of routing the data over a dedicated line, the data packets flow through a chaotic network along thousands of possible paths. This is called packet switching.
While circuit switching keeps the connection open and constant, packet switching opens a brief connection -- just long enough to send a small chunk of data, called a packet, from one system to another. It works like this:
- The sending computer chops data into small packets, with an address on each one telling the network devices where to send them.
- Inside of each packet is a payload. The payload is a piece of the e-mail, a music file or whatever type of file is being transmitted inside the packet.
- The sending computer sends the packet to a nearby router and forgets about it. The nearby router send the packet to another router that is closer to the recipient computer. That router sends the packet along to another, even closer router, and so on.
- When the receiving computer finally gets the packets (which may have all taken completely different paths to get there), it uses instructions contained within the packets to reassemble the data into its original state.
Advantages of Using VoIPVoIP technology uses the Internet's packet-switching capabilities to provide phone service. VoIP has several advantages over circuit switching. For example, packet switching allows several telephone calls to occupy the amount of space occupied by only one in a circuit-switched network. Using PSTN, that 10-minute phone call we talked about earlier consumed 10 full minutes of transmission time at a cost of 128 Kbps. With VoIP, that same call may have occupied only 3.5 minutes of transmission time at a cost of 64 Kbps, leaving another 64 Kbps free for that 3.5 minutes, plus an additional 128 Kbps for the remaining 6.5 minutes. Based on this simple estimate, another three or four calls could easily fit into the space used by a single call under the conventional system. And this example doesn't even factor in the use of data compression, which further reduces the size of each call.
Let's say that you and your friend both have service through a VoIP provider. You both have your analog phones hooked up to the service-provided ATAs. Let's take another look at that typical telephone call, but this time using VoIP over a packet-switched network:
- You pick up the receiver, which sends a signal to the ATA.
- The ATA receives the signal and sends a dial tone. This lets you know that you have a connection to the Internet.
- You dial the phone number of the party you wish to talk to. The tones are converted by the ATA into digital data and temporarily stored.
- The phone number data is sent in the form of a request to your VoIP company's call processor. The call processor checks it to ensure that it's in a valid format.
- The call processor determines to whom to map the phone number. In mapping, the phone number is translated to an IP address (more on this later). The soft switch connects the two devices on either end of the call. On the other end, a signal is sent to your friend's ATA, telling it to ask the connected phone to ring.
- Once your friend picks up the phone, a session is established between your computer and your friend's computer. This means that each system knows to expect packets of data from the other system. In the middle, the normal Internet infrastructure handles the call as if it were e-mail or a Web page. Each system must use the same protocol to communicate. The systems implement two channels, one for each direction, as part of the session.
- You talk for a period of time. During the conversation, your system and your friend's system transmit packets back and forth when there is data to be sent. The ATAs at each end translate these packets as they are received and convert them to the analog audio signal that you hear. Your ATA also keeps the circuit open between itself and your analog phone while it forwards packets to and from the IP host at the other end.
- You finish talking and hang up the receiver.
- When you hang up, the circuit is closed between your phone and the ATA.
- The ATA sends a signal to the soft switch connecting the call, terminating the session.
The central call processor is a piece of hardware running a specialized database/mapping program called a soft switch. See the "Soft Switches" section to learn more.
It will still be at least a decade before communications companies can make the full switch over to VoIP. As with all emerging technologies, there are certain hurdles that have to be overcome.
Disadvantages of Using VoIPThe current Public Switched Telephone Network is a robust and fairly bulletproof system for delivering phone calls. Phones just work, and we've all come to depend on that. On the other hand, computers, e-mail and other related devices are still kind of flaky. Let's face it -- few people really panic when their e-mail goes down for 30 minutes. It's expected from time to time. On the other hand, a half hour of no dial tone can easily send people into a panic. So what the PSTN may lack in efficiency it more than makes up for in reliability. But the network that makes up the Internet is far more complex and therefore functions within a far greater margin of error. What this all adds up to is one of the major flaws in VoIP: reliability.
- First of all, VoIP is dependant on wall power. Your current phone runs on phantom power that is provided over the line from the central office. Even if your power goes out, your phone (unless it is a cordless) still works. With VoIP, no power means no phone. A stable power source must be created for VoIP.
- Another consideration is that many other systems in your home may be integrated into the phone line. Digital video recorders, digital subscription TV services and home security systems all use a standard phone line to do their thing. There's currently no way to integrate these products with VoIP. The related industries are going to have to get together to make this work.
- Emergency 911 calls also become a challenge with VoIP. As stated before, VoIP uses IP-addressed phone numbers, not NANP phone numbers. There's no way to associate a geographic location with an IP address. So if the caller can't tell the 911 operator where he is located, then there's no way to know which call center to route the emergency call to and which EMS should respond. To fix this, perhaps geographical information could somehow be integrated into the packets.
- Because VoIP uses an Internet connection, it's susceptible to all the hiccups normally associated with home broadband services. All of these factors affect call quality:
- Packet loss
- VoIP is susceptible to worms, viruses and hacking, although this is very rare and VoIP developers are working on VoIP encryption to counter this.
- Another issue associated with VoIP is having a phone system dependant on individual PCs of varying specifications and power. A call can be affected by processor drain. Let's say you are chatting away on your softphone, and you decide to open a program that saps your processor. Quality loss will become immediately evident. In a worst case scenario, your system could crash in the middle of an important call. In VoIP, all phone calls are subject to the limitations of normal computer issues.
Wondering if your broadband connection could support VoIP service? Brix Network offers a way to test your Internet connection to see how well it works.
VoIP: CodecsA codec, which stands for coder-decoder, converts an audio signal into compressed digital form for transmission and then back into an uncompressed audio signal for replay. It's the essence of VoIP.
Codecs accomplish the conversion by sampling the audio signal several thousand times per second. For instance, a G.711 codec samples the audio at 64,000 times a second. It converts each tiny sample into digitized data and compresses it for transmission. When the 64,000 samples are reassembled, the pieces of audio missing between each sample are so small that to the human ear, it sounds like one continuous second of audio signal. There are different sampling rates in VoIP depending on the codec being used:
- 64,000 times per second
- 32,000 times per second
- 8,000 times per second
Codecs use advanced algorithms to help sample, sort, compress and packetize audio data. The CS-ACELP algorithm (CS-ACELP = conjugate-structure algebraic-code-excited linear prediction) is one of the most prevalent algorithms in VoIP. CS-ACELP organizes and streamlines the available bandwidth. Annex B is an aspect of CS-ACELP that creates the transmission rule, which basically states "if no one is talking, don't send any data." The efficiency created by this rule is one of the greatest ways in which packet switching is superior to circuit switching. It's Annex B in the CS-ACELP algorithm that's responsible for that aspect of the VoIP call.
The codec works with the algorithm to convert and sort everything out, but it's not any good without knowing where to send the data. In VoIP, that task is handled by soft switches.
E.164 is the name given to the standard for the North American Numbering Plan (NANP). This is the numbering system that phone networks use to know where to route a call based on the dialed numbers. A phone number is like an address:
- (313) 555-1212 313 = State 555 = City 1212 = Street address
The challenge with VoIP is that IP-based networks don't read phone numbers based on NANP. They look for IP addresses, which look like this:
The central call processor is hardware that runs a specialized database/mapping program called a soft switch. Think of the user and the phone or computer as one package -- man and machine. That package is called the endpoint. The soft switch connects endpoints.
Soft switches know:
- Where the network's endpoint is
- What phone number is associated with that endpoint
- The endpoint's current IP address
VoIP: Soft Switches and ProtocolsThe soft switch contains a database of users and phone numbers. If it doesn't have the information it needs, it hands off the request downstream to other soft switches until it finds one that can answer the request. Once it finds the user, it locates the current IP address of the device associated with that user in a similar series of requests. It sends back all the relevant information to the softphone or IP phone, allowing the exchange of data between the two endpoints.
Soft switches work in tandem with network devices to make VoIP possible. For all these devices to work together, they must communicate in the same way. This communication is one of the most important aspects that will have to be refined for VoIP to take off.
As we've seen, on each end of a VoIP call we can have any combination of an analog, soft or IP phone as acting as a user interface, ATAs or client software working with a codec to handle the digital-to-analog conversion, and soft switches mapping the calls. How do you get all of these completely different pieces of hardware and software to communicate efficiently to pull all of this off? The answer is protocols.
There are several protocols currently used for VoIP. These protocols define ways in which devices like codecs connect to each other and to the network using VoIP. They also include specifications for audio codecs. The most widely used protocol is H.323, a standard created by the International Telecommunication Union (ITU). H.323 is a comprehensive and very complex protocol that was originally designed for video conferencing. It provides specifications for real-time, interactive videoconferencing, data sharing and audio applications such as VoIP. Actually a suite of protocols, H.323 incorporates many individual protocols that have been developed for specific applications.
As you can see, H.323 is a large collection of protocols and specifications. That's what allows it to be used for so many applications. The problem with H.323 is that it's not specifically tailored to VoIP.
An alternative to H.323 emerged with the development of Session Initiation Protocol (SIP). SIP is a more streamlined protocol, developed specifically for VoIP applications. Smaller and more efficient than H.323, SIP takes advantage of existing protocols to handle certain parts of the process. Media Gateway Control Protocol (MGCP) is a third commonly used VoIP protocol that focuses on endpoint control. MGCP is geared toward features like call waiting. You can learn more about the architecture of these protocols at Protocols.com: Voice Over IP.
One of the challenges facing the worldwide use of VoIP is that these three protocols are not always compatible. VoIP calls going between several networks may run into a snag if they hit conflicting protocols. Since VoIP is a relatively new technology, this compatibility issue will continue to be a problem until a governing body creates a standard universal protocol for VoIP.
VoIP is a vast improvement over the current phone system in efficiency, cost and flexibility. Like any emerging technology, VoIP has some challenges to overcome, but it's clear that developers will keep refining this technology until it eventually replaces the current phone system.
VoIP Call MonitoringVoIP has its distinct advantages and disadvantages. The greatest advantage of VoIP is price and the greatest disadvantage is call quality. For businesses who deploy VoIP phone networks -- particularly those who operate busy call centers (customer service, tech support, telemarketing, et cetera) -- call quality issues are both inevitable and unacceptable. To analyze and fix call quality issues, most of these businesses use a technique called VoIP call monitoring.
VoIP call monitoring, also known as quality monitoring (QM), uses hardware and software solutions to test, analyze and rate the overall quality of calls made over a VoIP phone network [source: ManageEngine]. Call monitoring is a key component of a business's overall quality of service (QoS) plan.
Call monitoring hardware and software uses various mathematical algorithms to measure the quality of a VoIP call and generate a score. The most common score is called the mean opinion score (MOS). The MOS is measured on a scale of one to five, although 4.4 is technically the highest score possible on a VoIP network [source: TestYourVoIP.com]. An MOS of 3.5 or above is considered a "good call" [source: ManageEngine].
To come up with the MOS, call monitoring hardware and software analyzes several different call quality parameters, the most common being:
- Latency -- This is the time delay between two ends of a VoIP phone conversation. It can be measured either one-way or round trip. Round-trip latency contributes to the "talk-over effect" experienced during bad VoIP calls, where people end up talking over each other because they think the other person has stopped speaking. A round-trip latency of over 300 millisecond is considered poor [source: TestYourVoIP.com].
- Jitter -- Jitter is latency caused by packets arriving late or in the wrong order [source: SearchVoIP.com]. Most VoIP networks try to get rid of jitter with something called a jitter buffer that collects packets in small groups, puts them in the right order and delivers them to the end user all at once. VoIP callers will notice a jitter of 50 msec or greater [source: TestYourVoIP.com].
- Packet loss -- Part of the problem with a jitter buffer is that sometimes it gets overloaded and late-arriving packets get "dropped" or lost [source: TestYourVoIP.com]. Sometimes the packets will get lost sporadically throughout a conversation (random loss) and sometimes whole sentences will get dropped (bursty loss) [source: TestYourVoIP.com]. Packet loss is measured as a percentage of lost packets to received packets.
Passive call monitoring analyzes VoIP calls in real-time while they're being made by actual users [source: VoIP Troubleshooter.com]. Passive call monitoring can detect network traffic problems, buffer overloads and other glitches that network administrators can fix in network down time.
Another method for call monitoring is recording VoIP phone calls for later analysis. This type of analysis is limited, however, to what can be heard during the call, not what's happening on the actual network. This type of monitoring is usually done by human beings, not computers, and is called quality assurance.
VoIP Cell Phones
VoIP-enabled cell phones are just entering the consumer market. In the United States, only T-Mobile's HotSpot@Home service allows customers to make cell phone calls over a VoIP network. HotSpot@Home relies on a device called a dual-mode cell phone.
Dual-mode cell phones contain both a regular cellular radio and a Wi-Fi (802.11 b/g) radio. The Wi-Fi radio enables the cell phone to connect to a wireless Internet network through a wireless router. If you have a wireless Internet router in your home, or if you're sitting at a Starbucks with wireless Internet access, you can use your cell phone to make VoIP calls. Here's how it works:
- When the cell phone is in range of a wireless Internet network, the phone automatically recognizes and connects to the network.
- Any calls you initiate on the wireless network are routed through the Internet as VoIP calls. With HotSpot@Home, all VoIP calls are free.
- If the phone is out of range of a wireless Internet signal, it automatically switches over to the regular cellular network and calls are charged as normal.
- Dual-mode phones can hand off seamlessly from Wi-Fi to cellular (and vice versa) in the middle of a call as you enter and exit Wi-Fi networks.
Wi-Fi phones are useful in large companies and offices with their own extensive wireless networks. And could prove to be the next big thing, with the expanding market for municipal Wi-Fi. [source: Dr. Dobb's Portal]. Imagine that your entire city was covered by a high-speed wireless network. That means cheap (if not free) VoIP calls wherever you go.
In England, a company called Hutchinson 3G (or simply 3) has partnered with the popular VoIP service Skype to introduce the 3 Skypephone. The Skypephone allows users to make free cell phone calls to other Skype users. The phone can also make regular cell-phone calls to non-Skype users for the normal fees. Here's how it works:
- To make a Skype call using the 3 Skypephone, you have to be on 3's cellular network.
- To initiate a Skype call, find a Skype user in your phone's address book and press the big "Skype" button.
- The call first goes over 3's cellular GSM network to a fixed Internet line, which then connects the call to Skype [source: mobileSift].
- From your 3 Skypephone, you can make free VoIP calls to other Skype users whether they have a Skypephone or not. You can talk to Skype users on their PCs or using other Skype VoIP products.
Use of VoIP in Amateur RadioThink of amateur radio, or ham radio, as an early version of the Internet. Using a worldwide network of radio towers, antennas and transceivers, amateur radio enthusiasts are able to communicate with fellow hobbyists around the globe, sometimes by voice and sometimes by Morse code.
Amateur radio is limited by the distance that radio waves can travel. To send a signal to the other side of the world requires calculated timing and more than a little bit of luck. Every 11 years, for example, there's a peak in the number of sunspots produced by the sun, which increases the intensity of something called ionospheric propagation [source: International Solar Terrestrial Physics Program]. By bouncing radio signals high into the ionosphere, ham radio users can send long-distance messages. During off-peak years it's much more difficult.
Now amateur radio fans are using VoIP technology to link users around the globe. Here's how it works. Ham radio has always relied on FM repeaters, large radio towers that act as base stations for accessing the radio network from home. By attaching an Internet-connected PC to these repeater stations, people can communicate with the repeater using VoIP.
Several amateur radio fans have developed special software that helps connect home radio transceivers to the Internet. Users can connect their ham radio transceivers to their PC sound card and use the computer software to search for available repeater stations across the world [source: ARRL]. No longer are ham radio fans limited to the closest repeater station. If you live in Indiana, you can call into a repeater station in Mozambique and chat with local amateur radio aficionados instantly.
There are also software programs that allow you to communicate with other amateur radio users directly from your PC, without having an actual ham radio [source: ARRL]. Some ham radio purists wouldn't call this amateur radio, while others hope that this new technology will draw more young people into the hobby.
- How Telephones Work
- How Cell Phones Work
- How Wi-Fi Phones Work
- How WiFi Works
- How Municipal WiFi Works
- Skype vs. Vonage
- How WAP Works
- How Web Servers Work
- How Home Networking Works
- How Internet Infrastructure Works
- How Routers Work
- How Speakers Work
- How Sound Cards Work
- How Modems Work
- How Cable Modems Work
- How DSL Works