Showing posts with label VoIP voice Quality Problems. Show all posts
Showing posts with label VoIP voice Quality Problems. Show all posts

Monday, November 21, 2011

How to Configure Quality of Service (QoS) On Your VoIP Applications



Voice over Internet Protocol (VoIP) is rapidly replacing landlines for delivering phone calls to homes and businesses. Common residential home VoIP providers include Vonage, Skype and now Google Voice. Businesses are replacing their now antiquated digital systems with providers delivering services called Hosted PBX, Hosted VoIP, IP PBX, Virtual PBX and many more. If you have plans to implement or have already implemented VoIP, you should review your network for Quality of Service (QoS) prioritization.

VoIP voice quality problems can have many causes. Missing or inadequate voice prioritization or QoS is a primary source of VoIP problems. This article provides some background on where QoS needs to be enforced in the network and gives an explanation on what needs to be done.

QoS provides priority to VoIP packets at network choke points. The most common network choke point, for most homes and businesses, is where the data traffic transitions from the Local Area Network (LAN) to the Internet. The LAN can be running at speeds of 10Mb to 100Mb (million bits per second) or more. DSL and cable Internet services may have speeds out to the Internet as low as 256Kb (thousand bits per second). In essence, the data is transitioning from a 10 lane superhighway to a 1 lane road. As VoIP is very sensitive to delays, it must not wait for its turn to enter the 1 lane road, your Internet connection.

QoS is put into effect by a router that examines each packet and ships specific ones to the head of the line. QoS can be accomplished through Virtual Local Area Networks (VLANs) or Differentiated Service Code Point (DSCP) inside the Type of Service field for IPv4 or Traffic Class Octet in IPv6. For those familiar with the 7 layers of the network, VLAN operates in layer 2 and DSCP is layer 3.

VLAN

A VLAN is a virtual subnet that creates smaller broadcast domains within the LAN to ensure efficient use of bandwidth. For example, your VoIP telephones can be grouped together in one VLAN and your computers into another. Separate voice and data VLANs can protect VoIP traffic from service disruptions caused by virus or worm activity because Ethernet switches may not bridge IP traffic between VLANs.

The data VLAN carrying general traffic to the Internet is given the lowest priority. The voice VLAN is given the highest priority.

DSCP

DSCP relies on packets being classified and marked as belonging to a specific class. DSCP aware routers implement Per Hop Behaviors (PHBs), which implement packet forwarding mechanisms with each class of traffic. DSCP is the primary protocol routers use to provide different levels of service.

Although a network can implement up to 64 different classes of traffic, certain encodings in the DSCP field are recommended. Most networks use the commonly defined PHBs of default, Expedited Forwarding (EF), Assured Forwarding (AF) and Class Selector. The EF PHB is for applications that require low delay, low jitter and low packet loss which makes it suitable for VoIP, video and other realtime services.

The primary disadvantage of DSCP is any application can mark the EF bit and compete with your network's mission critical traffic. For example, your company may use a Virtual PBX instead of a traditional telephone system. Your calls to the Public Switched Telephone Network must transverse the Internet with low delay, jitter and packet loss. A router between the LAN and Internet gives packets marked with EF priority out to the Internet. Employees within your company may use personal Skype, Google Voice or other video services which may mark the EF bit as well and compete with your mission critical VoIP traffic. This problem is solved by certain routers that can inspect each packet and only keep the EF bit set for packets destined to specific IP addresses.

Although more difficult to implement, VLANs can provide superior voice prioritization if your computers and VoIP telephones are different devices. VLANs will prioritize all traffic within the subnet including call signaling. DSCP is easier to implement but is less accurate. However, smaller networks such as small businesses and homes, installing a router with DSCP traffic management is enough.

Inadequate voice prioritization is only one source of VoIP problems. Please read "Top 7 Common Causes of VoIP voice Quality Problems" to learn about other sources of trouble. Visit my website to learn how Hosted PBX from Hosted VoIP providers can help your business. You can contact my knowledgeable sales engineers at 866-242-6161.




Tuesday, November 8, 2011

How to Use a VLAN For Awesome VoIP Packet Prioritization



As use of Voice over Internet Protocol (VoIP) continues to grow at a frenetic pace, new users are frequently surprised by the frequency of problems. Unless the user has more bandwidth than his needs could ever consume, users of Vonage, Skype, Google Voice, as well as users of business-type services like Hosted PBX, Virtual PBX and Hosted VoIP will experience trouble. Experienced and successful VoIP users have learned that with proper planning and care, VoIP does live up to its hype.

Voice prioritization is one of many areas that require a network administrator's attention. Voice prioritization can be handled by the Differentiated Service Code Point (DSCP) field in the network's packets or by segmenting VoIP equipment into a separate VLAN. This article discusses the set-up of VLANs for successful VoIP transmission.

VLANs have several advantages over using only the DSCP field, although they are somewhat more difficult to construct. They can effectively prioritize all of the mission critical VoIP traffic including call signaling. They will also exclude packets generated on computers that use the Expedited Forward (EF) Per Hop Behavior (PHB) of the DSCP field that may compete with mission critical VoIP. Additional advantages include the reduction of broadcast network traffic as well as higher security as other computers in other VLANs will not be able to monitor phone calls.

The network needs a managed Ethernet switch and an Internet router capable of manipulating the DSCP field to successfully implement a VLAN for voice prioritization. In addition, the computer and VoIP endpoint cannot share an IP address which means no softphones. The computer can use the small Ethernet switch on the back of most IP Telephones and share a single Ethernet cable back to the managed switch.

In setting up the VLAN, all computers and non-telephony devices are programmed as members of the default data VLAN. All VoIP telephones should be members of the voice VLAN.

The router is on the edge between the Local Area Network (LAN) and the Internet. Its LAN interface does know which packets are in which VLAN but its Wide Area Network (WAN) interface to the Internet does not. Thus, the edge router must set to 'yes' the EF bits of the DSCP field for all packets in the voice VLAN. It sets all the bits of the DSCP field to 'no' for all traffic in the default or data VLAN.

The edge router's Quality of Service (QoS) capabilities should be enabled for traffic going out to the Internet on its WAN interface. Packets are sent to it with the EF field set to 'yes' for only those that were originally in the voice VLAN. The QoS settings recognize the EF field and prioritizes the voice packets out to the Internet.

For successful implementation of business VoIP services like Hosted PBX and Hosted VoIP, prioritization of voice packets out to the Internet is crucial. Of the two methods for establishing voice priority, VLANs require some extra hardware (managed Ethernet Switches) and a extra programming. However, they can do a superior job by including call signaling in the prioritization queues and excluding any non-mission critical traffic.

Voice prioritization is only one of many areas that require attention. For more information, read "Top 7 Common Causes of VoIP voice Quality Problems." Visit my website to learn how Hosted PBX and Hosted VoIP providers can help your business. You can contact my knowledgeable sales engineers at 866-242-6161.