Asterisk 11 - Debian Squeeze
INSTALLATION:
1. You need to install the dependencies.
apt-get install build-essential linux-headers-2.6.32-5-686 libxml2-dev libncurses5-dev libgtk2.0-dev libnewt0.52 libnewt-dev
2. Download the asterisk 11 package. I usually download it in the "/usr/src/" directory.
cd /usr/src
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz
3. Extract the asterisk 11 source.
tar -zxvf asterisk-11-current.tar.gz
4. Go to the extracted directory.
cd /usr/src/asterisk-11-current
5. Configure and compile asterisk 11
./configure
make menuselect
OPTIONAL:
---------------
Depending on your needs, you can enable some add-ons like format_mp3. Go to Add-ons and enable "format_mp3".
For this to work, you need to install subversion and get the mp3 source.
apt-get install subversion
contrib/scripts/get_mp3_source.sh
----------------
make all
make install
make samples
make config
make install-logrotate
6. Run asterisk in verbose mode to check if it was installed properly.
asterisk -vvvvvvvvvvc
7. Automate asterisk service to run on startup.
update-rc.d asterisk defaults
8. You're done! Enjoy!