Base de Conhecimento

How to install Free G729 codec for asterisk - vicidial goautodial

 
Follow the below steps to install the proper G729 codec for asterisks
 
You can download the Free g729 from the below link
 
Before Downloading the codec you need to check below details
1. 32 bit or 64 bit
2. asterisk version
3. server type like: intel, amd
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Command to check 32bit or 64 bit os
uname -a 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
Command to check asterisk version
asterisk -rx "core show version"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
Command to check the server type
cat /proc/cpuinfo
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
As of writting this blog mine is  asterisk 1.8
 
Asterisk 1.8 32 bit intel machine 
 
cd /usr/src
wget http://asterisk.hosting.lv/bin/codec_g729-ast18-gcc4-glibc-pentium4.so
cp codec_g729-ast18-gcc4-glibc-pentium4.so /usr/lib/asterisk/modules/codec_g729.so
chmod  +x /usr/lib/asterisk/modules/codec_g729.so
asterisk -rc "module load codec_g729.so"
 
Asterisk 1.8 64 bit intel machine
 
cd /usr/src
wget http://asterisk.hosting.lv/bin/codec_g729-ast18-gcc4-glibc-x86_64-pentium4.so
cp codec_g729-ast18-gcc4-glibc-x86_64-pentium4.so /usr/lib64/asterisk/modules/codec_g729.so
chmod  +x /usr/lib64/asterisk/modules/codec_g729.so
asterisk -rc "module load codec_g729.so"
 
Asterisk 1.8 AMD machines
 
cd /usr/src
wget http://asterisk.hosting.lv/bin/codec_g729-ast18-gcc4-glibc-athlon-sse.so
cp codec_g729-ast18-gcc4-glibc-athlon-sse.so /usr/lib/asterisk/modules/codec_g729.so
chmod  +x /usr/lib/asterisk/modules/codec_g729.so
asterisk -rc "module load codec_g729.so"
 
Now check the whether  codec is loaded
asterisk -rx "core show translation"
 
 
output's
23 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g72
 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    - 

  • vicidial, goautodial, asterisk, codec_g729, dialer

Esta resposta foi útil?

0 Utilizadores acharam útil