How to install G.729 and G.723 open source codecs on Elastix

Written by admin on November 22, 2014. Posted in Asterisk, Elastix

Please note that this tutorial is for education purposes only. If you want to use the codecs you should consider paying royalties to the creators of the codecs.

Precompiled codec modules can be found here: http://asterisk.hosting.lv  choose the one that is for your system architecture.

To find the details of your server architecture do the following

# uname -a

# cat /proc/cpuinfo

Use the information to select the codec suitable for your server.

Navigate to the modules folder

#  cd /usr/lib/asterisk/modules

or  if using 64 bit centos

# cd /usr/lib64/asterisk/modules

Download the codecs e.g

# wget http://asterisk.hosting.lv/bin/codec_g723-ast18-gcc4-glibc-pentium4.so

# wget http://asterisk.hosting.lv/bin/codec_g729-ast18-gcc4-glibc-pentium4.so

# /etc/init.d/asterisk restart

# asterisk -r

#CLI> core show translation

You should now see the codecs populated.