Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:faq:how_to_add_g729_codec_support [2017/12/12 03:05] (current)
Line 1: Line 1:
 +====== add g729 codec support ======
 +1. download the codec so file based your CPU, the linux command is
 +for 32bit linux
 +<​code>​
 +wget http://​asterisk.hosting.lv/​bin162/​codec_g729-ast16-icc-glibc-pentium4.so
 +</​code>​
 +for 64bit linux
 +<​code>​
 +http://​asterisk.hosting.lv/​bin162/​codec_g729-ast16-icc-glibc-x86_64-pentium4.so
 +</​code>​
  
 +2. copy the .so file to asterisk lib folder
 +for 32bit linux
 +<​code>​
 +mv ./​codec_g729-ast16-icc-glibc-pentium4.so /​usr/​lib/​asterisk/​modules/​
 +</​code>​
 +
 +for 64bit linux
 +
 +<​code>​
 +mv ./​codec_g729-ast16-icc-glibc-x86_64-pentium4.so /​usr/​lib/​asterisk/​modules/​
 +</​code>​
 +or
 +<​code>​
 +mv ./​codec_g729-ast16-icc-glibc-x86_64-pentium4.so /​usr/​lib64/​asterisk/​modules/​
 +</​code>​
 +
 +3. load the codec
 +
 +for 32bit linux
 +
 +<​code>​
 +asterisk -rx "​module load codec_g729-ast16-icc-glibc-pentium4.so"​
 +</​code>​
 +
 +for 64bit linux
 +
 +
 +<​code>​
 +asterisk -rx "​module load codec_g729-ast16-icc-glibc-x86_64-pentium4.so"​
 +</​code>​
 +
 +system is supposed to give
 +
 +Loaded codec_g729-ast16-icc-glibc-pentium4.so
 +
 +or
 +
 +Loaded codec_g729-ast16-icc-glibc-x86_64-pentium4.so
 +
 +4. confirm
 +<​code>​
 +asterisk -rx "core show translation"​
 +</​code>​
 +
 +
 +if you could read number under g729 column, it means your system support g729 codec now
 +
 +5. auto-load
 +<​code>​
 +echo "load => codec_g729-ast16-icc-glibc-pentium4.so"​ >> /​etc/​asterisk/​modules.conf
 +</​code>​
 +
 +or
 +<​code>​
 +echo "load => codec_g729-ast16-icc-glibc-x86_64-pentium4.so"​ >> /​etc/​asterisk/​modules.conf
 +</​code>​
 +
 +
 +{{:​zh:​常见问题及解答:​g729.jpg?​|}}
en/faq/how_to_add_g729_codec_support.txt · Last modified: 2017/12/12 03:05 (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki