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.

Latest Articles

View All

The Vodia PBX and the OpenAI Realtime API for Healthcare

OpenAI’s Realtime API brings low-latency, multimodal voice capabilities to developers, and Vodia PBX is already harnessing its power. By enhancing IVR with backend JavaScript, Vodia enables real-time AI-driven call interactions, eliminating the need for patterns or webhooks. This integration has a significant impact on healthcare, enabling patients to book or cancel appointments, refill prescriptions, request records, and more, all without speaking to staff, and in multiple languages. This reduces wait times and frees up medical staff to focus on in-person care. With full Microsoft Teams support, the Vodia PBX and OpenAI Realtime API integration streamlines healthcare workflows, boosting efficiency and improving patient outcomes through intelligent, voice-powered automation.

April 24, 2025

How the Hospitality Industry Can Exceed Guest Expectations

As hotels prepare for the upcoming travel season, many are rethinking their communication systems to better meet modern guest expectations. Vodia CEO Dr. Christian Stredicke explains how VoIP, AI, and app-based control are key to delivering smarter, more personalized service. Guests now expect mobile-first experiences—whether for check-in, room controls, or contacting hotel staff. Vodia’s customizable communication solutions help hotels automate tasks, streamline operations, and boost guest comfort while reducing costs. With robust security and seamless integration into existing hotel management systems, Vodia enables hotels to move beyond outdated hardware and deliver the connected, high-quality experience today’s travelers demand.

April 23, 2025

Seatrade Cruise Global 2025: Communications Revolution Onboard - What Cruise Experts Need to Know

At Seatrade’s 40th anniversary, Vodia and Lufthansa Industry Solutions showcased the Vodia Maritime Communication Server and the new CruisR World App—purpose-built for next-generation cruise ships and cost-effective retrofits. Key themes at the event included AI-powered language translation, breakthrough satellite connectivity, UC platforms, and advanced emergency protocols. These innovations enable cruise lines to streamline operations, personalize guest experiences, and meet growing expectations for safety and connectivity. As the cruise industry evolves, Vodia’s solutions position communication teams to lead with smarter, more human-centric technology at sea.

April 23, 2025