From 86199aead8a2ca68980f70535ba3918ed5fe9ea7 Mon Sep 17 00:00:00 2001 From: mattf Date: Mon, 13 Sep 2021 12:35:19 +0000 Subject: [PATCH] Fix for alternate number auto-dial logging issues in vicidial.php git-svn-id: svn://192.168.202.10@3520 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/www/agc/vicidial.php | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/agc_2-X/trunk/www/agc/vicidial.php b/agc_2-X/trunk/www/agc/vicidial.php index f27c59e3..f8069ce2 100644 --- a/agc_2-X/trunk/www/agc/vicidial.php +++ b/agc_2-X/trunk/www/agc/vicidial.php @@ -680,10 +680,11 @@ # 210715-1215 - Added 24-Hour Call Count Limit features # 210719-0907 - Added new state override options for 24-Hour Call Count Limits # 210720-0850 - Fixes for inconsistent hangup_xfer_record_start behavior +# 210913-0831 - Fix for alternate number auto-dial logging issues # -$version = '2.14-648c'; -$build = '210720-0850'; +$version = '2.14-649c'; +$build = '210913-0831'; $php_script = 'vicidial.php'; $mel=1; # Mysql Error Log enabled = 1 $mysql_log_count=98; @@ -12590,15 +12591,26 @@ function set_length(SLnumber,SLlength_goal,SLdirection) {showDiv('CBcommentsBox');} } if (dialed_label == 'ALT') - {document.getElementById("CusTInfOSpaN").innerHTML = " ";} + { + lead_dial_number = document.vicidial_form.alt_phone.value; + dialed_number = lead_dial_number; + document.getElementById("CusTInfOSpaN").innerHTML = " "; + } if (dialed_label == 'ADDR3') - {document.getElementById("CusTInfOSpaN").innerHTML = " ";} + { + lead_dial_number = document.vicidial_form.address3.value; + dialed_number = lead_dial_number; + document.getElementById("CusTInfOSpaN").innerHTML = " "; + } var REGalt_dial = new RegExp("X","g"); if (dialed_label.match(REGalt_dial)) { document.getElementById("CusTInfOSpaN").innerHTML = " " + dialed_label + ""; document.getElementById("EAcommentsBoxA").innerHTML = " " + EAphone_code + " " + EAphone_number; + lead_dial_number = EAphone_number; + dialed_number = lead_dial_number; + var EAactive_link = ''; if (EAalt_phone_active == 'Y') {EAactive_link = "Change this phone number to INACTIVE";}