Updated version numbers and builds for branch 2.9

Changed trunk to 2.10, added upgrade_2.10.sql

git-svn-id: svn://192.168.202.10@2128 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2014-06-13 02:05:37 +00:00
parent 225a1addac
commit 9176751dfa
35 changed files with 149 additions and 62 deletions
@@ -431,10 +431,11 @@
# 140519-1011 - Fixed calls in this session to not count monitoring channels
# 140521-2147 - Added manual alt dial options and more agent login error messages
# 140609-2246 - Fixed issue with webform2 button after manual alt-dial
# 140612-1626 - branched 2.9 version
#
$version = '2.8-400c';
$build = '140609-2246';
$version = '2.9-401c';
$build = '140612-1626';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=80;
$one_mysql_log=0;
@@ -431,10 +431,11 @@
# 140519-1011 - Fixed calls in this session to not count monitoring channels
# 140521-2147 - Added manual alt dial options and more agent login error messages
# 140609-2246 - Fixed issue with webform2 button after manual alt-dial
# 140612-1626 - branched 2.9 version
#
$version = '2.8-400c';
$build = '140609-2246';
$version = '2.9-401c';
$build = '140612-1626';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=80;
$one_mysql_log=0;
@@ -431,10 +431,11 @@
# 140519-1011 - Fixed calls in this session to not count monitoring channels
# 140521-2147 - Added manual alt dial options and more agent login error messages
# 140609-2246 - Fixed issue with webform2 button after manual alt-dial
# 140612-1626 - branched 2.9 version
#
$version = '2.8-400c';
$build = '140609-2246';
$version = '2.9-401c';
$build = '140612-1626';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=80;
$one_mysql_log=0;
@@ -431,10 +431,11 @@
# 140519-1011 - Fixed calls in this session to not count monitoring channels
# 140521-2147 - Added manual alt dial options and more agent login error messages
# 140609-2246 - Fixed issue with webform2 button after manual alt-dial
# 140612-1626 - branched 2.9 version
#
$version = '2.8-400c';
$build = '140609-2246';
$version = '2.9-401c';
$build = '140612-1626';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=80;
$one_mysql_log=0;
@@ -431,10 +431,11 @@
# 140519-1011 - Fixed calls in this session to not count monitoring channels
# 140521-2147 - Added manual alt dial options and more agent login error messages
# 140609-2246 - Fixed issue with webform2 button after manual alt-dial
# 140612-1626 - branched 2.9 version
#
$version = '2.8-400c';
$build = '140609-2246';
$version = '2.9-401c';
$build = '140612-1626';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=80;
$one_mysql_log=0;
@@ -431,10 +431,11 @@
# 140519-1011 - Fixed calls in this session to not count monitoring channels
# 140521-2147 - Added manual alt dial options and more agent login error messages
# 140609-2246 - Fixed issue with webform2 button after manual alt-dial
# 140612-1626 - branched 2.9 version
#
$version = '2.8-400c';
$build = '140609-2246';
$version = '2.9-401c';
$build = '140612-1626';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=80;
$one_mysql_log=0;
@@ -431,10 +431,11 @@
# 140519-1011 - Fixed calls in this session to not count monitoring channels
# 140521-2147 - Added manual alt dial options and more agent login error messages
# 140609-2246 - Fixed issue with webform2 button after manual alt-dial
# 140612-1626 - branched 2.9 version
#
$version = '2.8-400c';
$build = '140609-2246';
$version = '2.9-401c';
$build = '140612-1626';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=80;
$one_mysql_log=0;
@@ -431,10 +431,11 @@
# 140519-1011 - Fixed calls in this session to not count monitoring channels
# 140521-2147 - Added manual alt dial options and more agent login error messages
# 140609-2246 - Fixed issue with webform2 button after manual alt-dial
# 140612-1626 - branched 2.9 version
#
$version = '2.8-400c';
$build = '140609-2246';
$version = '2.9-401c';
$build = '140612-1626';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=80;
$one_mysql_log=0;
@@ -431,10 +431,11 @@
# 140519-1011 - Fixed calls in this session to not count monitoring channels
# 140521-2147 - Added manual alt dial options and more agent login error messages
# 140609-2246 - Fixed issue with webform2 button after manual alt-dial
# 140612-1626 - branched 2.9 version
#
$version = '2.8-400c';
$build = '140609-2246';
$version = '2.9-401c';
$build = '140612-1626';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=80;
$one_mysql_log=0;
@@ -431,10 +431,11 @@
# 140519-1011 - Fixed calls in this session to not count monitoring channels
# 140521-2147 - Added manual alt dial options and more agent login error messages
# 140609-2246 - Fixed issue with webform2 button after manual alt-dial
# 140612-1626 - branched 2.9 version
#
$version = '2.8-400c';
$build = '140609-2246';
$version = '2.9-401c';
$build = '140612-1626';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=80;
$one_mysql_log=0;
@@ -431,10 +431,11 @@
# 140519-1011 - Fixed calls in this session to not count monitoring channels
# 140521-2147 - Added manual alt dial options and more agent login error messages
# 140609-2246 - Fixed issue with webform2 button after manual alt-dial
# 140612-1626 - branched 2.9 version
#
$version = '2.8-400c';
$build = '140609-2246';
$version = '2.9-401c';
$build = '140612-1626';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=80;
$one_mysql_log=0;
@@ -431,10 +431,11 @@
# 140519-1011 - Fixed calls in this session to not count monitoring channels
# 140521-2147 - Added manual alt dial options and more agent login error messages
# 140609-2246 - Fixed issue with webform2 button after manual alt-dial
# 140612-1626 - branched 2.9 version
#
$version = '2.8-400c';
$build = '140609-2246';
$version = '2.9-401c';
$build = '140612-1626';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=80;
$one_mysql_log=0;
@@ -431,10 +431,11 @@
# 140519-1011 - Fixed calls in this session to not count monitoring channels
# 140521-2147 - Added manual alt dial options and more agent login error messages
# 140609-2246 - Fixed issue with webform2 button after manual alt-dial
# 140612-1626 - branched 2.9 version
#
$version = '2.8-400c';
$build = '140609-2246';
$version = '2.9-401c';
$build = '140612-1626';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=80;
$one_mysql_log=0;
@@ -431,10 +431,11 @@
# 140519-1011 - Fixed calls in this session to not count monitoring channels
# 140521-2147 - Added manual alt dial options and more agent login error messages
# 140609-2246 - Fixed issue with webform2 button after manual alt-dial
# 140612-1626 - branched 2.9 version
#
$version = '2.8-400c';
$build = '140609-2246';
$version = '2.9-401c';
$build = '140612-1626';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=80;
$one_mysql_log=0;
@@ -431,10 +431,11 @@
# 140519-1011 - Fixed calls in this session to not count monitoring channels
# 140521-2147 - Added manual alt dial options and more agent login error messages
# 140609-2246 - Fixed issue with webform2 button after manual alt-dial
# 140612-1626 - branched 2.9 version
#
$version = '2.8-400c';
$build = '140609-2246';
$version = '2.9-401c';
$build = '140612-1626';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=80;
$one_mysql_log=0;
@@ -3319,12 +3319,13 @@ else
# 140509-2201 - Added frozen_server_call_clear system setting, used in admin.php and AST_timecheck.pl
# 140515-1610 - Added clear list option, Issue #763
# 140521-2101 - Added timer_alt_seconds and more Manual Auto Dial options
# 140612-1628 - branched 2.9 version
#
# make sure you have added a user to the vicidial_users MySQL table with at least user_level 8 to access this page the first time
$admin_version = '2.8-440a';
$build = '140521-2101';
$admin_version = '2.9-441a';
$build = '140612-1628';
$STARTtime = date("U");
$SQLdate = date("Y-m-d H:i:s");
@@ -3319,12 +3319,13 @@ else
# 140509-2201 - Added frozen_server_call_clear system setting, used in admin.php and AST_timecheck.pl
# 140515-1610 - Added clear list option, Issue #763
# 140521-2101 - Added timer_alt_seconds and more Manual Auto Dial options
# 140612-1628 - branched 2.9 version
#
# make sure you have added a user to the vicidial_users MySQL table with at least user_level 8 to access this page the first time
$admin_version = '2.8-440a';
$build = '140521-2101';
$admin_version = '2.9-441a';
$build = '140612-1628';
$STARTtime = date("U");
$SQLdate = date("Y-m-d H:i:s");
@@ -3319,12 +3319,13 @@ else
# 140509-2201 - Added frozen_server_call_clear system setting, used in admin.php and AST_timecheck.pl
# 140515-1610 - Added clear list option, Issue #763
# 140521-2101 - Added timer_alt_seconds and more Manual Auto Dial options
# 140612-1628 - branched 2.9 version
#
# make sure you have added a user to the vicidial_users MySQL table with at least user_level 8 to access this page the first time
$admin_version = '2.8-440a';
$build = '140521-2101';
$admin_version = '2.9-441a';
$build = '140612-1628';
$STARTtime = date("U");
$SQLdate = date("Y-m-d H:i:s");
@@ -3319,12 +3319,13 @@ else
# 140509-2201 - Added frozen_server_call_clear system setting, used in admin.php and AST_timecheck.pl
# 140515-1610 - Added clear list option, Issue #763
# 140521-2101 - Added timer_alt_seconds and more Manual Auto Dial options
# 140612-1628 - branched 2.9 version
#
# make sure you have added a user to the vicidial_users MySQL table with at least user_level 8 to access this page the first time
$admin_version = '2.8-440a';
$build = '140521-2101';
$admin_version = '2.9-441a';
$build = '140612-1628';
$STARTtime = date("U");
$SQLdate = date("Y-m-d H:i:s");
@@ -3319,12 +3319,13 @@ else
# 140509-2201 - Added frozen_server_call_clear system setting, used in admin.php and AST_timecheck.pl
# 140515-1610 - Added clear list option, Issue #763
# 140521-2101 - Added timer_alt_seconds and more Manual Auto Dial options
# 140612-1628 - branched 2.9 version
#
# make sure you have added a user to the vicidial_users MySQL table with at least user_level 8 to access this page the first time
$admin_version = '2.8-440a';
$build = '140521-2101';
$admin_version = '2.9-441a';
$build = '140612-1628';
$STARTtime = date("U");
$SQLdate = date("Y-m-d H:i:s");
@@ -3319,12 +3319,13 @@ else
# 140509-2201 - Added frozen_server_call_clear system setting, used in admin.php and AST_timecheck.pl
# 140515-1610 - Added clear list option, Issue #763
# 140521-2101 - Added timer_alt_seconds and more Manual Auto Dial options
# 140612-1628 - branched 2.9 version
#
# make sure you have added a user to the vicidial_users MySQL table with at least user_level 8 to access this page the first time
$admin_version = '2.8-440a';
$build = '140521-2101';
$admin_version = '2.9-441a';
$build = '140612-1628';
$STARTtime = date("U");
$SQLdate = date("Y-m-d H:i:s");
+1 -1
View File
@@ -9,7 +9,7 @@ NOTE: Upgrading from 2.0.2 to 2.0.3 is below the fifth section
NOTE: Upgrading from 2.0.1 to 2.0.2 is in the next section
NOTE: Upgrading from 1.1.12-3 to 2.0.1 is at the bottom
########## UPGRADING FROM 2.7 TO 2.8 ##########
########## UPGRADING FROM 2.7 TO 2.9 release ##########
OPTIONAL STEPS(But highly recommended) - Backup existing system:
+3 -2
View File
@@ -77,10 +77,11 @@
# 131008-1518 - Changed campaign flag to allow multiple campaigns
# Changed and added several CLI flags, including -t to --test, added --version, --count-only
# Added code to restrict all functions if campaign flag is used
# 140612-2124 - Fixed date issue with wrong variable #772
#
# constants
$build = '131008-1518';
$build = '140612-2124';
$DB=0; # Debug flag, set to 0 for no debug messages. Can be overriden with CLI --debug flag
$US='__';
$MT[0]='';
@@ -147,7 +148,7 @@ $VDL_one = "$Vyear-$Vmon-$Vmday $Vhour:$Vmin:$Vsec";
### get date-time of 10 seconds ago ###
$VDL_tensec = ($secX - 10);
($Vsec,$Vmin,$Vhour,$Vmday,$Vmon,$Vyear,$Vwday,$Vyday,$Visdst) = localtime($VDL_one);
($Vsec,$Vmin,$Vhour,$Vmday,$Vmon,$Vyear,$Vwday,$Vyday,$Visdst) = localtime($VDL_tensec);
$Vyear = ($Vyear + 1900);
$Vmon++;
if ($Vmon < 10) {$Vmon = "0$Vmon";}
@@ -3059,7 +3059,7 @@ INSERT INTO vicidial_inbound_groups(group_id,group_name,group_color,active,queue
INSERT INTO vicidial_lists SET list_id='999',list_name='Default inbound list',campaign_id='TESTCAMP',active='N';
INSERT INTO vicidial_lists SET list_id='998',list_name='Default Manual list',campaign_id='TESTCAMP',active='N';
INSERT INTO system_settings (version,install_date,first_login_trigger) values('2.8b0.5', CURDATE(), 'Y');
INSERT INTO system_settings (version,install_date,first_login_trigger) values('2.9rc1', CURDATE(), 'Y');
INSERT INTO vicidial_status_categories (vsc_id,vsc_name) values('UNDEFINED','Default Category');
@@ -3268,4 +3268,4 @@ UPDATE vicidial_configuration set value='1766' where name='qc_database_version';
UPDATE system_settings set vdc_agent_api_active='1';
UPDATE system_settings SET db_schema_version='1378',db_schema_update_date=NOW(),reload_timestamp=NOW();
UPDATE system_settings SET db_schema_version='1379',db_schema_update_date=NOW(),reload_timestamp=NOW();
@@ -261,3 +261,5 @@ ALTER TABLE vicidial_campaigns MODIFY alt_number_dialing ENUM('N','Y','SELECTED'
ALTER TABLE vicidial_campaigns ADD timer_alt_seconds SMALLINT(5) default '0';
UPDATE system_settings SET db_schema_version='1378',db_schema_update_date=NOW() where db_schema_version < 1378;
UPDATE system_settings SET db_schema_version='1379',version='2.9rc1',db_schema_update_date=NOW() where db_schema_version < 1379;
+1 -1
View File
@@ -1 +1 @@
2.8b0.5
2.9rc1
@@ -431,10 +431,11 @@
# 140519-1011 - Fixed calls in this session to not count monitoring channels
# 140521-2147 - Added manual alt dial options and more agent login error messages
# 140609-2246 - Fixed issue with webform2 button after manual alt-dial
# 140612-1626 - branched 2.9 version
#
$version = '2.8-400c';
$build = '140609-2246';
$version = '2.9-401c';
$build = '140612-1626';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=80;
$one_mysql_log=0;
@@ -3319,12 +3319,13 @@ else
# 140509-2201 - Added frozen_server_call_clear system setting, used in admin.php and AST_timecheck.pl
# 140515-1610 - Added clear list option, Issue #763
# 140521-2101 - Added timer_alt_seconds and more Manual Auto Dial options
# 140612-1628 - branched 2.9 version
#
# make sure you have added a user to the vicidial_users MySQL table with at least user_level 8 to access this page the first time
$admin_version = '2.8-440a';
$build = '140521-2101';
$admin_version = '2.9-441a';
$build = '140612-1628';
$STARTtime = date("U");
$SQLdate = date("Y-m-d H:i:s");
+56 -1
View File
@@ -1,5 +1,6 @@
################ UPGRADE
NOTE: Upgrading from 2.7 to 2.9 is below the first section
NOTE: Upgrading from 2.4 to 2.7 is below the first section
NOTE: Upgrading from 2.2.1 to 2.4 is below the first section
NOTE: Upgrading from 2.0.5 to 2.2.0 is below the second section
@@ -9,7 +10,61 @@ NOTE: Upgrading from 2.0.2 to 2.0.3 is below the fifth section
NOTE: Upgrading from 2.0.1 to 2.0.2 is in the next section
NOTE: Upgrading from 1.1.12-3 to 2.0.1 is at the bottom
########## UPGRADING FROM 2.7 TO 2.8 ##########
########## UPGRADING FROM 2.9 TO 2.10 ##########
OPTIONAL STEPS(But highly recommended) - Backup existing system:
1. Run this for a 1-server system or server with database on it:
(this may take hours on large system)
/usr/share/astguiclient/ADMIN_backup.pl --debugX
2. Run this on dialer/Asterisk-only servers:
(do not run this if you only have one server):
/usr/share/astguiclient/ADMIN_backup.pl --debugX --without-db --without-web
REQUIRED STEPS!!!
1. Check system_settings, make sure you are at DB Schema Version 1378 or higher
If not, run the instructions for 2.7 to 2.9 before this section.
2. upgrade the MySQL asterisk database(you have two options):
A. Running the upgrade file directly from Linux:
mysql -f --database=asterisk < /path/from/root/extras/upgrade_2.10.sql
B. Going into mysql and executing the upgrade sql file:
mysql
use asterisk
\. /path/from/root/extras/upgrade_2.8.sql
quit
3. install new files:
perl ./install.pl
NOTES: If you have customized any scripts in the bin or agi folders,
then make sure you back them up before running the install.pl script.
This script will replace existing files in the astguiclient installation.
4. For each of your ViciDial servers, go the Admin -> Servers -> Modify Server
page and set each one to "Rebuild conf files = Y" and click submit.
This will rebuild the conf files to ensure any changes are updated.
5. On one server only, update your phone codes data:
/usr/share/astguiclient/ADMIN_area_code_populate.pl --purge-table --debug
OTHER CHANGES:
1. Just branched 2.9, no changes yet
########## UPGRADING FROM 2.7 TO 2.8 (2.9 release branch) ##########
OPTIONAL STEPS(But highly recommended) - Backup existing system:
+3 -2
View File
@@ -77,10 +77,11 @@
# 131008-1518 - Changed campaign flag to allow multiple campaigns
# Changed and added several CLI flags, including -t to --test, added --version, --count-only
# Added code to restrict all functions if campaign flag is used
# 140612-2124 - Fixed date issue with wrong variable #772
#
# constants
$build = '131008-1518';
$build = '140612-2124';
$DB=0; # Debug flag, set to 0 for no debug messages. Can be overriden with CLI --debug flag
$US='__';
$MT[0]='';
@@ -147,7 +148,7 @@ $VDL_one = "$Vyear-$Vmon-$Vmday $Vhour:$Vmin:$Vsec";
### get date-time of 10 seconds ago ###
$VDL_tensec = ($secX - 10);
($Vsec,$Vmin,$Vhour,$Vmday,$Vmon,$Vyear,$Vwday,$Vyday,$Visdst) = localtime($VDL_one);
($Vsec,$Vmin,$Vhour,$Vmday,$Vmon,$Vyear,$Vwday,$Vyday,$Visdst) = localtime($VDL_tensec);
$Vyear = ($Vyear + 1900);
$Vmon++;
if ($Vmon < 10) {$Vmon = "0$Vmon";}
@@ -3059,7 +3059,7 @@ INSERT INTO vicidial_inbound_groups(group_id,group_name,group_color,active,queue
INSERT INTO vicidial_lists SET list_id='999',list_name='Default inbound list',campaign_id='TESTCAMP',active='N';
INSERT INTO vicidial_lists SET list_id='998',list_name='Default Manual list',campaign_id='TESTCAMP',active='N';
INSERT INTO system_settings (version,install_date,first_login_trigger) values('2.8b0.5', CURDATE(), 'Y');
INSERT INTO system_settings (version,install_date,first_login_trigger) values('2.10b0.5', CURDATE(), 'Y');
INSERT INTO vicidial_status_categories (vsc_id,vsc_name) values('UNDEFINED','Default Category');
@@ -3268,4 +3268,4 @@ UPDATE vicidial_configuration set value='1766' where name='qc_database_version';
UPDATE system_settings set vdc_agent_api_active='1';
UPDATE system_settings SET db_schema_version='1378',db_schema_update_date=NOW(),reload_timestamp=NOW();
UPDATE system_settings SET db_schema_version='1380',db_schema_update_date=NOW(),reload_timestamp=NOW();
+3
View File
@@ -0,0 +1,3 @@
UPDATE system_settings SET db_schema_version='1379',version='2.9rc1tk',db_schema_update_date=NOW() where db_schema_version < 1379;
UPDATE system_settings SET db_schema_version='1380',version='2.10b0.5',db_schema_update_date=NOW() where db_schema_version < 1380;
+1 -1
View File
@@ -1 +1 @@
2.8b0.5
2.10b0.5
+3 -2
View File
@@ -431,10 +431,11 @@
# 140519-1011 - Fixed calls in this session to not count monitoring channels
# 140521-2147 - Added manual alt dial options and more agent login error messages
# 140609-2246 - Fixed issue with webform2 button after manual alt-dial
# 140612-2152 - branched 2.9 version, raised trunk to 2.10
#
$version = '2.8-400c';
$build = '140609-2246';
$version = '2.10-402c';
$build = '140612-2152';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=80;
$one_mysql_log=0;
+3 -2
View File
@@ -3319,12 +3319,13 @@ else
# 140509-2201 - Added frozen_server_call_clear system setting, used in admin.php and AST_timecheck.pl
# 140515-1610 - Added clear list option, Issue #763
# 140521-2101 - Added timer_alt_seconds and more Manual Auto Dial options
# 140612-2153 - branched 2.9 version, raised trunk to 2.10
#
# make sure you have added a user to the vicidial_users MySQL table with at least user_level 8 to access this page the first time
$admin_version = '2.8-440a';
$build = '140521-2101';
$admin_version = '2.10-442a';
$build = '140612-2153';
$STARTtime = date("U");
$SQLdate = date("Y-m-d H:i:s");