Tech

G726: The Best Things in Life Are Free

Published on:

November 21, 2013

After years of absence, the G.726 codec has been reintroduced in version 5.1.3 of the PBX. This codec offers favorable characteristics, including a low data rate of around 56 kbit/s, which is ideal for bandwidth-limited environments. Its lower CPU overhead makes it particularly useful for PBX systems, which handle multiple calls simultaneously. While not ideal for music on hold due to its simple compression, G.726 performs better than more compressed codecs like G.729. Widely supported by devices like snom, Yealink, Linksys, and Grandstream, the PBX now dynamically handles the codec, improving compatibility and performance.

It has been ages since we have added the G.726 codec. This codec has some features that are quite favorable for a PBX: First of all it typically runs on 32 kbit/s, which translates into a data rate on the cable of 56 kbit/s if you include the overhead for the RTP and IP headers. It also has a relatively low CPU overhead, at least compared to heavyweights like OPUS or speex. You have to keep in mind that the PBX potentially have to run many calls with that codec, in contrast to endpoints that usually run only one call. Thus the CPU overhead is much more important for a PBX than for the endpoint.

G.726 is not exactly the best codec for music on hold, but at least performs better than codecs that compress voice a lot more like G.729 or G.723. This is also no big surprise if you think about it; if you take a lot of bits out of the media stream, it is only the voice that is left over and other things like drums and trumpets don’t make it. Because the G.726 model is quite simple, it does not really differentiate between voice and music.

G.726 is widely deployed in DECT digital cordless telephones. But also in the VoIP world, G726 is available in many devices. A quick research shows that at least snom, Yealink, Linksys SPA and also Grandstream support it.

Anyway, it was time to review the support for this codec also on the PBX. The IETF has originally specified a hardcoded codec type 2 for G.726, probably in anticipation that this codec would be very popular. However there were problems with the “bit-sex” representation. The ITU was using a different representation that the IETF, which lead to a quite a chaos getting this codec working between the different devices. We also did take a 2nd look and decided to drop the hardcoded codec number and instead choose a dynamic codec number. That seems to work well with most devices. Version 5.1.3 will re-introduce G.726 and we hope that those who have limited bandwidth with consider this codec again.

Latest Articles

View All

Webinar | Real-Time Media Streaming in Vodia PBX: AI, Call Transcription, and Security in V69.5.6

Join Vodia Networks on April 8 for a live, in-depth webinar on how real-time media streaming is powering the future of voice communication. Discover how Vodia PBX version 69.5.6 enables seamless AI integration, live call transcription using the Whisper API, and secure voice data handling. Hosted by Sales Engineer Eric Altman and VoIP Engineer Hamlet Collado, this session will walk you through real-world use cases, including OpenAI and Google Speech-to-Text integrations, MS Teams support, and new security features. You’ll also get a first look at Vodia’s AI roadmap and have the opportunity to ask your questions during a live Q&A.

March 28, 2025

The Vodia PBX On-Premise Whisper AI Deployment​

Whisper, OpenAI’s Automatic Speech Recognition system, delivers multilingual, noise-tolerant, and technical-language-ready transcription through a streamlined encoder-decoder architecture. With Vodia PBX’s integration, organizations can choose between using OpenAI’s service or hosting Whisper AI locally for complete data sovereignty and control. This on-premise option ensures that sensitive call data stays within your infrastructure while still benefiting from powerful transcription capabilities. To explore deployment options, see our Whisper AI on-premise setup documentation, review a self-hosted integration example, or follow our cloud-based call transcription guide.

March 27, 2025

Vodia at Enterprise Connect 2025: Embracing AI and Advancing Communications

Vodia Sales Engineer Eric Altman attended Enterprise Connect 2025 on March 18 and 19, where he connected with partners and gained insight into the future of enterprise communications. AI was the clear focus of the event, with discussions centered on agentic systems, chatbots, and generative technologies. “It was certainly the main element in the atmosphere,” Eric noted. He also shared his excitement about Vodia PBX version 69.5.6, which includes real-time AI integration with OpenAI and call transcription using the Whisper API. The event confirmed that AI is rapidly becoming a core component of modern communication platforms—and Vodia is well-positioned to lead the way.

March 26, 2025