Incredible PBX 16-15 g729 - how to enable?

markd89

Member
Joined
Sep 3, 2013
Messages
73
Reaction score
3
On my old Purple system, I paid for some g729 licenses. This was many years ago. I also bought one for CsipSimple. I still have more licenses than people ;-)

I'm now setting up a new 16-15 server and would like to have the option to run g729. I was under the impression that the patents for g729 had expired and it was freely useable. If it's not, I would be OK to move licenses from my old server or buy new ones if that's not doable.

Currently, when I try to use g729, I see errors like: "channel.c:5589 set_format: Unable to find a codec translation path: (gsm|g722|ulaw) -> (g729)"
core show codecs shows g729
in /usr/lib/asterisk/modules, I see codec_g729a.manifest.xml and codec_g729a.so

core show translation does not list g729

g729 show licenses
0/0 encoders/decoders of 0 licensed channels are currently in use

Side note https://superuser.com/questions/635810/which-one-voip-sip-audio-codec-should-i-choose-to-high-quality-calls#635815 says that Opus outperforms on narrowband and wideband connections and I can use that. I'd still like to have the option of g729.

Thoughts?

Thanks,
Mark
 

dallas

Active Member
Joined
Oct 21, 2007
Messages
234
Reaction score
36
Location
Sydney, Australia
Yes the g729 patents have expired. However... Sangoma still require you to purchase a license to run their version of g729 on Asterisk.
You can compile g729 using bcg729 and it works fine. I've just done it for asterisk 16 on Incredible 16-15.1.5 on Raspberry Pi.

There are plenty of instructions on the net. The latest bcg729 is here http://download-mirror.savannah.gnu.org/releases/linphone/plugins/sources/bcg729-1.0.2.tar.gz
and the latest asterisk source is here http://asterisk.hosting.lv/src/asterisk-g72x-1.4.3.tar.bz2
 
Last edited:
  • Like
Reactions: markd89

markd89

Member
Joined
Sep 3, 2013
Messages
73
Reaction score
3
Thanks much!

I found g729 binaries here: http://asterisk.hosting.lv/ which seem to work. There's also g723.1. The instructions there worked, with the addition that the downloaded .so must be chmod +x

The recompiling, I'm sure, is the best way to go. I'd prefer not to use binaries from unknown sources but I didn't find an idiot-proof how-to on recompiling.
 

dallas

Active Member
Joined
Oct 21, 2007
Messages
234
Reaction score
36
Location
Sydney, Australia
Thanks much!

I found g729 binaries here: http://asterisk.hosting.lv/ which seem to work. There's also g723.1. The instructions there worked, with the addition that the downloaded .so must be chmod +x

The recompiling, I'm sure, is the best way to go. I'd prefer not to use binaries from unknown sources but I didn't find an idiot-proof how-to on recompiling.
Those binaries are only for Intel architecture. Other architectures have to be compiled. I would use the binaries on Intel hardware.
 
  • Like
Reactions: markd89

Members online

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,560
Messages
138,866
Members
14,669
Latest member
cleron