Project

General

Profile

Step by step iso installer Goautodial V4 no ssl

Added by Sotmir Laci about 2 months ago

Goautodial V4 iso install with all detailed steps to make it work.

This is a guide based in Goautodial Getting Started Guidev4 , but with some modifications of the steps that i should have taken before that trying to install the iso for about 4 times.Nobody took the time to document this so to help myself for next installations and with the good will to help others i am posting it here.

- Download the GoAutoDial CE 4.0 installer: GOautodial-4-x86_64-Final-20191005-1520.iso - Burn to DVD or create bootable USB.

- Boot machine from the GoAutoDial CD and hit Enter to get started.

- Configure the IP Address + DNS + Domain and select the disk where should be installed goautodial on the installation procedure of the ISO.

- Begin Installation

- Create root password

- Wait until goautodial is successfully installed and reboot.

- Enter in terminal the root password.

- Should open up the ethernet connection modifying :

nano /etc/sysconfig/network-scripts/ifcfg-ens32
Change this fields into
BOOTPROTO=static
ONBOOT=yes
ctrl+o enter to save and ctrl+x to close

- Add hostname example.domain.com into hosts right next to this domain : vaglxc01.goautodial.com -Do not delete this.
nano /etc/hosts

- yum update -y , reboot after finished.

- To be able to login via browser first we have to make some few other modifications in this files:

1- nano /var/www/html/php/goCRMAPISettings.php
define ('gourl', 'https://example.domain.com/goAPIv2'); //Change only this field by replacing HOSTNAME with your FQDN
Save and exit
2- nano /etc/rtpengine/rtpengine.conf
  1. a single interface:
    interface = xxx.xxx.xxx.xx ///////////// Change or add your ip !
  2. separate multiple interfaces with semicolons:
  1. interface = internal/12.23.34.45;external/23.34.45.54
    1. for different advertised address:
  2. interface = 12.23.34.45!23.34.45.56
Save and  exit
3- nano /etc/kamailio/kamailio.cfg
Around line 136:
#!substdef "!MY_IP_ADDR!10.10.100.164!g" (use your IP address)
#!substdef "!MY_DOMAIN!xxxxx.xxxxx.xxx!g"
And some lines after should add udp with your ip:
/* uncomment and configure the following line if you want Kamailio to
bind on a specific interface/port/proto (default bind on all available) */
listen=udp:127.0.0.1:5060
listen=udp:xxx.xxx.xxx.xx:5060 //// here add your ip
Save and  exit
4- Run update script :
/usr/share/astguiclient/ADMIN_update_server_ip.pl // yes to old IP as 127.0.0.1 next enter your new IP
enter to run.
5- Reboot

- Now we should update to the last version via Github :

1- Backup existing configuration 
cp /var/www/html/astguiclient.conf /var/www/html/astguiclient.conf.bak
2- Update Database :
mysql goautodial -A
ALTER TABLE go_campaigns ADD COLUMN manual_dial_min_digits INT(11) DEFAULT '6';
ALTER TABLE users ADD COLUMN enable_webrtc tinyint(1) DEFAULT '1';
use asterisk
update system_settings set agent_whisper_enabled='1';
3- Update existing v4:
cd /var/www/html/
git config --global user.email "root@localhost"
git stash
git pull
cd /var/www/html/goAPIv2/
git stash
git pull
4- Edit Config.php
nano /var/www/html/php/Config.php    and just copy and paste the following code:
<?php
// database configuration
define('DB_USERNAME', 'goautodialu');
define('DB_PASSWORD', 'goautodialu1234');
define('DB_HOST', 'localhost');
define('DB_NAME', 'goautodial');
define('DB_PORT', '3306');
define('DB_NAME_ASTERISK', 'asterisk');
define('DB_USERNAME_KAMAILIO', 'kamailiou');
define('DB_PASSWORD_KAMAILIO', 'kamailiou1234');
define('DB_HOST_KAMAILIO', 'localhost');
define('DB_NAME_KAMAILIO', 'kamailio');
define('DB_PORT_KAMAILIO', '3306');
// other configuration parameters
define('CRM_ADMIN_EMAIL', '');
?>
5- Reboot

- Now Open GoAutodial via Chrome browser because in Firefox you will encounter some bugs, put the IP address or the domain of the server on the address bar.

Default login :
Username : goadmin
Password : G0autodial2018

The default agent and campaign are not functional you have to create new ones.
To find how to create them you should take the steps as mentioned here: https://goautodial.org/projects/goautodialce/wiki/Goautodial_Getting_Started_Guidev4
starting from - How to setup an Outbound Campaign.


Replies (4)

RE: Step by step iso installer Goautodial V4 no ssl - Added by Demian Lizandro Biscocho about 1 month ago

Thank you for posting this.

This is not needed anymore:

/usr/share/astguiclient/ADMIN_update_server_ip.pl // yes to old IP as 127.0.0.1 next enter your new IP

Since all servers have 127.0.0.1 as standard localhost IP address.

RE: Step by step iso installer Goautodial V4 no ssl - Added by Robert Hyatt 28 days ago

Went through the guide up until it was time to update the mysql database.

After running
ALTER TABLE go_campaigns ADD COLUMN manual_dial_min_digits INT DEFAULT '6';
ALTER TABLE users ADD COLUMN enable_webrtc tinyint(1) DEFAULT '1';
use asterisk

When I run update system_settings set agent_whisper_enabled='1';
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB near 'agent_whisper_enabled='1'

Afterwards when I browse to https://xxx.xxx.xxx.xxx/login.php I get the error MySQL host is not set.

RE: Step by step iso installer Goautodial V4 no ssl - Added by Sotmir Laci 27 days ago

Robert Hyatt wrote:

Went through the guide up until it was time to update the mysql database.

After running
ALTER TABLE go_campaigns ADD COLUMN manual_dial_min_digits INT DEFAULT '6';
ALTER TABLE users ADD COLUMN enable_webrtc tinyint(1) DEFAULT '1';
use asterisk

When I run update system_settings set agent_whisper_enabled='1';
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB near 'agent_whisper_enabled='1'

Afterwards when I browse to https://xxx.xxx.xxx.xxx/login.php I get the error MySQL host is not set.

Hi Robert,
as MySQL explains there is a syntax error pls check if you are typing the command exactly as it was written bcz maybe you missed a semicolon or something like this :


use asterisk 

update system_settings set agent_whisper_enabled='1';

After executing correctly these commands in MySQL pls launch the update commands until the reboot step.

Then when you will browse your goautodial domain everything will be ok.

Ps: please keep in mind what Demian Lizandro Biscocho said that this command :

/usr/share/astguiclient/ADMIN_update_server_ip.pl // yes to old IP as 127.0.0.1 next enter your new IP

It is not needed anymore if you already change it to your IP please reverse it to 127.0.0.1 launching the same command.

Wish that all this will help you set up your goautodial server.
Bye

    (1-4/4)
    Go to top