Understanding VoIP and MOS Score: Key to Optimal Performance Monitoring

Definition of VoIP (Voice-over-IP)

Voice-over-IP, or digital telephony, is a communication technology that converts voice calls in digital format so they can be forwarded across an IP network, such as the Internet. This technology is the evolution of analog telephony, which has been available since 1876 when Alexander Graham Bell invented the telephone. Since its inception, the telephone has been an important part of our everyday lives and a critical function of doing business. 

Today, telephony’s role and importance hasn’t diminished at all. The rapid deployment of VoIP technologies has driven the need for verifying and testing the quality of digital voice transmission systems. The goal of this article is to highlight key factors that organizations need to consider when designing and operating a digital telephony infrastructure. The article is organized in the following sections:

Voice-over-IP and Plain Old Telephony Systems

Digital telephony offers many advantages over traditional Plain Old Telephony Systems (POTS). Most of all, by relying on internet packet switching technology, VoIP provides higher scalability, simpler infrastructure (less cables), advanced features for multi-party calls, and all the advantages of a software-based system. On the other end, as we will see in this article, VoIP requires proper planning, monitoring, and support processes to ensure that phone systems are always available, resilient, and well performing.

VoIP Architecture

In most common deployments, a VoIP architecture includes the following elements:

  • VoIP Clients: They can be hardware phones, software-based phones or applications (softphones), or mobile devices. Users rely on VoIP clients to make and receive phone calls.
  • VoIP Servers: Often known as IP PBXs (Private Branch Exchanges), these servers manage call routing, voicemail, and other telephony services.
  • Voice Gateways: They act as bridges between a VoIP network and the Public Switched Telephone Network (PSTN), converting voice data from analog to digital formats and vice versa.
  • Network Infrastructure: Composed by the routers, switches, and other networking equipment that enable the transmission of VoIP packets.
  • Codec: A software or hardware component that compresses and decompresses voice signals for transmission over data networks.
  • SIP Protocol: The Session Initiation Protocol (SIP) enables signaling and controlling multimedia communication sessions between VoIP systems.

The VoIP architecture relies on an IP network to transmit voice communication, leveraging internet protocols and broadband connections for telephony services.

VoIP Architecture

VoIP Codecs

VoIP codecs are software or hardware functions developed for representing analog signals, such as human speech, into digital format. More specifically, when we speak into a VoIP phone, the codec first encodes an audio waveform into a digital bitstream. The phone then breaks down the digital bitstream into chunks of data so it can transmit the voice packets across an IP network. Subsequently, the phone on the receiver’s side processes the VoIP packets by decoding them into the original audio waveform. As you can imagine, this process must happen very quickly and with the minimal possible delay to ensure the integrity and clarity of voice communications.

At the moment, there are several different types of VoIP codecs (G.711, G.729, …), each with their own sampling technique, quality, bandwidth requirements, etc. Each voice codec affects the quality of the voice calls it encodes. During the design phase of a voice system, it’s important to select the codec that meets the business requirements.

VoIP Codecs Reference Table

The following table briefly summarizes key characteristics of the VoIP codecs implemented by NetBeez for testing and monitoring.

Codec NamePayload Size (Bytes)Speech Payload (ms)Packets per SecondBit Rate (Kbps)
G.711160205064
G.7292020508
G.723.1-63243033.321.9
G.723.1-53203033.320.8
G.72680205055.2
G.728603033.331.5
G.722160205038.4

For each VoIP codec, the table reports:

  • Payload size: The amount of voice data, expressed in bytes, that one single packet carriers.
  • Speech payload: The speech duration, expressed in milliseconds, included within one voice packet. 
  • Packets per second: The number of packets transmitted per second. It’s possible to calculate the number of packets per second by dividing 1,000 by the speech payload.
  • Bit rate: The data rate required to transmit one second of speech across the network. Calculate the bit rate by multiplying the payload size by the packets per second.

Understanding VoIP Performance Metrics

There are three key performance metrics that have an impact on VoIP calls: latency, jitter, and. packet loss. When monitoring VoIP performance, it’s important to know what impacts these metrics, and what are acceptable values for each one of these metrics. In fact, these metrics directly influence the user experience, making it imperative for network administrators and service providers to optimize these parameters for seamless and reliable voice communication over the internet. Let’s review them all in detail.

Latency

Latency refers to the time that it takes for data packets to travel from the source to the destination, expressed in milliseconds (ms). This key performance indicator is one of the most critical factors in network performance analysis. There are various factors that impact latency, including the physical distance between the sender and receiver, the number of routers and switches the data packets have to traverse, and the processing time at each network node. As we’ll see in the next sections, the Quality of Service configuration on network equipment plays a crucial role in it. When latency is too high, conversations between two parties tend to lag, and participants tend to talk over each other because of this excessive lag introduced by the latency. A tool like One-Way Ping (OWAMP) can help identify latency issues across a link. 

Jitter

Jitter is the variation of latency that causes a stream of packets sent at a regular interval to be received at an irregular interval at destination. This metric plays an important role especially for real-time applications such as voice and video calls. When the jitter value is higher than a specific value, it causes degradation of voice calls such as choppy conversations or metallic voice caused by the codec. Iperf is a TCP and UDP based throughput testing tool. When used in UDP mode, iperf will report the jitter detected  between two endpoints.

Packet Loss

Packet loss is calculated as the percentage of packets that are corrupted or not received at all at destination. This key performance metric is a good measure of network quality that reflects its reliability to deliver packets to destination. Packet loss is caused by malformed packets being received by the destination, or worse, packets being dropped. It may happen that, along the way between the source and the destination, one or more intermediate routers discard packets due to congested queues. This occurs when routers are receiving more traffic that they can actually transmit (oversubscription). Packet loss cause conversations to sound as fragmented and distorted. There are different methods available to test for packet loss during the troubleshooting of VoIP degradation issues.

Importance of Jitter, Latency, and Packet loss in Determining VoIP Quality

Network performance metrics such as jitter, latency, and packet loss determine the quality of VoIP calls. Although acceptable values for these metrics vary based on the VoIP codec used, generally they all need to fall within certain ranges to ensure a good VoIP call experience.

  • Latency: Latency values should be below 150 milliseconds (ms) for one-way communication (one person speaking and the other listening). A round-trip latency (total time for a signal to travel from the sender to the receiver and back) of 150 ms or lower is generally acceptable for VoIP calls. Higher latencies can cause noticeable delays and affect the conversational flow.
  • Jitter: Jitter should be kept below 30 ms. Jitter within this range ensures that the variation in packet arrival times is minimal, leading to smooth voice playback. VoIP systems often use jitter buffers to mitigate the effects of jitter, but excessive jitter can still result in audio disruptions if not properly managed.
  • Packet Loss: Ideally, packet loss should be kept at 3% or lower. This means that only 3 out of 100 packets are lost during transmission. Packet loss can cause voice distortion, choppiness, or gaps in the conversation. VoIP protocols, such as Real-time Transport Protocol (RTP), include mechanisms to handle lost packets, but minimizing packet loss is crucial for optimal call quality.

Network administrators should monitor these parameters regularly and take appropriate measures, such as Quality of Service (QoS) configurations, bandwidth management, and network optimizations, to maintain VoIP quality within acceptable limits for their users.

NetBeez offers an easy solution for monitoring VoIP performance for both on-premises and cloud environments. If you want to learn more about it, request a product tour.

Mean Opinion Score (MOS) Explained

The Mean Opinion Score (MOS) is a quality indicator for analog and digital voice and video communications, as well as audiovisual systems. MOS is an easy to understand rating that ranges from a bad experience with a value of 1 to an excellent one with a value of 5. Network and voice engineers use this score to evaluate, monitor, and improve the end-user experience of a digital telephony infrastructure. 

How to Calculate MOS

There are two main ways to calculate MOS: subjective and objective. The ITU-T P.800 recommendation describes a “subjective” method to calculate MOS. In this implementation, a group of users individually judge the quality of speech by simply listening, in a quiet room, to a voice call. Each listener would then express an opinion with a score from 1 (poor quality) to 5 (excellent quality). The average of their score represents the overall listening quality for the transmission system under evaluation. The following table summarizes the MOS scale and its significance in assessing voice quality.

MOSQualityCall Satisfaction
5ExcellentVery satisfied
4GoodSatisfied
3FairSome users dissatisfied
2PoorMany users dissatisfied
1BadNearly all users dissatisfied

MOS Calculation in VoIP

In digital communications, it’s preferred to use an objective method that estimates the expected MOS. Objective methods to measure MOS score easily scale, and can run continuously through network testing. The ITU-T G.107 is a standard that provides specifics for the implementation of the E-model algorithm used to estimate the MOS. The E-model algorithm relies on a “rating factor” R that converts into an objective MOS to estimate the user’s opinion. The following table summarizes the corresponding MOS value, given an R factor. As you can see, the user satisfaction and MOS ranges are slightly different from the subjective ratings.

R factorMOSUser satisfaction
90+4.34+Very satisfied
80+4.03+Satisfied
70+3.60+Some users dissatisfied
60+3.10+Many users dissatisfied
50+2.58+Nearly all users dissatisfied

What Affects MOS Score

There are three main factors that impact the MOS score in VoIP communications:

  1. VoIP codec used
  2. Network performance
  3. End-user equipment (phones)

In the following sections, we’ll briefly review the first two items given the relevance to this blog. For the end-user equipment, we recommend working with your supplier to identify the best option given the requirements.

MOS and VoIP Codecs

Each VoIP codec implements a specific sampling technique that defines the quality of the voice and corresponding MOS. The ITU-T G.107 standard assigns a nominal MOS value to each codec assuming ideal conditions of packet loss, latency, and jitter throughout the duration of the call. The following table summarizes the nominal MOS scores for some of the most commonly used VoIP codecs.

Codec NameBit Rate (Kbps)Coding MethodMOS Nominal
G.71164PCMA4.40
G.7298LD-CELP3.92
G.723.1-6321.9MP-MLQ3.95
G.723.1-5320.8ACELP3.78
G.72655.2ADPCM3.85
G.72831.5LD-CELP3.61
G.72238.4SB-ADPCM4.5

MOS and Network Performance

In a live network, network performance metrics such as latency, packet loss, and jitter, have a direct impact on the MOS value. This can be verified using an objective method such as the E-model R factor. By providing as input the real-time latency, packet loss, and jitter value, it’s possible to see how MOS varies based on network conditions. This is the basic principle for implementing real-time monitoring and alerting in a VoIP environment.

Common Causes for Poor MOS Score

Common challenges in VoIP performance include the following:

  • Bandwidth limitations – Under-provisioned circuits limit the quality of the VoIP calls going across. Since each codec has a specific bitrate, engineers should ensure that the network can handle the planned call volume.
  • Network congestion – Even when circuits are correctly provisioned for capacity, network congestion could occur, causing voice packets to be dropped. Without a Quality of Service (QoS) configuration applied to the network, all network traffic (voice and data) will be treated in the same way, causing VoIP degradation.
  • QoS configurations – QoS is a network configuration setting that gets applied to any network device that VoIP traffic traverses. Typically, IP traffic marked with the Expedited Forwarding (EF) class Misconfiguration of QoS, including incorrect traffic marking, queuing, and prioritization, can cause improper handling of VoIP traffic.

Monitoring VoIP Performance

Monitoring VoIP performance and availability offers several key benefits that are essential for maintaining high-quality voice communication over IP networks. First of all, it ensures consistent call quality by monitoring parameters such as jitter, latency, and packet loss, which are critical for clear and uninterrupted voice transmission. By identifying and addressing these issues proactively, VoIP monitoring helps in reducing call drops and improving overall user experience.

Second, it aids in bandwidth management, allowing network administrators to optimize network resources and prevent congestion, which is vital for maintaining the clarity of voice calls. Additionally, VoIP monitoring provides valuable insights into network performance, enabling timely identification and resolution of network-related issues before they escalate into major disruptions. This proactive approach not only enhances the reliability of VoIP services but also supports better service level agreement (SLA) adherence, contributing to higher customer satisfaction and trust.

Introduction to VoIP Monitoring Tools

When selecting a VoIP monitoring tool, several critical factors based on organizational requirements and usage scenarios must be considered to ensure optimal performance and service quality.

Firstly, the location of the VoIP servers, whether on-premises or in the cloud, plays a significant role in tool selection. For on-premises servers, a solution that supports both cloud-based and on-premises deployments might be necessary, especially if there’s a mix of in-office and remote users. In contrast, a cloud-only solution may suffice for entirely cloud-hosted VoIP services. This choice is also influenced by the network topology of the organization and the distribution of end-users. For instance, if a significant number of users work remotely, a monitoring solution focused on active monitoring would be more beneficial, as it can more effectively manage and troubleshoot issues that arise in varied network environments outside the corporate infrastructure.

Secondly, it’s crucial to understand the nature of the VoIP service. If the service is used for internal communication only, the monitoring requirements might be less stringent compared to when it’s used for customer-facing roles, like in contact centers. Customer-facing services demand high performance and availability, as any compromise in service quality can negatively impact the company’s reputation and customer satisfaction. In such scenarios, installing software agents on each end-user’s device might be necessary, especially for remote contact center agents. This approach allows for more granular monitoring and faster issue resolution, which is vital for maintaining the high service standards expected in customer interactions. On the other hand, for internal use or on-premises contact centers, relying on existing network monitoring capabilities of the organization might be adequate.

Active and Passive Monitoring Approaches

Active and passive monitoring represent two fundamental approaches in VoIP monitoring, each serving unique and vital roles. 

Active network monitoring is defined by its real-time testing of network infrastructure and applications. This is achieved through software agents or hardware sensors that assess network availability and performance. Such monitoring actively reports data like end-to-end reachability, latency, packet loss, jitter, and bandwidth. A key advantage of active monitoring is its ability to provide instant feedback on the network and application performance, effectively detecting problems by testing actual network routes and applications with real traffic. Active network monitoring is recommended for organizations that have many remote locations, are adopting cloud VoIP solutions, and where the users are working hybrid.

On the other hand, passive network monitoring involves the analysis and capture of actual user data or traffic flow. This approach focuses on generating aggregate traffic statistics, breaking them down by protocols and hosts. It enables network administrators to identify heavy traffic sources and diagnose performance issues between clients and servers. Passive monitoring is commonly implemented through methods such as Network TAPs, which are ideal for deep packet inspection, SPAN ports for copying entire packets, and flow-based protocols like NetFlow and IPFIX for protocol and traffic statistics. While passive monitoring does not actively test the network, it provides valuable insights into the network’s usage and behavior by observing existing traffic. Passive monitoring is a valuable option for organizations that have most of the users working on-premises and with a traditional hub-and-spoke network.

Best Practices for Monitoring VoIP and MOS

NetBeez provides a simple and effective way to monitor VoIP and MOS performance at scale. As an active network monitoring solution, NetBeez offers easy-to-deploy network agents and software clients to match the needs of organizations with a distributed workforce. In three simple steps, it’s possible to implement an active VoIP monitoring at remote branch offices, data centers, headquarters, and remote workers. You can start a free trial.

NetBeez network monitoring for MOS score and VoIP monitoring

 

Step1: Deploy network agents in private and public networks

The Network Agents are hardware (Wi-Fi or Ethernet), virtual, or docker appliances that ensure VoIP availability and performance from private and public networks’s perspective. The installation of one or more hardware or virtual appliances at each branch office, data center, and headquarters will ensure constant monitoring of latency, packet loss, jitter, and MOS at those locations. 

For organizations that need to monitor performance to a cloud-based VoIP solution, or support remote users, using cloud agents is essential. Typically, we recommended to deploy three or more cloud agents to have a comprehensive status of the VoIP resources. These agents verify from public clouds like AWS, Azure, and Google, that the VoIP service is available, well performing, and that no incidents are occurring over the Internet. The data from both private and public agents help quickly identify the status and performance of VoIP services from both internal and external networks.

Step 2: Install remote worker agents to end-users

The Remote Workers Agents monitor and test a VoIP service’s availability and performance from the perspective of the end-user. These lightweight software clients are compatible with operating systems such as Windows, Mac OS, or iGel. They provide comprehensive VoIP data, including the status of the user’s home and wireless networks, internet speed, and the performance of laptops or desktops. This method is particularly effective for quickly pinpointing the root cause of VoIP issues encountered by remote users. We recommend the installation of Remote Worker Agents for agents that work in remote contact centers. By analyzing data from both network agents and remote worker agents, IT teams gain a thorough understanding of VoIP performance. 

Step 3: Configure VoIP monitoring targets and tests

NetBeez supports different options for monitoring VoIP performance. On the user dashboard, it’s possible to configure:

  • Targets to the most common cloud-based VoIP providers (e.g. Five9, RingCentral, …)
  • Custom targets to on-premises VoIP servers (e.g. Avaya, Cisco, …)
  • Scheduled VoIP tests simulating G.711, G.729, … codecs

Once the tests are applied to network and remote worker agents, NetBeez starts collecting real-time performance data from these remote units. The data available on the dashboard provides immediate insights and proactive alerts into VoIP and MOS performance.

Case Study: VoIP Performance of Remote Contact Center Agents

A Fortune 500 insurance company tackled significant technical challenges faced by its home-based contact center agents, crucial for maintaining excellent customer experience. With the pandemic-induced shift to remote work, agents using consumer-grade internet connections experienced degraded call quality, leading to increased IT help desk calls. 

The company utilized NetBeez’s monitoring solution to diagnose and address these issues. NetBeez provided critical data on network performance, helping to pinpoint the root causes of audio problems, whether related to the software, network, or ISPs. This approach not only improved call quality but also enabled efficient long-term work-from-home arrangements, demonstrating the importance of targeted network monitoring in ensuring high-quality customer interactions in remote work settings.

Conclusion on VoIP and MOS

VoIP surpasses traditional telephony in flexibility, scalability, and advanced functionality. To ensure high-quality VoIP service, it’s necessary a thorough planning and monitoring of VoIP services. With insights into best practices for monitoring and real-world case studies, this post aims to guide network administrators and businesses in optimizing their digital telephony infrastructures for clear, reliable, and efficient communications.

decoration image

Request a demo now

Spot VPN, ISP, WiFi issues and more with Netbeez

You can share

Twitter Linkedin Facebook

Let's keep in touch

decoration image