Difference between revisions of "Speex codec install"

From Kolmisoft Wiki
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 22: Line 22:


  ./configure
  ./configure
make menuconfig ->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!

Latest revision as of 09:21, 6 September 2016

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
make menuconfig ->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!