Difference between revisions of "Speex codec install"

From Kolmisoft Wiki
Jump to navigationJump to search
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


First install speex, speex devel and speex tools:
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://www.lfarkas.org/linux/packages/centos/5/x86_64/gstreamer/speex-1.2-0.10.rc1.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://www.lfarkas.org/linux/packages/centos/5/x86_64/gstreamer/speex-devel-1.2-0.10.rc1.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:'''


  rpm -ivh http://www.lfarkas.org/linux/packages/centos/5/x86_64/gstreamer/speex-tools-1.2-0.10.rc1.x86_64.rpm
  yum install speex.x86_64 speex-devel.x86_64 speex-tools.x86_64


Afterwards recompile asterisk, locate your Asterisk source directory in:
Afterwards recompile asterisk, locate your Asterisk source directory in:
Line 16: 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!