Installation Instruction

Installation instruction can be found here. You can also post issues that you found during ictdialer installation.

Installation Instruction

Postby falak » Tue Jan 17, 2012 7:33 am

Installation instruction for ICTDialer can be found in the README file of the download folder. These instruction are repeated here:

Installation Steps
--------------------------

1 System Requirements
2 Setup and Run Freeswitch
3 Setup and Run Plivo
4 ICTDialer Software Installation


1. System Requirements
-------------------
Following open source softwares are required for ICTDialer to function fully:
* CentOS 6
* Apache 2
* MySQL 5
* PHP 5.3.3
* php-mysql
* php-gd
* php-curl
* php-imap
* php-dom
* php-mbstring
* perl
* perl-DBD-mysql
* libtiff
* mysql-devel
* git

To install above requirements issue following commands at shell prompt:
yum -y install httpd mysql-server mysql mysql-devel
yum -y install php php-common php-cli php-gd php-imap php-curl php-mysql
yum -y install perl perl-DBD-mysql yum install git

Before continuing to move to next phase, please make sure that MySQL and Apache is running:
# chkconfig httpd on
# chkconfig mysqld on
# service httpd start
# service mysqld start


2. Setup and Run Freeswitch
------------------------
ICTDialer is based on Plivo Framework. So you need to setup and run freeswitch provided by Plivo.org. Instructions on how to install Freeswitch are given at http://www.plivo.org/get-started/ and repeated here for your convenience:

* Download and run the FreeSWITCH installer on your system
Note: Currently, this installer is tested on CentOS > 5.5 and Debian-based distros.
# wget --no-check-certificate https://github.com/plivo/plivoframework ... install.sh
# chmod +x install.sh
# ./install.sh

* Run FreeSWITCH
Run in Foreground
# ./usr/local/freeswitch/bin/freeswitch
Run in Background
# ./usr/local/freeswitch/bin/freeswitch -nc


3. Setup and Run Plivo Framework
-----------------------------

a) Plivo without Fax support
-------------------------
By default, Plivo Framework do not support sending and receiving Fax. If you do not require Fax broadcast support in ICTDialer then you can continue to install Plivo provided by Plivo.org Team as given below:

* Download and run the Plivo Framework installer on your system
Note: Currently, Plivo Framework is tested on CentOS > 5.5 and Debian-based distros.
# wget --no-check-certificate https://github.com/plivo/plivoframework ... install.sh
# chmod +x plivo_install.sh
# ./plivo_install.sh /usr/local/plivo/
* Run Plivo
# /etc/init.d/plivo start

b) Plivo with Fax support
----------------------
However, if you want Fax support in ICTDialer then you should use our version of open source Plivo. Download and extract ictdialer.tar.gz archive. Locate the folder "plivo-devel" in the extracted ICTdialer directory.

1. Stop plivo service (if any) and clear /usr/local/plivo

2. Copy and Paste plivo-devel folder in /usr/

3. Go to /usr/plivo-devel and Run plivo_install.sh using following command:
#./plivo_install.sh /usr/local/plivo

5. Go to /usr/local/plivo/bin directory and Run plivo service using the following command:
#./plivo start


4. ICTDialer Software Installation
-------------------------------
Locate the folder "wwwroot" in the extracted ICTdialer directory.
Rename this folder to ictdialer and copy-paste it to /usr directory.

* Database Installation:
Create "ictdialer" database in mysql (Run 'CREATE DATABASE ictdialer' query on mysql)

* Frontend / Web GUI

1. Create a symbolic link for /usr/ictdialer in /var/www/html
ln -s /usr/ictdialer /var/www/html/ictdialer

2. Now visit http://DOMAIN.TLD/ictdialer
and follow the installation instructions for
ICTDialer (drupal based) front end installation.

3. Once you are done with installation, visit the website
and login as site administrator with username and password
that you provided during installation.

4. Now copy the "Broadcast" folder and place it somewhere in
your drupal installation (that you named ictdialer)
preferably in modules/ folder or sites/all/modules/ folder

5. Now comback to Web GUI and go to Modules menu and enable all modules in "ICTDialer System" Package.

6. Now you'll see a Broadcast menu item in your Navigation
with submenus Campaigns, Contacts and Manage Files.
Upload your contact list and create campaign to broadcast your message.

Please feel free to post if you found any issue during installation
falak
Site Admin
 
Posts: 86
Joined: Tue Jan 17, 2012 7:33 am

Re: Installation Instruction

Postby falak » Wed Apr 04, 2012 6:12 am

Please copy default.settings.php file and paste it at the same location and then rename the copied file to settings.php. You should also grant permission to this file to 777 using command: chmod 777 settings.php


smackYYZ wrote:Last night I tried following your install instructions and was not successful.

I am installing this on CentOS 6.2 64-bit.
Now one issue was upstream in the Plivo install script which was related to installing git but I got around that fairly easy. Where I am having issues is two things, your install doc shows to:
- after putting the code in /usr/ictdialer and creating teh symlink, I can not get apache to load any code from there.
- edit /usr/ictdialer/sites/default/settings.php , there is no file named this, but there is a file named /usr/ictdialer/sites/default/default.settings.php , so do I edit it, or do I edit it and rename to settings.php ?

Mike
falak
Site Admin
 
Posts: 86
Joined: Tue Jan 17, 2012 7:33 am

Re: Installation Instruction

Postby falak » Mon Jun 18, 2012 1:05 pm

Please make sure that you are connected with internet while installation of Plivo. because it downloads some pre-requisites like python, gevent etc. In your case installer is trying to find ez_setup.py file but the installer is unable to locate it.

I would recommend to download another package of "ictdialer" from the sourceforge. And then try to follow the instruction as given in the README.txt and make sure that you are connected with the internet.

One thing more, please make sure you have all of the following dependencies installed:
yum -y install httpd mysql-server mysql mysql-devel
yum -y install php php-common php-cli php-gd php-imap php-curl php-mysql
yum -y install perl perl-DBD-mysql yum install git
falak
Site Admin
 
Posts: 86
Joined: Tue Jan 17, 2012 7:33 am

Re: Installation Instruction

Postby falak » Fri Sep 28, 2012 5:38 am

Extract the downloaded zip file. This extracted folder contains 3 sub-folders. one of them is "wwwroot". You will rename it to ictdialer and the copy it to your "usr" folder. The path to ictdialer now should be "/usr/ictdialer".

johnny123 wrote:I got to step 4 in the installation process, it seems I am missing the ictdialer folder, why is that? I am running CentOS v6.3.
falak
Site Admin
 
Posts: 86
Joined: Tue Jan 17, 2012 7:33 am

Re: Installation Instruction

Postby falak » Wed Oct 03, 2012 6:26 am

For the web interface and back-end installation you need to perform the installation instructions. There is a README file within the downloaded zip folder that contains the installation instruction. Following link also contains the installation instructions that might help you.

http://www.ictdialer.org/content/installation-guide


johnny123 wrote:Thanks, now that I have done what you said, how do I display the web interface properly? Right now it says: "FORBIDDEN You don't have permission to access /ictdialer/ on this server." Do I have to edit any file(s) to display the rest of the installation or am I missing something?
falak
Site Admin
 
Posts: 86
Joined: Tue Jan 17, 2012 7:33 am


Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest

cron