Tech

G726: The Best Things in Life Are Free

Published on:

November 21, 2013

Absent for years, the G.726 codec has been reintroduced in version 5.1.3 of our 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 quite favorable for a PBX: 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 the PBX potentially has to run many calls with that codec, in contrast with 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 it 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's only the voice that's left over, and other things like drums and trumpets don’t make it. Because the G.726 model is quite simple, it doesn't really differentiate between voice and music.

G.726 is widely deployed in DECT digital cordless telephones, but in the VoIP world it's available in many devices. Quick research shows at least snom, Yealink, Linksys SPA, and also Grandstream support it.

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

Derniers articles

Voir tous

Building Intelligent Voice Response Systems with Vodia's JavaScript IVR

JavaScript IVR transforms the way businesses handle incoming calls by enabling fully customizable, intelligent phone menu systems. Unlike static IVR setups with limited, pre-defined options, JavaScript IVR allows you to create dynamic call flows that adapt in real time based on caller input, business data, or even external API integrations. This means you can route calls more efficiently, automate complex processes, and offer highly personalized experiences to your customers. Whether you want to check customer records before transferring a call, adjust menu options based on time of day, or integrate with CRM systems for instant data access, JavaScript IVR gives you the flexibility and control to make it happen - all while improving efficiency and enhancing caller satisfaction.

August 11, 2025

Get The Support You Need Easily Through The Vodia Help Center On Jira

Vodia support is now easier to access through the Vodia Help Center on Jira, giving partners and customers a centralized platform to submit technical support tickets, ask sales or licensing questions, and suggest new features. With a valid license key, users can open detailed requests and track their status in one place. The portal also brings together Vodia documentation, the PBX API, and the Vodia forum, making it the go-to resource for everything Vodia. Whether you're troubleshooting, planning an upgrade, or just need guidance, the Help Center is designed to streamline your experience and connect you with the right support faster.

August 7, 2025

Vodia Attends ChannelCon 2025 in Nashville

At ChannelCon 2025 in Nashville, Vodia Sales Engineer Eric Altman engaged with MSPs and IT professionals to explore how AI is shaping the future of managed services. He emphasized that ChannelCon remains a valuable space for building strong vendor-partner relationships, especially as AI continues to dominate industry conversations. Altman noted how Vodia is helping MSPs unlock greater flexibility by combining powerful PBX features with AI-driven capabilities like dynamic call analytics, customized call flows, and automated performance reporting. He also highlighted Vodia’s recent launch of prepaid cloud instances on AWS, DigitalOcean, and Microsoft Azure, designed to streamline deployment for MSPs without infrastructure or licensing delays.

August 5, 2025