ICT dialler installation

  1. CentOs 6
  2. Apache 2
  3. MySQL 5
  4. PHP 5.3.3
  5. ICTCore
  6. Kannel
  7. FreeSWITCH
To install above requirements, first of all we need to install their respective repositories
rpm -Uvh 'http://service.ictinnovations.com/repo/6/ict-release-6-2.noarch.rpm'
rpm -Uvh 'http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm'
rpm -Uvh 'http://files.freeswitch.org/freeswitch-release-1-0.noarch.rpm'


Before proceeding further please disable selinux and to disable it permanently edit /etc/selinux/config file


setenforce 0
 

3: ICTCore Installation

ICTCore is main dependency of ICTDialer, if you have proper repositories pre installed (see above) then all other dependencies will be installed along with ICTCore. so we just need to issue following command

yum -y install ictcore ictcore-voice ictcore-fax ictcore-sms --skip-broken
 
 

3.1 Setup ICTCore database

To create database in mysql for ictcore issue following commands at mysql prompt
CREATE DATABASE ictdialer;
USE ictdialer;
GRANT ALL PRIVILEGES ON ictdialer.* TO ictdialeruser@localhost IDENTIFIED BY 'plsChangeIt';
FLUSH PRIVILEGES;

SOURCE /usr/ictcore/db/database.sql;
SOURCE /usr/ictcore/db/voice.sql;
SOURCE /usr/ictcore/db/fax.sql;
SOURCE /usr/ictcore/db/sms.sql;
 
Now update /usr/ictcore/etc/ictcore.conf and /usr/ictcore/etc/odbc.ini files as per above created database


4: ICTDialer Installation

  1. (if any) delete /usr/ictdialer
  2. Download, ictdialer folders into temp folder
  3. move ICTDialer wwwroot folder into /usr/ictdialer
  4. move broadcast folder into /usr/ictdialer/sites/all/modules
  5. issue following command to create website configuration file
cp /usr/ictdialer/sites/default/default.settings.php /usr/ictdialer/sites/default/settings.php 
 
chown -R apache:apache /usr/ictdialer

 
  1. Update Apache configurations to set /usr/ictdialer as DocumentRoot

DocumentRoot "/usr/ictdialer"

    2. restart Apache

apachectl restart 
or:
/sbin/service httpd restart
 
 
if it doesnt work then,

find / -name "httpd.conf"

Add line

ServerName localhost


error


yum install gd gd-devel php-gd #gd solved dom remaining
yum -y install php-xml

find / -name "php.ini"

Add below 2 lines if not found.

extension=dom.so
extension=pdo.so
extension=pdo_mysql.so


Restart apache server



chcon -t httpd_sys_content_rw_t /usr/ictdialer/sites/default/
chcon -t httpd_sys_content_rw_t /usr/ictdialer/sites/default/settings.php

restart server if required

  1. When asked for database please provide access info to recently created database ( in ictcore section ) and enter web_ as database prefix. (asked as table prefix in advanced option)
Will be updated soon..

Comments

  1. You made some really good points there. I looked on the web to learn more about the issue and found most people will go along with your views on this web site.

    ReplyDelete

Post a Comment

Popular posts from this blog

Install Pear in Wamp Server 2.2 (with php 5.3.8) for windows

Upload multiple files using AjaxFileUpload