Friday, May 30, 2008

VOIP : Voice over Internet Protocol



Voice-over-Internet protocol (VoIP, IPA: /vɔjp/) is a protocol optimized for the transmission of voice through the Internet or other packet-switched networks. VoIP is often used abstractly to refer to the actual transmission of voice (rather than the protocol implementing it). This latter concept is also referred to as IP telephony, Internet telephony, voice over broadband, broadband telephony, and broadband phone. The last two are arguably incorrect because telephone-quality voice communications are, by definition, narrowband.

VoIP providers may be viewed as commercial realizations of the experimental Network Voice Protocol (1973) invented for the ARPANET providers. Some cost savings are due to utilizing a single network to carry voice and data, especially where users have underused network capacity that can carry VoIP at no additional cost. VoIP-to-VoIP phone calls are sometimes free, while VoIP calls connecting to public switched telephone networks (VoIP-to-PSTN) may have a cost that is borne by the VoIP user.

Voice-over-IP systems carry telephony signals as digital audio, typically reduced in data rate using speech data compression techniques, encapsulated in a data-packet stream over IP.

There are two types of PSTN-to-VoIP services: Direct inward dialing (DID) and access numbers. DID will connect a caller directly to the VoIP user, while access numbers require the caller to provide an extension number for the called VoIP user.

History
Voice-over-Internet Protocol has been a subject of interest almost since the first computer network. By 1973, voice was being transmitted over the early Internet. The technology for transmitting voice conversations over the Internet has been available to end-users since at least the early 1980s. In 1996, a shrink-wrapped software product called VocalTec Internet Phone (release 4) provided VoIP along with extra features such as voice mail and caller ID. However, it did not offer a gateway to the PSTN, so it was only possible to speak to other Vocaltec Internet Phone users. In 1997, Level 3 began development of its first softswitch (a term they invented in 1998); softswitches were designed to replace traditional hardware telephone switches by serving as gateways between telephone networks.

Revenue in the total VOIP industry in the US is set to grow by 24.3% in 2008 to $3.19 billion. Subscriber growth will drive revenue in the VOIP sector, with numbers expected to rise by 21.2% in 2008 to 16.6 million. The US's largest VOIP provider is Vonage.

Functionality

VoIP can facilitate tasks and provide services that may be more difficult to implement or more expensive using the PSTN. Examples include:

The ability to transmit more than one telephone call over the same broadband connection. This can make VoIP a simple way to add an extra telephone line to a home or office.
Conference calling, call forwarding, automatic redial, and caller ID; zero- or near-zero-cost features that traditional telecommunication companies (telcos) normally charge extra for.
Secure calls using standardized protocols (such as Secure Real-time Transport Protocol.) Most of the difficulties of creating a secure phone connection over traditional phone lines, like digitizing and digital transmission, are already in place with VoIP. It is only necessary to encrypt and authenticate the existing data stream.
Location independence. Only an Internet connection is needed to get a connection to a VoIP provider. For instance, call center agents using VoIP phones can work from anywhere with a sufficiently fast and stable Internet connection.
Integration with other services available over the Internet, including video conversation, message or data file exchange in parallel with the conversation, audio conferencing, managing address books, and passing information about whether others (e.g. friends or colleagues) are available to interested parties.
Advanced Telephony features such as call routing, screen pops, and IVR implementations are easier and cheaper to implement and integrate. The fact that the phone call is on the same data network as a users PC opens a new door to possibilities

Implementation

Because UDP does not provide a mechanism to ensure that data packets are delivered in sequential order, or provide Quality of Service (QoS) guarantees, VoIP implementations face problems dealing with latency and jitter. This is especially true when satellite circuits are involved, due to long round-trip propagation delay (400–600 milliseconds for links through geostationary satellites). The receiving node must restructure IP packets that may be out of order, delayed or missing, while ensuring that the audio stream maintains a proper time consistency. This function is usually accomplished by means of a jitter buffer in the voice engine.

Another challenge is routing VoIP traffic through firewalls and address translators. Private Session Border Controllers are used along with firewalls to enable VoIP calls to and from protected networks. Skype uses a proprietary protocol to route calls through other Skype peers on the network, allowing it to traverse symmetric NATs and firewalls. Other methods to traverse firewalls involve using protocols such as STUN or ICE.

VoIP challenges:

Available bandwidth
Network Latency
Packet loss
Jitter
Echo
Security
Reliability
In rare cases, decoding of pulse dialing
Many VoIP providers do not decode pulse dialing from older phones. The VoIP user may use a pulse-to-tone converter, if needed.[citation needed]

Fixed delays cannot be controlled but some delays can be minimized by marking voice packets as being delay-sensitive (see, for example, Diffserv).

The principal cause of packet loss is congestion, which can sometimes be managed or avoided. Carrier VoIP networks avoid congestion by means of teletraffic engineering.

Variation in delay is called jitter. The effects of jitter can be mitigated by storing voice packets in a jitter buffer upon arrival and before producing audio, although this increases delay. This avoids a condition known as buffer underrun, in which the voice engine is missing audio since the next voice packet has not yet arrived.

Common causes of echo include impedance mismatches in analog circuitry and acoustic coupling of the transmit and receive signal at the receiving end.

Reliability

Conventional phones are connected directly to telephone company phone lines, which in the event of a power failure are kept functioning by backup generators or batteries located at the telephone exchange. However, household VoIP hardware uses broadband modems and other equipment powered by household electricity, which may be subject to outages in the absence of a uninterruptible power supply or generator. Early adopters of VoIP may also be users of other phone equipment, such as PBX and cordless phone bases, that rely on power not provided by the telephone company. Even with local power still available, the broadband carrier itself may experience outages as well. When customers pick up their telephones at home, they are accustomed to hearing a dial tone immediately. There are a lot of “what-ifs” when it comes to the reliability of VoIP phones. Some of the “what-ifs” are: the electricity goes out or the cable satellite can not get a signal due to the weather. Both of these events will prevent the customer from getting a connection on their VoIP phones The VoIP phone system has redundancy built into their network, unlike the regular Public Switch Telephone Network (PSTN). If the traditional line outside on a pole goes down, you will lose connection until someone comes out there and fix the line. However, VoIP phones infrastructure are built upon routers. If there is a down router in your transmission link, your call will be automatically redirected on a different path to reach your call destination. If the first router is down in your infrastructure between you and your end call destination, your will receive a failed connection. Voice travels over the internet in almost the same manner as data does in packets. So when you talk over an IP network your conversion is broken up into small packets. The voice and data packets travel over the same network with a fixed bandwidth. The routers on the networks push the data packets across as fast as possible. When the volume of traffic is high it will slow the network down, therefore diminishing the quality and reliability. The voice transmission will sound like you are on a push to talk network. To increase the reliability of VoIP phones the VoIP provider needs to increase dedicated and redundant connectivity via T-1 access and backup DSL, with automatic failover at each location.[5] The company can create a reliable network by reducing the number of single points of failure. The providers can create different routing tables for individuals who have different high volume traffic times. While the PSTN has been matured over decades and is typically reliable, most broadband networks are less than 10 years old, and even the best are still subject to intermittent outages. Furthermore, consumer network technologies such as cable and DSL often are not subject to the same restoration service levels as the PSTN or business technologies such as T-1 connection.


[edit] Quality of service
Some broadband connections may have less than desirable quality. Where IP packets are lost or delayed at any point in the network between VoIP users, there will be a momentary drop-out of voice. This is more noticeable in highly congested networks and/or where there are long distances and/or interworking between end points. Technology has improved the reliability and voice quality over time and will continue to improve VoIP performance as time goes on.

It has been suggested to rely on the packetized nature of media in VoIP communications and transmit the stream of packets from the source phone to the destination phone simultaneously across different routes (multi-path routing). In such a way, temporary failures have less impact on the communication quality. In capillary routing it has been suggested to use at the packet level Fountain codes or particularly raptor codes for transmitting extra redundant packets making the communication more reliable.

A number of protocols have been defined to support the reporting of QoS/QoE for VoIP calls. These include RTCP XR (RFC3611), SIP RTCP Summary Reports, H.460.9 Annex B (for H.323), H.248.30 and MGCP extensions. The RFC3611 VoIP Metrics block is generated by an IP phone or gateway during a live call and contains information on packet loss rate, packet discard rate (due to jitter), packet loss/discard burst metrics (burst length/density, gap length/density), network delay, end system delay, signal / noise / echo level, MOS scores and R factors and configuration information related to the jitter buffer.

RFC3611 VoIP metrics reports are exchanged between IP endpoints on an occasional basis during a call, and an end of call message sent via SIP RTCP Summary Report or one of the other signaling protocol extensions. RFC3611 VoIP metrics reports are intended to support real time feedback related to QoS problems, the exchange of information between the endpoints for improved call quality calculation and a variety of other applications.


[edit] Mobile Number Portability (MNP) in the Internet Telephony Environment
Mobile number portability (MNP) also impacts the internet telephony, or VOIP (Voice over IP) business. A voice call originated in the VOIP environment which is routed to a mobile phone number of a traditional mobile carrier also face challenges to reach its destination in case the mobile phone number is ported. Mobile number portability is a service that makes it possible for subscribers to keep their existing mobile phone number when changing the service provider (or mobile operator).

VOIP is clearly identified as a Least Cost Routing (LCR) voice routing system, which is based on checking the destination of each telephone call as it is made, and then sending the call via the network that will cost the customer the least. With GSM number portability now in place, LCR providers can no longer rely on using the network root prefix to determine how to route a call. Instead, they now need to know the actual current network of every number before routing the call.

Therefore, VOIP solutions also need to handle MNP when routing a voice call. In countries without a central database like UK it might be necessary to query the GSM network about the home network a mobile phone number belongs to. As VOIP starts to take off in the enterprise markets because of least cost routing options, it needs to provide a certain level of reliability when handling calls.

MNP checks are important to assure that this quality of service is met; by handling MNP lookups before routing a call and assuring that the voice call will actually work, VOIP companies give businesses the necessary reliability they look for in an internet telephony provider. UK-based messaging operator Tyntec provides a Voice Network Query service, which helps not only traditional voice carriers but also VOIP providers to query the GSM network to find out the home network of a ported number.

In countries such as Singapore, the most recent Mobile number portability solution is expected to open the doors to new business opportunities for non-traditional telecommunication service providers like wireless broadband providers and voice over IP (VOIP) providers.

In November 2007, the Federal Communications Commission in the United States released an order extending number portability obligations to interconnected VOIP providers and carriers that support VOIP providers.


[edit] Difficulty with sending faxes
The support of sending faxes over VoIP is still limited. The existing voice codecs are not designed for fax transmission. (They are designed to digitize an analog representation of a human voice efficiently, but the inefficiency of digitizing an analog representation (modem signal) of a digital representation (a document image) of analog data (an original document) more than negates any bandwidth advantage of VoIP. In other words, the fax “sounds” simply don’t fit in the VoIP channel.) An effort is underway to remedy this by defining an alternate IP-based solution for delivering fax-over-IP, namely the T.38. This protocol is designed to work like a traditional fax machine. It can work using several configurations. The fax machine could be a traditional FAX machine connected to the PSTN, an ATA box, or similar; it could be a FAX machine with an RJ-45 connector plugged straight into an IP network; it could be a computer pretending to be a FAX machine. [6] Originally, T.38 was designed to use UDP and TCP transmission methods across an IP network. The main difference between using UDP and TCP methods for a FAX is the real time streaming attributes. TCP is better suited for use between to IP devices. However, older fax machines connected to an analog system benefits from UDP near real time characteristics. There have been updated versions of the T.30 to resolve the FoIP issues, which is the core Fax protocol. Some new fax machines have T.38 built in capabilities, which allows the user to just plug right into the network with minimal configuration changes. A unique feature of T.38 is that each packet contains a copy of the main data in the previous packet. This is an option, but most implementations seem to support it. This forward error correction scheme makes T.38 far more tolerate of dropped packets than using VoIP. It requires two successive lost packets to actually lose any data. [7] The data you lose will only be a small piece, but with the right settings and error correction mode, there is a high probability that you will receive the whole transmission. Tweaking the settings on the T.30 and T.38 protocols could also turn your unreliable fax into a robust machine. Some fax machine pauses at the end of a line to allow the paper feed to catch up. This is good news for packets that where lost or delayed, because it gives them a chance to catch up. However, if this was to happen on every line your FAX transmittal would take a long time. Another possible solution to overcome the drawback is to treat the fax system as a message switching system, which does not need a real-time data transmission—such as sending a fax as an email attachment (see Fax) or remote printout (see Internet Printing Protocol). The end system can completely buffer the incoming fax data before displaying or printing the fax image.


[edit] Emergency calls
The nature of IP makes it difficult to locate network users geographically. Emergency calls, therefore, cannot easily be routed to a nearby call center, and are impossible on some VoIP systems. Sometimes, VoIP systems may route emergency calls to a non-emergency phone line at the intended department. In the US, at least one major police department has strongly objected to this practice as potentially endangering the public.[8]

Moreover, in the event that the caller is unable to give an address, emergency services may be unable to locate them in any other way. Following the lead of mobile phone operators, several VoIP carriers are already implementing a technical workaround.[citation needed] For instance, one large VoIP carrier requires the registration of the physical address where the VoIP line will be used. When you dial the emergency number for your country, they will route it to the appropriate local system. They also maintain their own emergency call center that will take non-routable emergency calls (made, for example, from a software-based service that is not tied to any particular physical location) and then will manually route your call after learning your physical location.[citation needed]

e911 is another method by which VoIP providers in the US are able to support emergency services. The e911 emergency-calling system automatically associates a physical address with the calling party's telephone number as required by the Wireless Communications and Public Safety Act of 1999 and is being successfully used by many VoIP providers to provide physical address information to emergency service operators.

Also if the physical phone is moved to another location it saves the information from the original location. This means that if you were to take you VOIP phone on vacation with you and you dial 911 it will be routed to the 911 location form your home address. So if you live in Maine and you are on vacation in Florida and you call 911 the call will go to Maine.

A tragic example of a miscommunication with VoIP, is an 18-month-old boy named Elijah Luck. In an emergency, 911 services were called. An ambulance was sent to the former home of the Lucks. The Voice over Internet Protocol telephone company knew the correct address , as they were paying their bill from the correct current billing address the company had on record. "It's up to subscribers to ensure the company has up-to-date contact information" was the response from the VoIP company. After about a half hour wait, the Lucks called from a neighbors land line, 911 services arrived in six minutes. Elijah Luck was pronounced dead at the Alberta Children's Hospital. CBC story of Elijah Luck.


[edit] Integration into global telephone number system
While the wired public switched telephone network (PSTN) and mobile phone networks share a common global standard (E.164) which allocates and identifies any specific telephone line, there is no widely adopted similar standard for VoIP networks. Some allocate an E.164 number which can be used for VoIP as well as incoming and external calls. However, there are often different, incompatible schemes when calling between VoIP providers which use provider-specific short codes.


[edit] VoIP phone accessibility and portability
If using a software based soft-phone, calls can only be placed from the computer on which the soft-phone software resides. Thus with a soft-phone the caller is typically limited to a single point of calling. When using a hardware based VoIP phone-device/ phone-adapter it is possible to connect traditional analog phones directly to a VoIP phone-adapter without the need to operate a computer. The converted analog phone signal can then be connected to multiple house phones or extensions, just as any traditional phone company signal can be connected. A second VoIP hardware configuration option involves the use of a specially designed VoIP telephone which incorporates a VoIP phone adapter directly into the phone itself, and which also does not require the use of a computer. A third VoIP hardware configuration option involves the use of a WiFi router and a WiFi SIP phone which can extend a service range throughout a home or office. WiFi SIP phones can also be used at any location where an "unauthenticated" open hotspot Wi-Fi signal is available.[9] However, note that many hotspots require browser-based authentication, which most SIP phones do not support.[10]


[edit] Mobile phones and hand-held devices
Telcos and consumers have invested billions of dollars in mobile phone equipment. In developed countries, mobile phones have achieved nearly complete market penetration, and many people are giving up landlines and using mobiles exclusively. Given this situation, it is not entirely clear whether there would be a significant higher demand for VoIP among consumers until either public or community wireless networks have similar geographical coverage to cellular networks (thereby enabling mobile VoIP phones, so called WiFi phones or VoWLAN) or VoIP is implemented over 3G networks. However, "dual mode" telephone sets, which allow for the seamless handover between a cellular network and a WiFi network, are expected to help VoIP become more popular.[11]

Phones like the NEC N900iL, and later many of the Nokia Eseries and several WiFi enabled mobile phones have SIP clients hardcoded into the firmware. Such clients operate independently of the mobile phone network unless a network operator decides to remove the client in the firmware of a heavily branded handset. Some operators such as Vodafone actively try to block VoIP traffic from their network[12] and therefore most VoIP calls from such devices are done over WiFi.

Several WiFi only IP hardphones exist, most of them supporting either Skype or the SIP protocol. These phones are intended as a replacement for PSTN based cordless phones but can be used anywhere where WiFi internet access is available.

Another addition to hand held devices are ruggedized bar code type devices that are used in warehouses and retail environments. These type of devices rely on "inside the 4 walls" type of VoIP services that do not connect to the outside world and are solely to be used from employee to employee communications.


[edit] Security
Many consumer VoIP solutions do not support encryption yet, although having a secure phone is much easier to implement with VoIP than traditional phone lines. As a result, it is relatively easy to eavesdrop on VoIP calls and even change their content.[13] A hacker with a packet sniffer could intercept your VoIP calls if you are not on a secure VLAN. This security vulnerability could lead to Denial of Service attacks to you and anyone on your network. The DoS would devastate your phone network by creating a continuing busy signal and forced disconnects. Viper Lab predicts VoIP attacks against service providers will escalate since unlicensed mobile access technology becomes more widely deployed to allow calls to switch from cell networks to VoIP networks, Viper Labs warns that “service providers are, for the first time, allowing subscribers to have direct access to mobile core networks over IP, making it easier to spoof identities and use illegal accounts to launch a variety of attacks.[16] There is no such thing as a 100% secure solution to network security. The implementation of voice over internet protocol just adds to that complexity, by giving hackers another means to access your system. Customers can secure their network by limiting access to the virtual local area network, thus hiding their voice data network from the users. If the customer maintains a secure and properly configured gateway, you can keep most of the hackers out.There are several open source solutions that facilitate sniffing of VoIP conversations. A modicum of security is afforded due to patented audio codecs that are not easily available for open source applications, however such security through obscurity has not proven effective in the long run in other fields. Some vendors also use compression to make eavesdropping more difficult. However, real security requires encryption and cryptographic authentication which are not widely available at a consumer level. The existing secure standard SRTP and the new ZRTP protocol is available on Analog Telephone Adapters(ATAs) as well as various softphones. It is possible to use IPsec to secure P2P VoIP by using opportunistic encryption. Skype does not use SRTP, but uses encryption which is transparent to the Skype provider.

The Voice VPN solution provides secure voice for enterprise VoIP networks by applying IPSec encryption to the digitized voice stream.

No comments: