Showing posts with label telephony. Show all posts
Showing posts with label telephony. Show all posts

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 http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-1.8.1.1.tar.gz
# wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-addons-1.6.2.2.tar.gz
# wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2.4.0+2.4.0.tar.gz

# tar zxvf asterisk-1.8.1.1.tar.gz
# tar zxvf asterisk-addons-1.6.2.2.tar.gz
# 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-1.8.1.1
# ./configure
# make && make install

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

# asterisk
# asterisk -r

Ast-1-8*CLI>

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.