Asterisk Installation - English -
By DarKnesS_WolF AKA Sherif Nagy This Article Licensed Under GFDL
Please note this how to work in progress, and for Asterisk 1.6.X
Okay I'll try to make this mini-how-to as simple as possible, It will be like a kick start for anyone interested in getting Asterisk running.
We will start by downloading and compiling asterisk:-
Downloading:
You can get asterisk binaries from your GNU/Linux distribution repository or the source code from Asterisk Official website
- we will need Asterisk-1.6.X the main asterisk package
- we will need Asterisk-Addon-1.6.X which has some adds on for asterisk like bluetooth channel and mysql support for CDR.
- we will need Dahdi-linux-2.0.X used to be zaptel which has the zap based cards drivers and modules which we will use for the analog interface and for the timing in asterisk hopefully in next version asterisk will not need dahdi as timing source for iax2 and meetme application.
- we will need also Dahdi-tools-2.0.X which includes some applications for dahdi installation.
- we will need libpri-1.4.X which also good to be in hand for supporting T1/E1 interfaces (optional) but recommended to install.
Compiling:
Before we start we need to install some requirements I always install the headers and the development packages for mysql, postgresql, iksemel “for japper support” and openssl in case I wanted to use any of this features with asterisk later on also Dahdi will require the kernel source and kernel headers we also might need bison, ncurses and libnewt. Also make sure you have GCC, G++ and make installed, then we will start by extracting and compiling:
Libpri-1.6.X
tar zxvf libpri-1.6.X.tar.gz cd libpri-1.6.X make
Then become root
su - make install
Dahdi-linux-2.0.X
tar zxvf dahdi-linux-2.0.X cd dahdi-linux-2.0.X make
and become root
su - make install
Dahdi-tools-2.0.X
tar zxvf dahdi-tools-2.0.X cd dahdi-tools-2.0.X ./configure
if you want to add or remove some tools then compile
make menuselect make
and become root
su - make install
then to install some scripts and sample configurations file
make config
Asterisk package
tar zxvf asterisk-1.6.X.tar.gz cd asterisk-1.6.X ./configure
chose the sound packages, channels and applications you need then compile
make menuselect make
be root
su - make install make samples make config
Asterisk-addon package
tar zxvf asterisk-addon-1.6.X.tar.gz cd asterisk-addon-1.6.X ./configure
add / remove some more application via menuselect option and compile
make menuselect make
then be root and execute make install
su - make install make samples
and You are done with asterisk compiling.. Arabic version of this howto will be avilabe soon.
Dissection should be in the forums.


Recent comments
1 min 39 sec ago
5 hours 12 min ago
5 hours 14 min ago
11 hours 56 min ago
11 hours 57 min ago
12 hours 9 sec ago
12 hours 2 min ago
1 day 7 hours ago
3 weeks 4 days ago
3 weeks 4 days ago