Wednesday, January 5, 2011

Installing our First VoIP Server (Asterisk 1.8)

What we should already have:
A Linux server with internet connectivity.(CentOS in my case)

What we'll do:
Install Asterisk version 1.8.X, a widely known FREE VoIP Server/telephony toolkit.

Copy-Paste commands below to setup Asterisk.(each # is a new command)

# yum -y install gcc gcc-c++ kernel-devel bison openssl openssl-devel perl perl-Net-SSLeay perl-Crypt-SSLeay libtermcap-devel ncurses-devel doxygen curl-devel newt-devel mlocate lynx tar wget nmap bzip2 mod_ssl crontabs vixie-cron speex speex-devel unixODBC unixODBC-devel libtool-ltdl libtool-ltdl-devel mysql-connector-odbc mysql mysql-devel mysql-server php-mysql php-mbstring php-mcrypt flex screen libtiff-devel

# cd /usr/src

# wget
# wget
# wget

# tar zxvf asterisk-
# tar zxvf asterisk-addons-
# tar zxvf dahdi-linux-complete-2.4.0+2.4.0.tar.gz

# cd dahdi-linux-complete-2.4.0+2.4.0
# make all
# make config
# cd..

# cd asterisk-
# ./configure
# make && make install

# cd ../asterisk-addons-
# ./configure
# make
# make install

# asterisk
# asterisk -r


Viola -- Now you are all Done, Your first Asterisk server is up and running- Now All you need to do is configure it according to your requirements.


  1. I have installed asterisk and its runing fine but its kernal have a error message i have updated kernal as welll and reboot the cent os but problem remains

  2. Please paste the lines from console here, So I can suggest anything.