Difference between revisions of "Speex codec install"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 22: Line 22:


  ./configure
  ./configure
makemenuconfig ->make sure Asterisk caught speex codec


  make
  make


  makemenuconfig ->make sure Asterisk caught speex codec
  cp /usr/src/ASTERISK_SOURCE_DIR/codecs/codec_speex.so /usr/lib/asterisk/modules/


  make install
  asterisk -vrx 'module load codec_speex.so'


Congratulations you have installed Speex codec on Asterisk!
Congratulations you have installed Speex codec on Asterisk!

Revision as of 08:24, 3 September 2015

This tutorial will show you how to install Speex codec on a MOR server with CentOS 64bit:

First install speex, speex devel and speex tools:

Centos 5 case:

rpm -ivh http://dl.atrpms.net/el5-x86_64/atrpms/testing/speex-1.2-0.11.rc1.el5.x86_64.rpm

rpm -ivh http://dl.atrpms.net/el5-x86_64/atrpms/testing/speex-devel-1.2-0.11.rc1.el5.x86_64.rpm

rpm -ivh http://dl.atrpms.net/el5-x86_64/atrpms/testing/speex-tools-1.2-0.11.rc1.el5.x86_64.rpm

Centos 6 case:

yum install speex.x86_64 speex-devel.x86_64 speex-tools.x86_64

Afterwards recompile asterisk, locate your Asterisk source directory in:

cd /usr/src/ASTERISKSOURCES

Start recompiling:

./configure
makemenuconfig ->make sure Asterisk caught speex codec
make
cp /usr/src/ASTERISK_SOURCE_DIR/codecs/codec_speex.so /usr/lib/asterisk/modules/
asterisk -vrx 'module load codec_speex.so'

Congratulations you have installed Speex codec on Asterisk!