返回列表 發帖
本帖最後由 bubblestar 於 2011-9-13 21:45 編輯

SPEEX 在compile Asterisk 之前安裝如下,Asterisk 裝好後就會有的:

# Codec Translators > codec_speex
cd /usr/src/asterisk-complete
wget http://downloads.xiph.org/releases/speex/speex-1.2rc1.tar.gz
tar xvzf speex-1.2rc1.tar.gz
cd speex-1.2rc1
./configure && make && make install

iLBC 是在make menuselect 之前加上去如下:

cd asterisk-1.8
./configure
#this is only for format MP3 - SVN required
contrib/scripts/get_mp3_source.sh
contrib/scripts/get_ilbc_source.sh
make menuselect
make && make install
make samples
make progdocs
make config
make install-logrotate

chkconfig asterisk on
service dahdi start
service asterisk start

codec_g723-ast18-gcc4-glibc-atom.so 及 codec_g729-ast18-gcc4-glibc-atom.so 可以到 http://asterisk.hosting.lv/ 下載,然後,直接把它複制到以下位置即可。

/usr/lib/asterisk/modules


接著,Restart asterisk

/etc/init.d/asterisk restar

TOP

返回列表