Asterisk 1.6.0.6 on Debian 4.0

- Check Linux kernel version
# uname -a
Linux ElectronWork 2.6.24-etchnhalf.1-686 #1 SMP Fri Dec 26 04:10:16 UTC 2008 i686 GNU/Linux

- Check Debian version
# cat /etc/debian_version
4.0

- Install various pre-requisite libraries.
# apt-get install make
# apt-get install gcc
# apt-get install g++
# apt-get install libc-dev
# apt-get install bison
# apt-get install ncurses-dev
# apt-get install libssl-dev
# apt-get install libnewt-dev
# apt-get install zlib1g-dev
# apt-get install initrd-tools
# apt-get install cvs
# apt-get install procps
# apt-get install doxygen

- Get Asterisk package.
# wget http://downloads.digium.com/pub/asterisk/releases/asterisk-1.6.0.6.tar.gz
# tar xvzf asterisk-1.6.0.6.tar.gz
# cd asterisk-1.6.0.6

- Install Asterisk
# ./configure
If you see asterisk symbol in the end, configuration is successful. Else, grep for “no” in config.log and try to install those missing libraries/utilities.
# make
takes ~11min
# make install
# make samples (optional)
# make progdocs (optional)

- Test your installation.
# asterisk -r

Posted under Asterisk, Infrastructure, Linux

This post was written by Chirag on March 2, 2009