Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Установка астериска с webrtc
# Установка астериска с webrtc
sudo apt-get install build-essential git libxml2 libxml2-dev libsqlite3-dev vim-nox libnewt0.52 libnewt-dev libuuid uuid-dev libjansson-dev libncurses5-dev
# srtp
wget http://downloads.sourceforge.net/project/srtp/srtp/1.4.4/srtp-1.4.4.tgz?r=&ts=1391106639&use_mirror=kaz
cd srtp
./configure --prefix=/usr
# pjproject
wget https://github.com/asterisk/pjproject/archive/pjproject-2.1.tar.gz
git clone https://github.com/asterisk/pjproject pjproject
cd pjproject-pjproject-2.1/
./configure --prefix=/usr --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr
make dep
make
sudo make install
sudo ldconfig
# asterisk
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11.7.0.tar.gz
./configure --with-srtp=/home/vagrant/srtp --with-pjproject=/home/vagrant/pjproject
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment