Support for G729 ?
Hi
Thank you for the awesome siprec project.
However, in our production lot negotiations happen on g729, at that time siprec throws this error
{"call_uuid":"a406db6a5dd0c63c2fdc3241006c686c_10","codec":"G729","error":"unsupported codec for PCM conversion: G729","level":"warning","message":"Failed to decode audio payload to PCM","payload_type":18,"timestamp":"2026-02-25T18:25:04.843829426+05:30"}
Do you plan to add support for the G. 729 codec ?
Thank you for your kind words, adding g729 is a bit tricky because of licensing, I am going to look into it though.
G729 is currently available under gpl licence, thats my understanding
https://github.com/IBM/g729-codec-service
https://github.com/BelledonneCommunications/bcg729
Also the official patent based licensing has expired as far my knowledge. Most debian distribution has the libbcg729 validating the license compatibility
I will get that implemented, give me a day or two.
Thank you 🙏 Will be waiting for the update.
Hi @sreeramsunkara,
Thank you so much for reporting this issue! Your detailed error log and production context were incredibly helpful in identifying and resolving the problem.
This has been fixed in commit cc25980. The changes include:
- Native G.729 decoder: Full CS-ACELP implementation supporting RTP payload type 18
- Codec aliases: Supports
G729,G.729, andG729Acodec names - G.729B support: Handles SID frames for comfort noise generation
- STT integration: G.729 is now included in the default supported codecs list
The fix has been deployed to my production server and is working correctly. G.729 calls will now be decoded and transcribed without the "unsupported codec" error.
Thanks again for helping improve SIPREC!