diff --git a/agc_2-X/trunk/agi/VD_amd.agi b/agc_2-X/trunk/agi/VD_amd.agi index 24fc63ec..d9d15b79 100644 --- a/agc_2-X/trunk/agi/VD_amd.agi +++ b/agc_2-X/trunk/agi/VD_amd.agi @@ -876,6 +876,7 @@ else { @aryA = $sthA->fetchrow_array; $TTS_text = $aryA[0]; + $TTS_text =~s/^DYN//gi; } $sthA->finish(); } diff --git a/agc_2-X/trunk/extras/MySQL_AST_CREATE_tables.sql b/agc_2-X/trunk/extras/MySQL_AST_CREATE_tables.sql index 9900c95e..07a4ce75 100644 --- a/agc_2-X/trunk/extras/MySQL_AST_CREATE_tables.sql +++ b/agc_2-X/trunk/extras/MySQL_AST_CREATE_tables.sql @@ -569,7 +569,7 @@ agent_choose_ingroups ENUM('0','1') default '1', closer_campaigns TEXT, scheduled_callbacks ENUM('0','1') default '1', agentonly_callbacks ENUM('0','1') default '0', -agentcall_manual ENUM('0','1') default '0', +agentcall_manual ENUM('0','1','2','3','4','5') default '0', vicidial_recording ENUM('0','1') default '1', vicidial_transfers ENUM('0','1') default '1', delete_filters ENUM('0','1') default '0', @@ -4638,4 +4638,4 @@ INSERT INTO vicidial_settings_containers(container_id,container_notes,container_ UPDATE system_settings set vdc_agent_api_active='1'; -UPDATE system_settings SET db_schema_version='1594',db_schema_update_date=NOW(),reload_timestamp=NOW(); +UPDATE system_settings SET db_schema_version='1595',db_schema_update_date=NOW(),reload_timestamp=NOW(); diff --git a/agc_2-X/trunk/extras/upgrade_2.14.sql b/agc_2-X/trunk/extras/upgrade_2.14.sql index d6a00887..a99ca5d9 100644 --- a/agc_2-X/trunk/extras/upgrade_2.14.sql +++ b/agc_2-X/trunk/extras/upgrade_2.14.sql @@ -1238,3 +1238,7 @@ index (call_date) ) ENGINE=MyISAM; UPDATE system_settings SET db_schema_version='1594',db_schema_update_date=NOW() where db_schema_version < 1594; + +ALTER TABLE vicidial_users MODIFY agentcall_manual ENUM('0','1','2','3','4','5') default '0'; + +UPDATE system_settings SET db_schema_version='1595',db_schema_update_date=NOW() where db_schema_version < 1595; diff --git a/agc_2-X/trunk/extras/vdc_LTT_generate.php b/agc_2-X/trunk/extras/vdc_LTT_generate.php index 0b2aea44..7899f9ef 100644 --- a/agc_2-X/trunk/extras/vdc_LTT_generate.php +++ b/agc_2-X/trunk/extras/vdc_LTT_generate.php @@ -4,9 +4,14 @@ # Copyright (C) 2020 Matt Florell LICENSE: AGPLv2 # # This script is designed to generate a list of wav audio files to play and then -# insert a record into the vicidial_lead_messages table +# insert a record into the vicidial_lead_messages table. This web page should be +# launched from the agent webform or as an IFRAME in a script tab while on a +# call(you can use Get-Call-Launch or the Trigger function to auto-launch a +# webform). # -# !!! IMPORTANT !!! You must customize this script to your needs! +# !!! IMPORTANT !!! You must customize this script to your needs, and you must +# have the campaign setting for 'Answering Machine Message' +# set to 'LTTagent' for this to work. # ### Example line to put in the campaign WEBFORM field: # http://127.0.0.1/agc/vdc_LTT_generate.php @@ -223,9 +228,13 @@ else # EXship07.wav = 'Goodbye' # # TEST URL: http://127.0.0.1/agc/vdc_LTT_generate.php?lead_id=101&user=6666&address3=ACME+Shipping&vendor_lead_code=A1234567&owner=876543&province=2020-12-01&security_phrase=123456.78&alt_phone=3125551212 + # # SAMPLE WEBFORM URL: # VARhttp://127.0.0.1/agc/vdc_LTT_generate.php?lead_id=--A--lead_id--B--&user=--A--user--B--&address3=--A--address3--B--&vendor_lead_code=--A--vendor_lead_code--B--&owner=--A--owner--B--&province=--A--province--B--&security_phrase=--A--security_phrase--B--&alt_phone=--A--alt_phone--B-- # + # NOTES: + # After this page loads, the agent will just need to open the transfer panel and click on the 'VM' button to send the call to the customized message(or use a properly-configured HotKey to do so). Keep in mind that there are many campaign settings that can override this function, so you will want to disable 'AM Message Wildcards' and 'VM Message Groups', and also set the 'Answering Machine Message' to 'LTTagent' for this to work. + # if ($address3 == 'ACME Shipping') {$EXship01a = 'EXshipACME.wav';} if ($address3 == 'International Parcel Shipping') {$EXship01a = 'EXshipIPS.wav';} diff --git a/agc_2-X/trunk/www/agc/vicidial.php b/agc_2-X/trunk/www/agc/vicidial.php index 24865e11..2e5ef41d 100644 --- a/agc_2-X/trunk/www/agc/vicidial.php +++ b/agc_2-X/trunk/www/agc/vicidial.php @@ -636,10 +636,11 @@ # 200406-1205 - Fix for gender custom field population, Issue #1205 # 200407-1822 - Added Agent Browser Call Alert Sounds # 200408-0952 - Small fix for Issue #1188, allow dial override +# 200425-0948 - Added 2nd option for agentcall_manual to disable FAST DIAL # -$version = '2.14-605c'; -$build = '200408-0952'; +$version = '2.14-606c'; +$build = '200425-0948'; $mel=1; # Mysql Error Log enabled = 1 $mysql_log_count=91; $one_mysql_log=0; @@ -2322,7 +2323,7 @@ else } if ($manual_preview_dial == 'DISABLED') {$manual_dial_preview = 0;} - if ($manual_dial_override == 'ALLOW_ALL') + if ( ($manual_dial_override == 'ALLOW_ALL') and ($agentcall_manual < 1) ) {$agentcall_manual = 1;} if ($manual_dial_override == 'DISABLE_ALL') {$agentcall_manual = 0;} @@ -18589,7 +18590,7 @@ function phone_number_format(formatphone) { if (allow_alerts < 1) {hideDiv('AgentAlertSpan');} // if ( (agentcall_manual != '1') && (starting_dial_level > 0) ) - if (agentcall_manual != '1') + if (agentcall_manual < 1) {hideDiv('ManuaLDiaLButtons');} if (agent_call_log_view != '1') { @@ -20677,7 +20678,11 @@ $zi=2; -        +    + + + +   
diff --git a/agc_2-X/trunk/www/vicidial/admin.php b/agc_2-X/trunk/www/vicidial/admin.php index e95e27c2..96fc7752 100644 --- a/agc_2-X/trunk/www/vicidial/admin.php +++ b/agc_2-X/trunk/www/vicidial/admin.php @@ -4660,12 +4660,13 @@ else # 200406-2319 - Small changes to entries_per_page display(w/ display all), also added it for DIDs # 200407-1030 - Added browser_call_alerts system setting # 200409-1719 - Reorganized Inbound admin section +# 200425-0949 - Added 2nd option for agentcall_manual to disable FAST DIAL # # make sure you have added a user to the vicidial_users MySQL table with at least user_level 9 to access this page the first time -$admin_version = '2.14-750a'; -$build = '200409-1719'; +$admin_version = '2.14-751a'; +$build = '200425-0949'; $STARTtime = date("U"); $SQLdate = date("Y-m-d H:i:s"); @@ -22374,7 +22375,7 @@ if ($ADD==3) echo ""._QXZ("Scheduled Callbacks").": $NWB#users-scheduled_callbacks$NWE\n"; echo ""._QXZ("Agent-Only Callbacks").": $NWB#users-agentonly_callbacks$NWE\n"; echo ""._QXZ("Next-Dial My Callbacks Override").": $NWB#users-next_dial_my_callbacks$NWE\n"; - echo ""._QXZ("Agent Call Manual").": $NWB#users-agentcall_manual$NWE\n"; + echo ""._QXZ("Agent Call Manual").": $NWB#users-agentcall_manual$NWE\n"; if ($SSallow_emails > 0) { echo ""._QXZ("Agent Call Email").": $NWB#users-agentcall_email$NWE\n"; } diff --git a/agc_2-X/trunk/www/vicidial/help_documentation.txt b/agc_2-X/trunk/www/vicidial/help_documentation.txt index 21753504..7e0ec6c8 100644 --- a/agc_2-X/trunk/www/vicidial/help_documentation.txt +++ b/agc_2-X/trunk/www/vicidial/help_documentation.txt @@ -1,4 +1,4 @@ -# version: 20200425013001 +# version: 20200425095601 users-user User ID This field is where you put the users ID number, can be up to 8 digits in length, Must be at least 2 characters in length. users-pass Password This field is where you put the users password. Must be at least 2 characters in length. A medium strength user password will be at least 10 characters in length, and a strong user password will be at least 20 characters in length and have letters as well as at least one number. It is recommended that you use a longer password if possible, stringing together several unrelated words with no spaces, and a number somewhere in the string. The maximum size of a password is 100 characters. users-force_change_password Force Change Password If this option is set to Y then the user will be prompted to change their password the next time they log in to the administration webpage. Default is N. @@ -20,7 +20,7 @@ users-agent_choose_territories Agent Choose Territories This option if set users-scheduled_callbacks Scheduled Callbacks This option allows an agent to disposition a call as CALLBK and choose the date and time at which the lead will be re-activated. users-agentonly_callbacks Agent-Only Callbacks This option allows an agent to set a callback so that they are the only Agent that can call the customer back. This also allows the agent to see their callback listings and call them back any time they want to. users-next_dial_my_callbacks Next-Dial My Callbacks Override This option, if not set to NOT_ACTIVE, will override the campaign option set for Next-Dial My Callbacks. Default is NOT_ACTIVE. -users-agentcall_manual Agent Call Manual This option allows an agent to manually enter a new lead into the system and call them. This also allows the calling of any phone number from their agent screen and puts that call into their session. Use this option with caution. +users-agentcall_manual Agent Call Manual This option allows an agent to manually enter a new lead into the system and call them. This also allows the calling of any phone number from their agent screen and puts that call into their session. Use this option with caution. Setting this option to 2 will allow manual dialing but disable the FAST DIAL function on the agent screen. users-agentcall_email Agent Call Email This option is disabled. users-agentcall_chat Agent Call Chat This option is disabled. users-agent_recording Agent Recording This option can prevent an agent from doing any recordings after they log in to the agent screen. This option must be on for the agent screen to follow the campaign recording settings.