How to Install Asterisk on Ubuntu

[enter root password]
cd /temp
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
make menuconfig
[enable or disable features]
make install
cd /etc/asterisk/
[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 *