Showing posts with label g729. Show all posts
Showing posts with label g729. Show all posts

Friday, July 12, 2013

Free G729 codec for asterisk, vicidial, goautodial

Installing Free g729 codec in asterisk

1. Download the appropriate codec from the below link
    http://asterisk.hosting.lv/

Check your asterisk version  --  asterisk -rx "core show version"
check whether 32bit or 64 bit ---  uname -a

For asterisk 1.4 version and 32 bit Pentium based server (like intel xeon ,p4, dualcore core2duo0
http://asterisk.hosting.lv/bin/codec_g729-ast14-gcc4-glibc-pentium4.so
For asterisk 1.4 and 64bit os (intel xeon all pentium )
http://asterisk.hosting.lv/bin/codec_g729-ast14-gcc4-glibc-x86_64-pentium4.so
For asterisk 1.4 AMD athlon machines
http://asterisk.hosting.lv/bin/codec_g729-ast14-gcc4-glibc-athlon-sse.so

in linux type
cd /usr/lib/asterisk/modules
wget http://asterisk.hosting.lv/bin/codec_g729-ast14-gcc4-glibc-pentium4.so
mv codec_g729-ast14-gcc4-glibc-pentium4.so codec_g729.so
chmod +x codec_g729.so
asterisk  -vvvvr
>module load codec_g729.so

now check whether the codec is loaded or not
>show translation
output's

g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722
     g723    -   -    -    -        -     -    -     -    -     -    -    -    -
      gsm    -   -    2    2        2     2    1     2    4     -    -    2    -
     ulaw    -   2    -    1        2     2    1     2    4     -    -    2    -
     alaw    -   2    1    -        2     2    1     2    4     -    -    2    -
 g726aal2    -   2    2    2        -     2    1     2    4     -    -    2    -
    adpcm    -   2    2    2        2     -    1     2    4     -    -    2    -
     slin    -   1    1    1        1     1    -     1    3     -    -    1    -
    lpc10    -   2    2    2        2     2    1     -    4     -    -    2    -
     g729    -   2    2    2        2     2    1     2    -     -    -    2    -