diff --git a/extras/upgrade_2.0.4.sql b/extras/upgrade_2.0.4.sql index 94cba533..780181f6 100644 --- a/extras/upgrade_2.0.4.sql +++ b/extras/upgrade_2.0.4.sql @@ -1,4 +1,14 @@ -THESE CHANGES ARE NOT FOR PRODUCTION USE YET, DO NOT APPLY THEM!!!!!!!!!!!!!!!!!!!!! +ALTER TABLE vicidial_campaigns ADD list_order_mix VARCHAR(20) default 'DISABLED'; + + CREATE TABLE vicidial_campaigns_list_mix ( +vcl_id VARCHAR(20) PRIMARY KEY NOT NULL, +vcl_name VARCHAR(50), +campaign_id VARCHAR(8), +list_mix_container TEXT, +mix_method ENUM('EVEN_MIX','IN_ORDER','RANDOM') default 'IN_ORDER', +status ENUM('ACTIVE','INACTIVE') default 'INACTIVE', +index (campaign_id) +); @@ -6,6 +16,10 @@ THESE CHANGES ARE NOT FOR PRODUCTION USE YET, DO NOT APPLY THEM!!!!!!!!!!!!!!!!! +!!!!!!! CHANGES BELOW THIS LINE ARE NOT FOR PRODUCTION USE YET, DO NOT APPLY THEM!!!!!!!!!!!!!!!!!!!!! + + + ALTER TABLE vicidial_inbound_groups ADD moh_extension VARCHAR(20); ALTER TABLE vicidial_inbound_groups ADD prompt_interval SMALLINT(5) UNSIGNED default '60'; ALTER TABLE vicidial_inbound_groups ADD announce_place_in_line ENUM('Y','N') default 'N'; @@ -30,14 +44,3 @@ ALTER TABLE vicidial_user_groups ADD default_xfer_inbound_group VARCHAR(20) -ALTER TABLE vicidial_campaigns ADD list_order_mix VARCHAR(20) default 'DISABLED'; - - CREATE TABLE vicidial_campaigns_list_mix ( -vcl_id VARCHAR(20) PRIMARY KEY NOT NULL, -vcl_name VARCHAR(50), -campaign_id VARCHAR(8), -list_mix_container TEXT, -mix_method ENUM('EVEN_MIX','IN_ORDER','RANDOM') default 'EVEN_MIX', -status ENUM('ACTIVE','INACTIVE') default 'INACTIVE', -index (campaign_id) -); diff --git a/translations/raw_translation_files/TO_BE_TRANSLATED_2.0.4.txt b/translations/raw_translation_files/TO_BE_TRANSLATED_2.0.4.txt index 91258cab..34347706 100644 --- a/translations/raw_translation_files/TO_BE_TRANSLATED_2.0.4.txt +++ b/translations/raw_translation_files/TO_BE_TRANSLATED_2.0.4.txt @@ -20,6 +20,12 @@ Campaign List Mixes|| Pause Codes || List Mix || Campaigns Main || +List Order Mix -<\/B> Overrides the Lead Order and Dial Status fields. Will use the List and status parameters for the selected List Mix entry in the List Mix sub section instead. Default is DISABLED|| +List Mix ID -<\/B> ID of the list mix. Must be from 2-20 characters in length with no spaces or other special punctuation.|| +List Mix Name -<\/B> Descriptive name of the list mix. Must be from 2-50 characters in length|| +List Mix Detail -<\/B> The composition of the List Mix entry. Contains the List ID, mix order, percentages and statuses that make up this List Mix. The percentages always have to add up to 100, and the lists all have to be active and set to the campaign for the order mix entry to be Activated|| +List Mix Method -<\/B> The method of mixing all of the parts of the List Mix Detail together. EVEN_MIX will mix leads from each part interleaved with the other parts, like this 1,2,3,1,2,3,1,2,3. IN_ORDER will put the leads in the order in which they are listed in the List Mix Detail screen 1,1,1,2,2,2,3,3,3. RANDOM will put them in RANDOM order 1,3,2,1,1,3,2,1,3. Default is IN_ORDER.|| +LIST MIXES FOR THIS CAMPAIGN: || ############################################################ CLIENT diff --git a/www/vicidial/admin.php b/www/vicidial/admin.php index 83302eba..a37527b4 100644 --- a/www/vicidial/admin.php +++ b/www/vicidial/admin.php @@ -1015,11 +1015,12 @@ $list_mix_container = ereg_replace(";","",$list_mix_container); # 70322-1455 - Added sipsak messages parameters # 70402-1157 - Added HOME link and entry to system_settings table, added QM link on reports section # 70516-1628 - Started reformatting campaigns to use submenus to break up options +# 70529-1653 - Added help for list mix # # 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.0.96'; -$build = '70516-1628'; +$admin_version = '2.0.97'; +$build = '70529-1653'; $STARTtime = date("U"); $SQLdate = date("Y-m-d H:i:s"); @@ -1997,6 +1998,31 @@ echo "