HOWTO g729 Manual Install PBXware

From Bicom Systems Wiki

In order to manually install g729, please follow these steps:


Log in to the system shell as a root user.

Go to /opt/pbxware/pw/usr/bin and create symbolic links:

 cd /opt/pbxware/pw/usr/bin
 ln -s ../../bin/cat more
 ln -s ../../bin/cat less

Navigate to the Asterisk modules directory by executing command:

 cd /opt/pbxware/pw/usr/lib/asterisk/modules/

To download G729 binary please execute commands corresponding to your PBXware version


PBXware 5.x


Download g729 binary:

wget http://asterisk.hosting.lv/bin/codec_g729-ast130-gcc4-glibc2.2-x86_64-core2-sse4.so

Rename downloaded file to codec_g729a.so

mv codec_g729-ast130-gcc4-glibc2.2-x86_64-core2-sse4.so codec_g729a.so


PBXware 6.x


Download g729 binary:

wget http://asterisk.hosting.lv/bin/codec_g729-ast160-gcc4-glibc-x86_64-pentium4.so

Rename downloaded file to codec_g729a.so

mv codec_g729-ast160-gcc4-glibc-x86_64-pentium4.so codec_g729a.so


To change the file ownership, run the following commands:

 chmod 755 codec_g729.so
 chown 555:555 codec_g729.so


Execute this command from PBXware shell, to load G729 codec, without entering Asterisk CLI:


asterisk -rx 'module load codec_g729a.so'


To check if codec was loaded correctly execute these commands in PBXware shell, without entering Asterisk CLI:


asterisk -rx 'core show translation' | grep g729


asterisk -rx 'core show codecs'