From 5341e7432b9938ffa7e49e8d816c9388b20aea46 Mon Sep 17 00:00:00 2001 From: mattf Date: Fri, 31 Jul 2026 13:27:25 +0000 Subject: [PATCH] Added xfer_button_commit options.php setting in agent screen git-svn-id: svn://192.168.202.10@4008 3d104415-ff17-0410-8863-d5cf3c621b8a --- www/agc/options-example.php | 4 +++- www/agc/vicidial.php | 9 +++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/www/agc/options-example.php b/www/agc/options-example.php index 23898920..1c19b6f6 100644 --- a/www/agc/options-example.php +++ b/www/agc/options-example.php @@ -1,7 +1,7 @@ LICENSE: AGPLv2 +# Copyright (C) 2026 Matt Florell LICENSE: AGPLv2 # # rename this file to options.php for the settings here to go into effect # @@ -31,6 +31,7 @@ # 231109-0830 - Changed link_to_grey_version to disabled by default # 231115-1610 - Added allow_vlc_lookup, default_consultative # 240802-1250 - Added options to customize PHP error reporting +# 260731-0917 - Added xfer_button_commit option # $conf_silent_prefix = '5'; # vicidial_conferences prefix to enter silently and muted for recording @@ -83,6 +84,7 @@ $dial_override_limit = '6'; # number of dial-override calls per minute that will $dead_logging_version = '0'; # experimental dead logging enabled, can reverse false DEAD call logging $allow_vlc_lookup = '1'; # allow lead lookup by vendor_lead_code $default_consultative = '0'; # set the CONSULTATIVE checkbox on the transfer panel be checked by default +$xfer_button_commit = '0'; # set to 1 to have the Customer Info 'commit' action run when the Transfer-Conf panel is opened $TEST_all_statuses = '0'; # TEST variable allows all statuses in dispo screen diff --git a/www/agc/vicidial.php b/www/agc/vicidial.php index 25dae70b..020443ac 100644 --- a/www/agc/vicidial.php +++ b/www/agc/vicidial.php @@ -760,10 +760,11 @@ # 260408-1850 - Added max_inbound_auto_reenable option # 260529-0914 - Added AMDnotesBox # 260615-0039 - Fix for transfer issue +# 260731-0918 - Added xfer_button_commit options.php setting # -$version = '2.14-726c'; -$build = '260615-0039'; +$version = '2.14-727c'; +$build = '260731-0918'; $php_script = 'vicidial.php'; $mel=1; # Mysql Error Log enabled = 1 $mysql_log_count=110; @@ -1108,6 +1109,7 @@ $user_pass_webform = '0'; # set to 1 or 2 to return to default of including the $phone_login_webform = '0'; # set to 1 or 2 to return to default of including the 'phone_login'(1) and 'phone_pass'(2) by default in webform URLs $login_submit_once = '1'; # set to 0 to remove the "disable the login submit button after submitting" feature $default_consultative = '0'; # set the CONSULTATIVE checkbox on the transfer panel be checked by default +$xfer_button_commit = '0'; # set to 1 to have the Customer Info 'commit' action run when the Transfer-Conf panel is opened $TEST_all_statuses = '0'; # TEST variable allows all statuses in dispo screen, FOR DEBUG ONLY @@ -7018,6 +7020,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} var redirectserverip=''; var hangup_again_link_trigger=; var VCAdata='x'; + var xfer_button_commit=''; var DiaLControl_auto_HTML = "\" border=\"0\" alt=\"You are paused\" />"; var DiaLControl_auto_HTML_ready = "\" border=\"0\" alt=\"You are active\" />"; var DiaLControl_auto_HTML_OFF = "\" border=\"0\" alt=\"pause button disabled\" />"; @@ -23628,6 +23631,8 @@ function phone_number_format(formatphone) { if (showxfervar == 'ON') { + if (xfer_button_commit == '1') + {CustomerData_update('YES');} var xfer_height = ; if (alt_phone_dialing>0) {xfer_height = (xfer_height + 20);} if ( (auto_dial_level == 0) && (manual_dial_preview == 1) ) {xfer_height = (xfer_height + 20);}