Codec g729 installation guide

A simple guide to install the g729 codec

Installation script (only for Intel architecture)

  1. download this script into the folder /root/bin

  2. assign permissions 755

    chmod 755 codec-extras.sh
  3. Run the script

     

    ./codec-extras.sh
  4. Restart Asterisk

    [root@localhost]# service asterisk restart
  5. Allow the codec g729 in the trunk settings

 

Manual Installation

 

  1. Download the g729 binary file at http://asterisk.hosting.lv/. Be careful to choose the appropriate file for your Asterisk version and CPU type, use x86_64 for 64-bit mode, therefore:
    XCALLY MOTION (asterisk 13)
    XCALLY SHUTTLE (asterisk 11)

  2. delete old codec_g729*.so files (if any) from /usr/lib/asterisk/modules directory
  3. copy new codec_g729*.so files into /usr/lib/asterisk/modules directory
  4. restart Asterisk

    [root@localhost]# service asterisk restart
  5. check the codec is loaded with 'core show translation' on Asterisk console

    [root@localhost]# asterisk -r
    localhost*CLI> core show translation
  6. Allow the codec g729 in the trunk settings