Asterisksupport
Saturday, 15 October 2011
Asterisk Installation with CentOS
Asterisk 1.8 Installation with CentOS 6
Installing Asterisk
This Installation is done on the centos 6
The Basic softwares required to build IPPBX
a. Centos 6
b. Asterisk 1.8
c. Dahdi 2.5
d. libpri
Centos 6 dowload locations http://mirrors.centos/downloads
Asterisk1.8 , Dahdi, Libpri from http://www.asterisk.org/
Installing Base Os for asterisk
Installing centos 6
Choose the linux text mode method to install the centos
Type linux text as boot option to proceed with linux text mode installation
Deselect all the softwares and choose customize the software later
Next select the following software modules
a. Base
b. Administation Tools
Disable the firewall and selinux
to diable selinux
#vi /etc/selinux/config
Change SELINUX=enforcing to SELINUX=disabled
Update the server
Downloading the Asterisk source codes
Go to asterisk.org/downloads and download the latest
Cd /usr/src
wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.8.7.0.tar.gz
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2.5.0.1+2.5.0.1.tar.gz
wget http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.12.tar.gz
Extract all the files
tar –zxf asterisk-1.8.7.0.tar.gz
tar -zxvf dahdi-linux-complete-2.5.0.1+2.5.0.1.tar.gz
tar -zxvf libpri-1.4.12.tar.gz
Installing the extracted source codes
Installing and compiling Dahdi
Cd /usr/src/dahdi-linux-complete-2.5.0.1+2.5.0.1
make all
make install
make config
Installing and compiling libpri
Cd /usr/src/libpri-1.4.12
make clean
make
make install
Installing Asterisk
cd /usr/src/asterisk-1.8.7.0
make clean
./configure
make menuselect ( select all the addons and press save and exit )
contrib/scripts/get_mp3_source.sh ( Patch for mp3 to work in asteirsk )
make
make install
make samples
Thats all over asterisk insallation
root # asterisk
root #asterisk -vvvgci
Asterisk 1.8.7.0, Copyright (C) 1999 - 2011 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.8.7.0 currently running on phonesrv1 (pid = 2700)
Verbosity is at least 3
phonesrv1*CLI>
show like above you installation Success
if you have any dout please post we will revert ASAP
Installing Asterisk
This Installation is done on the centos 6
The Basic softwares required to build IPPBX
a. Centos 6
b. Asterisk 1.8
c. Dahdi 2.5
d. libpri
Centos 6 dowload locations http://mirrors.centos/downloads
Asterisk1.8 , Dahdi, Libpri from http://www.asterisk.org/
Installing Base Os for asterisk
Installing centos 6
Choose the linux text mode method to install the centos
Type linux text as boot option to proceed with linux text mode installation
Deselect all the softwares and choose customize the software later
Next select the following software modules
a. Base
b. Administation Tools
Disable the firewall and selinux
to diable selinux
#vi /etc/selinux/config
Change SELINUX=enforcing to SELINUX=disabled
Update the server
yum –y update
Copy and paste the below to install all the packages and dependicies
yum install gcc gcc-c++ wget bison mysql-devel mysql-server php php-mysql php-pear
php-pear-DB php-mbstring nano tftp-server httpd make ncurses-devel libtermcap-devel
sendmail sendmail-cf caching-nameserver sox newt-devel libxml2-devel libtiff-devel
php-gd audiofile-devel gtk2-devel subversion nano kernel-devel
Copy and paste the below to install all the packages and dependicies
yum install gcc gcc-c++ wget bison mysql-devel mysql-server php php-mysql php-pear
php-pear-DB php-mbstring nano tftp-server httpd make ncurses-devel libtermcap-devel
sendmail sendmail-cf caching-nameserver sox newt-devel libxml2-devel libtiff-devel
php-gd audiofile-devel gtk2-devel subversion nano kernel-devel
Reboot server
Downloading the Asterisk source codes
Go to asterisk.org/downloads and download the latest
Cd /usr/src
wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.8.7.0.tar.gz
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2.5.0.1+2.5.0.1.tar.gz
wget http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.12.tar.gz
Extract all the files
tar –zxf asterisk-1.8.7.0.tar.gz
tar -zxvf dahdi-linux-complete-2.5.0.1+2.5.0.1.tar.gz
tar -zxvf libpri-1.4.12.tar.gz
Installing the extracted source codes
Installing and compiling Dahdi
Cd /usr/src/dahdi-linux-complete-2.5.0.1+2.5.0.1
make all
make install
make config
Installing and compiling libpri
Cd /usr/src/libpri-1.4.12
make clean
make
make install
Installing Asterisk
cd /usr/src/asterisk-1.8.7.0
make clean
./configure
make menuselect ( select all the addons and press save and exit )
contrib/scripts/get_mp3_source.sh ( Patch for mp3 to work in asteirsk )
make
make install
make samples
Thats all over asterisk insallation
root # asterisk
root #asterisk -vvvgci
Asterisk 1.8.7.0, Copyright (C) 1999 - 2011 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.8.7.0 currently running on phonesrv1 (pid = 2700)
Verbosity is at least 3
phonesrv1*CLI>
show like above you installation Success
if you have any dout please post we will revert ASAP
Subscribe to:
Posts (Atom)