参考サイトhttps://github.com/traud/asterisk-opus/tree/asterisk-13.7
cd /usr/src/
wget downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz
tar zxf ./asterisk*
cd ./asterisk*
sudo apt-get --assume-yes install build-essential autoconf libssl-dev libncurses-dev libnewt-dev libxml2-dev libsqlite3-dev uuid-dev libjansson-dev libblocksruntime-dev xmlstarlet
apt-get --assume-yes install libopusfile-dev
wget github.com/traud/asterisk-opus/archive/asterisk-13.7.tar.gz
tar zxf asterisk-13.7.tar.gz
cp --verbose ./asterisk-opus*/include/asterisk/* ./include/asterisk
cp --verbose ./asterisk-opus*/codecs/* ./codecs
cp --verbose ./asterisk-opus*/res/* ./res
cp --verbose ./asterisk-opus*/formats/* ./formats
patch -p1 <./asterisk-opus*/asterisk.patch
./bootstrap.sh
./configure
make menuselect.makeopts
./menuselect/menuselect --enable-category MENUSELECT_CORE_SOUNDS
make menuselect
ここでopusにチェックが入っているか確認する
make
make install
/usr/lib/asterisk/modules/codec_opus_open_source.so これをコピーして使う
コメント