First-Step in Installing voip Asterisk VOIP PBX

A-What Packages Do I Need?
Before downloading the Asterisk source code, the installation requires users to already have a Linux operating system with kernel version 2.4 or higher The following gives some idea of what’s needed to install and configure each version
1-Asterisk uses three main packages
asterisk:main Asterisk program
zaptel:telephony drivers
libpri:the PRI libraries
the only real requirement is the asterisk package
2-Compile Requirements:
-To compile Asterisk, you must install the GCC compiler
-Asterisk also requires bison, a parser generator program that
replaces yacc, and ncurses for CLI functionality
-The cryptographic library in Asterisk
requires OpenSSL and its development packages
-Zaptel requires libnewt and its development packages for the zttool program
-Kernel source
-Kernel headers
B-Download Source
-The Asterisk source code can be obtained from the Digium FTP server, located at The easiest way to obtain the stable release is through the use of the
program wget.
# cd /usr/src/
# wget -–passive-ftp*.tar.gz
# wget -–passive-ftp*.tar.gz
# wget -–passive-ftp*.tar.gz
# wget -–passive-ftp*.tar.gz
And Extracting the Source Code  TO their respective
# tar zxvf zaptel-*.tar.gz
# tar zxvf libpri-*.tar.gz
# tar zxvf asterisk-*.tar.gz
# tar zxvf asterisk-sounds*.tar.gz
If using Linux kernel 2.4 a symbolic link named linux-2.4 is required
pointing to your kernel source you can create it with the following command:
#ln –s /usr/src/`uname –r` /usr/src/linux-2.4
Installing Asterisk for most Linux distributions is relatively straightforward. Once in the folder in which the source codes are kept issue the following commands:
-Compile Asterisk
# cd /usr/src/asterisk-version
# make clean
# make
# make install
# make samples
-Compile Zaptel
# cd /usr/src/zaptel-version
# make clean
# make
# make install
# make config
-Compile Libpri
# cd /usr/src/libpri-version
# make clean
# make
# make install

Related post

Newer Post Older Post


Post a Comment


Wiki Voip And Fax Tutorials Copyright © 2010 Labloub