Configuration of CentOS and Asterisk steps described to work with ViciDial

The new in Vicidial Now is Go Auto Dial. A CentOs based Go auto dial have all features which ViciDial have.

ViciDial on CentOS

ViciDial on CentOS

Following are the ViciDial installation steps over CentOS:

 

Basic Requirements before installation

 

  1. Installation ofCentOS-7-x86_64 — Download Source: http://www.centos.org/download/
  2. Remove Dependencies
  3. Installation ofAsterisk —Download Source: http://www.asterisk.org/downloads
  4. Configure dahdi —Download Source: http://www.asterisk.org/downloads/dahdi
  5. Configure libpri– Download Source: http://www.asterisk.org/downloads/libpri
  6. Installation ofVicidial– Download Source: http://www.vicidial.org/vicidial.php

 

Configuration Requirements

Installing CentOSfor Asterisk

 A few parameters should be considered, as asterisk configuration requirement, while installing CentOS

 

  • Select “active on boot” and select “ipv4 enabled, duringinstallation on configuring Network option.
  • Asterisk should be in separate partition , select it in the Partitioning Scheme ,
  • Swap should be 4GB , apply it while Creating A Swap Space ,
  • Usecommand “yum -y update”to update the OS&reboot.

 Disable theFirewalls with the following command; requirement for smooth asterisk configuration

Iptables –F

Service iptables save

 Remove theDependencies; requirement for smooth asterisk configuration

To remove dependencies; we have to Install the Following software to remove dependencies

yum install gccgcc-c++ phpphp-develphp-gdgd-develphp-mbstringphp-mcryptphp-imapphp-ldapphp-mysqlphp-odbcphp-pear php-xml php-xmlrpc curl curl-develperl-libwww-perlImageMagick libxml2 libxml2-devel httpdlibpcaplibpcap-develncursesncurses-devel screen sox mysql-server mysql-develntp kernel-devel mutt

Running MySQL Tables

 mysql_install_db

/etc/init.d/mysqld start

 Setting up MySQL password

/usr/bin/mysqladmin -u root password ‘PaSsWoRd’

Setup CPAN

 Run the command “perl -MCPAN -e shell”

Installing Asterisk

cd /usr/src

wget http://download.vicidial.com/required-apps/asterisk-perl-0.08.tar.gz

tar -xvzf asterisk-perl-0.08.tar.gz

cd asterisk-perl-0.08

perl Makefile.PL

make all

make install

 

Installing Dahdi and libpri

 

  • wgethttp://www.asterisk.org/downloads/dahdi /dahdi-linux-complete-current.tar.gz
  • wgethttp://www.asterisk.org/downloads/libpri /libpri-1.4-current.tar.gz
  • tar -xvzf dahdi-linux-complete-current
  • tar -xvzf libpri-1.4-current.tar.gz

 

LibPri installation
cd /usr/src/asterisk

cdcd libpri-1.4.15
make clean
make
make install
Dahdi Installation

cd /usr/src/asterisk/
cd dahdi-linux-complete- 2.10.2

make all
make install
make config

Asterisk Installation
cd /usr/src/asterisk-1.4.39.1-vici
./configure
make clean
make
make install
make samples

Start Asterisk at startup

 cp /usr/src/asterisk/asterisk-1.4.39.1-vici/contrib/init.d/rc.redhat.asterisk /etc/init.d/asterisk

chkconfig –add asterisk

 Creating Vicidial Database

mysql -p   PaSsWoRd

CREATE DATABASE `asterisk` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
GRANT SELECT,INSERT,UPDATE,DELETE,LOCK TABLES on asterisk.* TO cron@’%’ IDENTIFIED BY ‘1234’;
GRANT SELECT,INSERT,UPDATE,DELETE,LOCK TABLES on asterisk.* TO cron@localhost IDENTIFIED BY ‘1234’;
GRANT RELOAD ON *.* TO cron@’%’;mysql>GRANT RELOAD ON *.* TO cron@localhost;
flush privileges;
SET GLOBAL connect_timeout=60;mysql>use asterisk;
\. /usr/src/astguiclient/trunk/extras/MySQL_AST_CREATE_tables.sql
\. /usr/src/astguiclient/trunk/extras/first_server_install.sql
\. /usr/src/astguiclient/trunk/extras/sip-iax_phones.sql

quit

TECHEXE.

Leave a Reply

Your email address will not be published. Required fields are marked *

Latest Posts By ahson

Category

Network Management