diff --git a/UPGRADE b/UPGRADE index cacecc53..fe02d625 100644 --- a/UPGRADE +++ b/UPGRADE @@ -1,5 +1,6 @@ ################ UPGRADE +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 NOTE: Upgrading from 2.0.4 to 2.0.5 is below the third section @@ -8,6 +9,55 @@ 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 ########## + +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 1347 or higher + If not, run the instructions for 2.4 to 2.7 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.8.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. Nothing yet, 2.7 was just branched, trunk becomes 2.8 + + + + ########## UPGRADING FROM 2.4 TO 2.6 ########## OPTIONAL STEPS(But highly recommended) - Backup existing system: diff --git a/extras/MySQL_AST_CREATE_tables.sql b/extras/MySQL_AST_CREATE_tables.sql index 20abe351..a9577d15 100644 --- a/extras/MySQL_AST_CREATE_tables.sql +++ b/extras/MySQL_AST_CREATE_tables.sql @@ -2918,7 +2918,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.6b0.5', CURDATE(), 'Y'); +INSERT INTO system_settings (version,install_date,first_login_trigger) values('2.8b0.5', CURDATE(), 'Y'); INSERT INTO vicidial_status_categories (vsc_id,vsc_name) values('UNDEFINED','Default Category'); @@ -3123,4 +3123,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='1347',db_schema_update_date=NOW(); +UPDATE system_settings SET db_schema_version='1349',db_schema_update_date=NOW(); diff --git a/extras/upgrade_2.8.sql b/extras/upgrade_2.8.sql new file mode 100644 index 00000000..4008d951 --- /dev/null +++ b/extras/upgrade_2.8.sql @@ -0,0 +1 @@ +UPDATE system_settings SET db_schema_version='1349',version='2.8b0.5',db_schema_update_date=NOW() where db_schema_version < 1349; diff --git a/version b/version index 2e1a49db..65966096 100644 --- a/version +++ b/version @@ -1 +1 @@ -2.6b0.5 +2.8b0.5 diff --git a/www/agc/vicidial.php b/www/agc/vicidial.php index 720198c3..775966cf 100644 --- a/www/agc/vicidial.php +++ b/www/agc/vicidial.php @@ -401,10 +401,11 @@ # 130412-1359 - Added SIP message for failed calls # 130417-1937 - Changed locked agent choose in-group/closer/territories to auto-close # 130508-2223 - Cleanup for other language builds +# 130508-2307 - Branched 2.7, trunk becomes 2.8 # -$version = '2.6-369c'; -$build = '130508-2223'; +$version = '2.8-371c'; +$build = '130508-2307'; $mel=1; # Mysql Error Log enabled = 1 $mysql_log_count=79; $one_mysql_log=0; diff --git a/www/vicidial/admin.php b/www/vicidial/admin.php index 1ae76336..beb9860b 100644 --- a/www/vicidial/admin.php +++ b/www/vicidial/admin.php @@ -3244,12 +3244,13 @@ else # 130424-1601 - Added survey_wait_sec campaign survey option # 130425-0700 - Added DROP option for survey_no_response_action to go to campaign drop method # 130503-1509 - Added red color to server table on reports page if asterisk out of sync +# 130508-2306 - Branched 2.7, trunk becomes 2.8 # # 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.6-400a'; -$build = '130503-1509'; +$admin_version = '2.8-402a'; +$build = '130508-2306'; $STARTtime = date("U"); $SQLdate = date("Y-m-d H:i:s");