Tuesday, November 20, 2012

Asterisk installation notes

Here are some generic installation notes for building and installing Asterisk in gnu/Linux. Should work for any distribution. I've tested them with CentOS 5.X.

Install missing development packages, then perform the following inside asterisk source directory:
contrib/scripts/install_prereq install
./configure

use ./configure --prefix=/usr/local/asterisk-1.x.xx.x to install to your own location
make menuselect
de-select unnecessary addons and features.
make
run contrib/scripts/get_mp3_source.sh to add mp3 support (install subversion first)
make config
make install-logrotate
make install
If running asterisk on a VPS, you may need to edit the safe_asterisk file and comment out the line where it says TTY=9 in order to get asterisk to run via initscripts.

To add asterisk messages to the daily e-mail report via logwatch:
http://www.mcbsys.com/techblog/2012/02/monitor-asterisk-with-logwatch/

No comments:

Post a Comment