How to Install Asterisk on Ubuntu

su
[enter root password]
cd /temp
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz
apt-get install build-essential wget libssl-dev libncurses5-dev libnewt-dev libxml2-dev linux-headers-$(uname -r) libsqlite3-dev uuid-dev
tar zxvf asterisk-11-current.tar.gz
cd asterisk-11-13.0
./configure
make menuconfig
[enable or disable features]
make
make install
cd /etc/asterisk/
ls
[create all configuration files]
cd /temp/asterisk-11.13.0
make samples <== create sample configuration files in the /etc/asterisk directory
asterisk -cVVV <== start asterisk with verbose level 3
[ctrl z] get out of Asterisk CLI
cd /asterisk-11.13.0/contrib/init.d
cp rc.debian.asterisk /etc/init.d/asterisk <== this doesn't work in the demo

Leave a Reply

Your email address will not be published. Required fields are marked *