R.I.P. RASPI 2: How to install G729 Codec

Juan Quiroga

New Member
Joined
Mar 29, 2014
Messages
2
Reaction score
0
I've installed Incredible PBX in RPI2 and it's working so well, but I've been unable to add G729 codec. I did:

cd /usr/lib/asterisk/modules
wget http://asterisk.hosting.lv/bin/codec_g729-ast110-gcc4-glibc-x86_64-core2.so
mv codec_g729-ast110-gcc4-glibc-x86_64-core2.so codec_g729.so
amportal restart

However the G729 is not installed. I checked with:

raspbx*CLI> core show translation

I also tried with other binaries

Any help is appreciated.
 

randy7376

Defnyddiwr Gweithredol
Joined
Sep 29, 2010
Messages
865
Reaction score
144
Juan Quiroga

The module you're attempting to use is not going to work as it's the wrong platform. The Raspberry Pi 2 uses an ARM processor. It appears you're trying to use a module for x86_64. Run the 'file' command against what you downloaded and you should see this (that's what I did):

Code:
codec_g729-ast110-gcc4-glibc-x86_64-core2.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=55506177eb7f4eb8e080a8b1b6849d657b42d92c, stripped

I've no idea if there is even a G.729 codec available on the Pi
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,201
Reaction score
5,219
Digium is the exclusive distributor of G.729 licenses for Asterisk. To the best of my knowledge, they do not have a version of the codec for the ARM platform.
 

dramenard

New Member
Joined
Feb 15, 2014
Messages
10
Reaction score
1
You should try the bcg729 route from belledone communicatons, with advices from https://smallhacks.wordpress.com/2014/01/13/using-asterisk-g-729-with-asterisk-on-raspberry-pi-or-other-arm-device/ and http://asterisk.hosting.lv/
I am presently using g729 on ARM (Hardkernel Odroid U3 and XU+E) with incredible PBX installed on Ubuntu 14.04.

odroid-desktop*CLI> core show translation recalc 10
Recalculating Codec Translation (number of sample seconds: 10)

Translation times between formats (in microseconds) for one second of data
Source Format (Rows) Destination Format (Columns)


Results are not that much of highest improvement performance wise, but at least all my phones confirm using g729. I think the future is almost here. I have not yet compiled g729 on Raspberry Pi.

Thanks

dramenard
 

Attachments

  • Screenshot from 2015-10-11 22:22:29.png
    Screenshot from 2015-10-11 22:22:29.png
    105.8 KB · Views: 12

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,201
Reaction score
5,219
FYI: Not legal in the U.S. and many other countries!
 

dramenard

New Member
Joined
Feb 15, 2014
Messages
10
Reaction score
1
Yeah, I know, this is unfortunate. I think it's the same in Canada...
I'm still using it in testing environments and at home.
Anyone knowing where we can find licensed g729 ARM on retail market? I had a discussion with CodecPro's CEO from Montreal, where he says selling such for developpers.

Thanks
 

Members online

Forum statistics

Threads
25,810
Messages
167,754
Members
19,240
Latest member
nikko
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top