Now, it is time to actually install Asterisk, contained in /usr/src/asterisk
. We will do this by typing:
# cd /usr/src/asterisk/asterisk-VERSION
# make clean
This installs the runtime and some utilities, as well as libraries of Asterisk PBX. It creates the actual PBX, which may depend on (that is, use) the components we installed earlier.
Through the following commands, Asterisk will now provide a menu in which you can choose which options to install (audio files, voicemail storage, codecs, and so on).
# ./configure
# make menuselect
# make
# make install
At this point, it is probably wise to install some sample configuration files so that we can acclimatize ourselves to Asterisk's structure. This is done by running:
# make samples
This creates a sample DAHDI.conf
in /etc
, and sample configuration files in /etc/asterisk
. When we change directories to /etc/asterisk
, we should see the following files:
adsi.conf
: This file contains the configuration for Analog Display...