2016年3月4日金曜日

[RaspberryPi]Asteriskを使う(2)G729インストール編


音声コーデックG729をインストールする。


参考にしたサイトは以下のところです。
https://smallhacks.wordpress.com/2014/01/13/using-asterisk-g-729-with-asterisk-on-raspberry-pi-or-other-arm-device/
http://www.adeleda.com/compiling-g729-codecs-for-arm-on-raspberry-pi-b-with-bcg729-en.html
https://disqus.com/home/discussion/adeleda/compiling_g729_codecs_for_arm_on_raspberry_pi_b_with_bcg729/


それらをまとめて一発でインストールできるようにした手順は以下の通り。


sudo wget http://download-mirror.savannah.gnu.org/releases/linphone/plugins/sources/bcg729-1.0.1.tar.gz
sudo ./configure --libdir=/lib
sudo make
sudo make install

sudo wget http://asterisk.hosting.lv/src/asterisk-g72x-1.3.tar.bz2
sudo bzip2 -dc asterisk-g72x-1.3.tar.bz2 | sudo tar xvf -
sudo apt-get install autoconf automake libtool autoconf-doc libtool-doc
cd asterisk-g72x-1.3
sudo ./autogen.sh
sudo ./configure --with-bcg729 --with-asterisk-includes=/usr/include --with-asterisk130
sudo make
sudo make install




最後は動作確認
asterisk -vvvvr
# core restart gracefully

これでG729の項目が表示されていればOK。

0 件のコメント:

Androider