HOWTO Update latest version via Github

Make sure to backup your existing configuration first!

cp /var/www/html/astguiclient.conf /var/www/html/astguiclient.conf.bak

Update Databases

mysql goautodial -A
ALTER TABLE go_campaigns ADD COLUMN manual_dial_min_digits INT(11) DEFAULT '6';
ALTER TABLE go_campaigns ADD COLUMN auto_dial_level VARCHAR(20) DEFAULT 'NORMAL';
ALTER TABLE users ADD COLUMN enable_webrtc tinyint(1)  DEFAULT '1';
use asterisk
update system_settings set agent_whisper_enabled='1';

Update existing v4:

cd /var/www/html/
git config --global "root@localhost" 
git stash
git pull

cd /var/www/html/goAPIv2/
git stash
git pull

Edit Config.php

nano /var/www/html/php/Config.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', '');
Go to top