Asterisk Install on Debian: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
Line 8: | Line 8: | ||
<pre> | <pre> | ||
cd /usr/src | cd /usr/src | ||
wget http://www.libsdl.org/release/SDL2-2.0. | wget http://www.libsdl.org/release/SDL2-2.0.4.tar.gz | ||
tar xvf SDL2-2.0. | tar xvf SDL2-2.0.4.tar.gz | ||
rm -f SDL2-2.0. | rm -f SDL2-2.0.4.tar.gz | ||
cd SDL2-2.0. | cd SDL2-2.0.4 | ||
./configure | ./configure | ||
make | make | ||
Line 19: | Line 19: | ||
<pre> | <pre> | ||
cd /usr/src | cd /usr/src | ||
wget http://www.pjsip.org/release/2.4/pjproject-2.4.tar.bz2 | wget http://www.pjsip.org/release/2.4.5/pjproject-2.4.5.tar.bz2 | ||
tar xvf pjproject-2.4.tar.bz2 | tar xvf pjproject-2.4.5.tar.bz2 | ||
rm -f pjproject-2.4.tar.bz2 | rm -f pjproject-2.4.5.tar.bz2 | ||
cd pjproject-2.4 | cd pjproject-2.4.5 | ||
./configure --enable-shared | ./configure --enable-shared | ||
make dep | make dep |
Revision as of 06:18, 20 January 2016
To install Asterisk on a Rapsberry Pi or Debian based system.
Dependencies
apt-get -y install libv4l-dev ffmpeg libx264-130
cd /usr/src wget http://www.libsdl.org/release/SDL2-2.0.4.tar.gz tar xvf SDL2-2.0.4.tar.gz rm -f SDL2-2.0.4.tar.gz cd SDL2-2.0.4 ./configure make make install
cd /usr/src wget http://www.pjsip.org/release/2.4.5/pjproject-2.4.5.tar.bz2 tar xvf pjproject-2.4.5.tar.bz2 rm -f pjproject-2.4.5.tar.bz2 cd pjproject-2.4.5 ./configure --enable-shared make dep make make install
cd /usr/src/ wget http://www.digip.org/jansson/releases/jansson-2.7.tar.gz tar xvf jansson-2.7.tar.gz rm -f jansson-2.7.tar.gz cd jansson-2.7 ./configure make make install make check
apt-get -y install libtiff5-dev echo /usr/local/lib/ >> /etc/ld.so.conf
cd /usr/src wget http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.6.tgz zcat spandsp-0.0.6.tgz | tar xf - rm -f spandsp-0.0.6.tgz cd spandsp-0.0.6 ./configure make make install ldconfig
Asterisk Prerequisite
apt-get -y install subversion libspeexdsp-dev libmyodbc unixodbc-dev libmysqlclient-dev libnewt-dev libncurses5-dev uuid-dev libxml2-dev libsqlite3-dev libssl-dev portaudio19-dev
Install Asterisk
cd /usr/src wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz tar xvf asterisk-13-current.tar.gz rm -f asterisk-13-current.tar.gz cd asterisk-13.5.0 ./configure ./contrib/scripts/get_mp3_source.sh make menuselect make make install make config make samples
Debian Cleanup
apt-get -y autoclean apt-get -y autoremove