Tech

WLAN and VoIP: What You Need to Know

Published on:

October 10, 2024

As businesses increasingly adopt Wireless Local Area Networks (WLAN), understanding its impact on Voice over IP (VoIP) is essential. While WLAN offers flexibility and mobility, it can lead to call quality issues due to packet loss and bursts during access point switching. To combat these challenges, organizations can utilize robust codecs like OPUS which are designed to handle packet loss effectively and employ Session Border Controllers (SBCs) to enhance jitter buffers. By incorporating these solutions, companies can ensure a more reliable VoIP experience that meets the demands of modern workplaces, allowing seamless communication without interruptions.

More and more businesses are using WLAN (Wireless Local Area Network) for their networks, and the advantages are quite obvious. WLAN allows devices to connect wirelessly, offering mobility and flexibility without the need for extensive cabling, aside from access points. Users today are much more mobile, and WLAN provides the freedom to move while staying connected. Multicell WLAN, which uses multiple access points to ensure seamless coverage over larger areas, is widely available and provides plenty of bandwidth for today's applications. In shared office spaces WLAN is often the only practical solution, allowing users to work efficiently, as just about any application works seamlessly with WLAN.

WLAN is also suitable for voice calls within these apps. For example, when a WhatsApp user calls another WhatsApp user, WLAN usually isn’t a problem. However, challenges arise when standard VoIP equipment is deployed.  

The Problem?

Several WLAN behaviors present challenges for VoIP calls. The first problem in a multicell network is that clients are constantly searching for a better signal. When a client decides to switch to another access point, it essentially holds back all the packets until the switch is completed, then it sends these packets in one burst. Depending on the configuration of the WLAN, this process can take several 100 ms, resulting in 20 or more RTP (Real-time Transport Protocol) packets arriving in bulk after a long time with no packets. RTP packets are used to deliver audio and video over IP networks, so this burst transmission can severely impact the quality of a VoIP call. 

Another problem is that WLAN tends to lose more packets than LAN. RTP uses UDP (User Datagram Protocol), which is a protocol designed for speed, but it doesn’t attempt to resend a packet when it’s lost. These packet losses often also occur in bursts, meaning multiple neighboring packets are lost together. This makes it increasingly difficult to reconstruct the content on the receiving end.

Most VoIP equipment has relatively short jitter buffers: devices want to keep the round trip delay short so the two participants in the conversation aren’t interrupting each other. While this approach works great for regular VoIP calls, it becomes a burden in WLAN environments because those bursts easily overwhelm the jitter buffer of most VoIP equipment. This leads to stuttering audio and can degrade the conversation quality to the point where communication becomes nearly impossible. 

Even when using applications like Microsoft Teams with standard VoIP equipment, users face the same problem. When calling from a laptop connected to a WLAN, the network creates the same kind of bursts with which other applications must contend. While calls from one Teams user to another Teams user can be managed more effectively by the large jitter buffers in Teams, most VoIP equipment will struggle to handle these bursts.

This doesn’t only affect VoIP devices. Most SIP trunks have the same issue, simply because they can’t know at what kind of endpoint the call ultimately terminates. This means, when calling from a WLAN device into a PSTN number, the quality of the call - from a WLAN network with large bursts - will be rather low. 

This creates frustration for users and administrators, since calls within the apps seem to be working fine.

The Solution

Fortunately, there are a few strategies to resolve these issues.  

The first step is to use codecs that are more robust against packet loss. OPUS is an audio codec designed for interactive real-time applications, and has become mainstream for many devices because it can handle packet loss quite well. Even when the VoIP equipment isn’t supporting OPUS, transcoding comes to the rescue and converts the audio stream into the right format. The loss in audio quality is usually negligible, compared to the quality with an older codec. While this approach addresses lost packets, it doesn’t fully resolve the problem of network packet bursts. The Vodia SBC supports OPUS and, by default, prefers it with WebRTC and apps.

The second step is to add a special network filter in the SBC (Session Border Controller) between WLAN devices and VoIP equipment, which dramatically increases the available jitter buffer for the conversation. Although this may introduce a longer round-trip delay, which can make conversations feel less immediate, it at least ensures that the audio is comprehensible. Most users are so used to it from their apps, so the number of complaints about this is quite low. Only VoIP experts would notice!

But how long should the burst jitter buffer be? One way lengthening the buffer is with static provisioning of a minimum jitter buffer length. At the beginning of the call, the SBC will hold back packets until the jitter buffer has reached a threshold value; after the threshold has been reached, packet playout can begin, significantly reducing the risk of running out of packets, even when there are bursts from the WLAN side. Although this may ensure that the audio is comprehensible, it will also add to the round-trip delay for calls that would otherwise sound fine. 

Alternatively, when using an adaptive filter, the jitter buffer only kicks in when a burst is detected during the call. While this leads to a gap in the conversation, it generally keeps round trip delay low and maintains higher call quality. Some apps actually try to learn in environments wherein they should start with a large jitter buffer. When you receive a prompt asking for call quality feedback after a conversation, that information may be used to set up the jitter buffer for future calls from the same IP address.

The SBC in the Vodia PBX is designed to detect bursts from WebRTC calls and, by default, inserts a jitter buffer with 1000 ms. This configuration works well in most cases, and administrators won’t have to worry about problems with the WLAN or having to explicitly program IP addresses to trigger the filtering.

As more and more companies adopt multicell WLAN with VoIP, it's become essential to have a smart SBC involved that takes care of transcoding and burst filtering. Ideally, system administrators aren't aware of these problems, and users can enjoy the same kind of experience with VoIP calls as they do with their mobile apps.

If you’re looking for the best cloud phone system, one that integrates seamlessly with your WLAN, look no further than the industry-standard Vodia PBX. For more information, contact us at sales@vodia.com or call +1 (617) 861-3490.

About Vodia Networks

Vodia Networks, Inc. is a pioneering provider of B2B Cloud Communications Solutions catering to enterprises, contact centers and service providers. Vodia's PBX software boasts an extensive suite of business telephony features for on-premise and cloud-based systems and operates seamlessly across Windows, Linux or Mac platforms. Fully compliant with SIP industry standards, the Vodia phone system integrates effortlessly with a wide range of SIP-based devices and trunking providers, granting ultimate freedom in telephony. Vodia’s multi-tenancy platforms are compatible with an unprecedented number of technologies, including desk phones, softphones and APIs, for myriad third-party software and CRM systems. Our mission is to empower our partners and end-users with the world's best cloud PBX and personalized support to ensure their success at every turn. Visit Vodia on LinkedIn, X and YouTube.

Latest Articles

View All

The Vodia On-Premise PBX: A Solution for Modern Communication

The Vodia On-Premise PBX (Private Branch Exchange) is a versatile communication solution that enables businesses to manage calls efficiently within their own network. It supports various operating systems and minimizes resource use while offering features like conferencing, instant messaging, and integration with mobile and VoIP devices. This system emphasizes data privacy, allowing companies to maintain control over their information, and provides customizable options for enhanced productivity. With its robust architecture, the Vodia PBX ensures reliability and easy backups, making it an excellent choice for businesses aiming to modernize their communication infrastructure while reducing long-term costs.

October 31, 2024

Australians Now Have “The Right to Disconnect”

Australia recently introduced a “right to disconnect” law allowing employees at larger companies to avoid work communications outside of set hours. Employees are now protected from having to respond to after-hours calls and emails, a rule which will extend to small and medium-sized businesses in 2025. Vodia Networks has supported work-life separation since launching its multi-tenant PBX system over a decade ago. Vodia’s app includes features such as Do-Not-Disturb (DND) modes and service flags, allowing employees to manage after-hours calls and redirect communications to different offices or voicemail as needed. These capabilities support productivity without compromising employee balance.

October 25, 2024

How Vodia Helps Hotels Not Disturb Their Guests

Vodia’s cloud PBX system enhances the Do-Not-Disturb (DND) function for hotels, allowing guests to manage their privacy through buttons in the room or on the phone. The system syncs with PMS for seamless functionality, enabling hotel operators to manually override DND when guests struggle to disable it. For critical situations, like room service follow-ups, the system allows specific extensions to bypass DND, ensuring guests are reachable when needed. VIP guest management features, guest-to-guest call restrictions and automatic resets upon checkout ensure privacy, security, and convenience, improving the guest experience while maintaining operational efficiency.

October 22, 2024