This guide shows a simple Vici Dial installtion on a debian6_x64 droplet in Digital Ocean.
Create the Droplet
VICIbox Server is the official installation CD for the VICIDIAL Call Center Suite. It is based off of OpenSuSE server, and will properly install the VICIDIAL Call Center Suite with relative ease. VICIbox Server also allows for easy installation of multi-server ViciDial clusters. VICIdial can be installed on your own hardware or you can use our hosted service. It is extremely flexible and scalable. A large VICIdial installation can handle over two million(2,000,000) phone calls per day, with over five hundred(500) agents handling calls and internet communications from customers.
General Guidelines:
![Vicidial Vicidial](http://farm8.staticflickr.com/7113/8161644989_c506dfa2e9_b.jpg)
- Create the Droplet by selecting Create Droplet in the Droplet's UI.
- Select the 64 bit image of debian 6.
Dependency installation
We need to install all dependencies before proceeding to install the astguiclient.
Install dependencies available from apt-get
Once you are logged in to the droplet's console, you will now be able to install the dependencies. Issue the following Commands:
A prompt while installing the dependencies might popup just fill in what is needed as follows, if any passwords would be asked for please use the standard passwords for those applications or provide the password for those in our password tracker.
Install CPAN modules needed by perl
Note: While installing the cpan modules, you will be prompted. This process might take around 30 minutes.
Download source for other dependencies
Since not all of the things that we will be using will be available in debian's apt repository, we will need to obtain their source code to compile and install them. Since they are now previously available from one of our servers issue these commands to copy those files. The password will be present at our password tracker.
Copy apache and default mysql configuration files
We need a default starting point for the installation all settings for Vicidial and apache shall be contained in the files copied.
Install Astgui Dependencies
In this section we will now be installing astgui dependencies sequentially.
Install Perl Asterisk Extension
We will now install the Asterisk Module, We will be using version 0.08 since 0.09 will not work with Vicidial. Issue the following commands:
Install lame
Same as the last step, just type or copy them in the command line. Issue the following commands:
Install asterisk
To install asterisk we will be needing to instal it's dependencies.
Install Dhadi
Install libpri
To install libpri issue the following commands:
Install Asterisk Core
The asterisk version which we will be using is
1.4
as astgui's install guide recommends. After the installation of Dhadi and libpri we may now be able to install the asterisk core. To install it issue the following commands:We then enable asterisk to start automatically on boot by copying the boot file from asterisk into the asterisk init.d folder.
Install sounds needed by Vicidial
We will be extracting the sound files that we have previously downloaded to our scp server. Enter the following commands as follows.
Create symbolic links for the mohmp3 files, and ready the quiet-mp3 dir for sox'ing sound files.
Remove unnecessary files.
sox
the sound files.Untar (extract) the astguiclient source files.
Ready the database for the astguiclient installation
Firstly you would need to login to the mysql console use this command
mysql -p
. When prompted for a password enter the mysql password for root user. This was created during the initial installation. If no password is specified during the installation simply enter mysql
. While in the mysql console enter the following commands to create the DB tables:This process will also import the sample data provided by the astguiclient source.
Install astguiclient (Vicidial)
We are now ready to install astguiclient. Enter the following commands to install astguiclient:
When it prompts you to enter something, Check if they are one of the entries below and change the accordingly (apache uses
/var/www
as its main web folder). Also note that we have not configured ftp in this guide so for all the settings pertaining to ftp just press enter to use the default values.Populate the area codes using this command:
Update rc.local
Edit
/etc/rc.local
to contain the following code (enter vi /etc/rc.local/
to edit with vi
, nano /etc/rc.local
to edit with nano, ed /etc/rc.local
to edit with ed... choose an editor to your liking):Update crontab entries
To edit crontab with your favourite editor execute
env EDITOR=vi crontab -e
, add the following lines to your crontab:Update your server ip.
Reboot your server
How to install vicidial / vicibox
OS Installation
To perform the OS Installation using the standard ISO perform the following steps:- Download the current ViciBox Server ISO from http://download.vicidial.com/iso/vicibox/server/
- Burn ISO to CD/DVD and boot from the disk
- At the boot screen, press the F3 key to select the Video Mode options
- Using the arrow keys, highlight the 'Text Mode' option and press the ENTER key
- Using the arrow keys, highlight the 'ViciBox v.7' option in the center of the screen and press the ENTER key.
- At the ViciDial license screen, press CTRL-A to agree to the license agreement
- Press ALT-N to select 'Next' and proceed with the boot-up sequence.
- At the login prompt, type 'root' and press ENTER. You may have to hit ENTER after a minute to see the login prompt. It sometimes gets overwritten on the screen from the boot process.
- At the Password prompt, type 'vicidial' and press ENTER
- At the command prompt, type 'os-install' and press ENTER. If there is any custom configuration to be done to this server prior to OS installation, it should be done before this step.
- To change the default langauge, press ALT-L and select your preferred language
- To change the default keyboard layout, press ALT-K and select your preferred layout. Press ALT-N to agree to the license displayed and move on to the next screen
- To change the displayed region, press ALT-E and use the up and down arrow keys to select your preferred region. Alternatively, the TAB key can be used to switch between windows on this screen and proceeding screens.
- To change the displayed Time Zone, press ALT-Z and use the up and down arrow keys to select
- your preferred time zone.
- Press ALT-N to accept the selected Region and Time Zone and move on to the next screen
- To accept the default partitioning scheme press ALT-N to proceed to the next screen. The partitioning module in OpenSuSE is somewhat inconsistent. You should see in the summary list 'Create swap volume /dev/sda1' and 'Create root volume /dev/sda2'. If not, please read the partitioning notes under the Miscellaneous section at the end of this document prior to proceeding.
- Type in the new 'root' password that you would like to use. For the purposes of this document you would type 'vicidial'.
- Press ALT-F to move to the password confirmation dialog, and re-type in the new root password you entered in the previous step.
- Press ALT-N to select Next and continue with the installation. If the passwords to not match, are blank, or are not considered high-security passwords, you will be presented with an additional dialog box. You will need to either correct the passwords if they are blank or don't match, or chose whether to accept the password and continue or input a new password.
- Press ALT-I to install the operating system according to the installation summary presented. You can use the up and down arrows keys to scroll through the installation summary. You can press ENTER on any highlighted section to adjust those installation options, although those options will not be covered by this document. This is the point of no-return, do not proceed past here if this server already has important data on it.
- Press ALT-I to confirm the destruction of the host system's old installation and installation of the new operating system. You will be presented with a screen showing installation progress and logs. At this point all data on the hard drive has been destroyed.
- When prompted, press ALT-N and then press ENTER to reboot the server. You may also use the left and right arrow keys to highlight 'Reboot Now' and press ENTER. It is a good idea to remove the CD from the drive during reboot as well as setting the BIOS to boot from the harddrive before any other devices.
- When the Login prompt comes up after the reboot, log in as the 'root' user using the password entered in step 18 above.
- At the command prompt, type 'reboot' and press ENTER. Due to a quirk in the OpenSuSE LiveCD installer it is necessary to reboot the server a second time to properly initialize the network. This is only required once after the LiveCD has finished it's installation.
The Phase-1 OS Installation is now complete.for more help Click Here