You want to install Asterisk.
Download the latest release version of either the 1.4 or 1.6 branch of Asterisk. Substitute the version of Asterisk for the X.X in the command below. Asterisk is available for download from: http://downloads.digium.com/pub/telephony/asterisk
Expand the downloaded file, compile its contents, and install the application. Substitute the version of Asterisk for the the X.X and X.X.X in the command lines below.
# tar -zxvf asterisk-X.X-current.tar.gz # cd asterisk-X.X.X/ # ./configure # make menuselect # make # make install
If this is the first Asterisk installation on this system, you should install the sample configuration files. To do this, run:
# make samples
Caution: Running this command will overwrite, after making a backup copy, any older Asterisk configuration files that you have in the /etc/asterisk directory.
If your installation has failed, it may be because you are missing one or more of the build dependencies, the kernel headers, or the development tools.
If you will be used DAHDI-based hardware in Asterisk, you must compile and install DAHDI before Asterisk. Otherwise, the DAHDI channel driver will not be available in Asterisk. Instructions for installing DAHDI are available in the Installing DAHDI section. If necessary, follow through the steps in the solution listed above again in order for DAHDI support to be compiled into Asterisk.
If you will be using PRI signaling in Asterisk, you must compile and install libpri before Asterisk. Otherwise, PRI support will not be available in Asterisk. Instructions for installing libpri are available in the Installing libpri section. If necessary, follow through the steps in the solution listed above again in order for PRI support to be compiled into Asterisk.
- By: ChrisHozian