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:-
You can get asterisk binaries from your GNU/Linux distribution repository or the source code from Asterisk Official website
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:
tar zxvf libpri-1.6.X.tar.gz cd libpri-1.6.X make
Then become root
su - make install
tar zxvf dahdi-linux-2.0.X cd dahdi-linux-2.0.X make
and become root
su - make install
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
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
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.