0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

AsteriskオープンソースPBX用 G.729ビルド

Posted at

当方環境 Ubuntu 18.04.5 / Asterisk 13.18.3

#Asterisk 用の g729 codecs ビルド メモ

私の環境で、足らなかったもの

sudo apt install asterisk-dev
sudo apt install autoconf 
sudo apt install libtool

bcg729 ライブラリのビルド

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

g729 codecsのビルド

wget http://asterisk.hosting.lv/src/asterisk-g72x-1.4.3.tar.bz2
tar xjf asterisk-g72x-1.4.3.tar.bz2
cd asterisk-g72x-1.4.3
./autogen.sh
./configure --with-bcg729
make
sudo make install

sudo service  asterisk restart

core show translationで g729 が入ってくればOKです

$ sudo asterisk -vvvrT
*CLI> core show translation

sip.confにg729を追加

sip.conf
disallow=all
allow=ulaw
allow=g729

速度制限の200kbpsが安定しない格安SIM環境の通話用には良いです。
G.729ですが、上下それぞれ13kbpsのわりにはよいクオリティが得られています。
2017年に概ね特許切れのようです。

(参考)http://asterisk.hosting.lv

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?