diff --git a/www/agc/vdc_db_query.php b/www/agc/vdc_db_query.php index cc1bb97e..d97b12b9 100644 --- a/www/agc/vdc_db_query.php +++ b/www/agc/vdc_db_query.php @@ -483,10 +483,11 @@ # 191017-2205 - Added code for filtered inbound max calls # 191030-1536 - Added code to gather VM Message Group entries # 191104-1800 - Fixes for translations +# 191107-1010 - Fix for issue #1180, hide phone number in callback info # -$version = '2.14-376'; -$build = '191104-1800'; +$version = '2.14-377'; +$build = '191107-1010'; $php_script = 'vdc_db_query.php'; $mel=1; # Mysql Error Log enabled = 1 $mysql_log_count=824; @@ -17508,6 +17509,9 @@ if ($ACTION == 'LEADINFOview') if ($info_to_print > 0) { $row=mysqli_fetch_row($rslt); + $phone_number_display = $row[6]; + if ($disable_alter_custphone == 'HIDE') + {$phone_number_display = 'XXXXXXXXXX';} ##### BEGIN check for postal_code and phone time zones if alert enabled $post_phone_time_diff_alert_message=''; @@ -17625,7 +17629,7 @@ if ($ACTION == 'LEADINFOview') {$INFOout .= "$label_phone_code:   $row[5]";} if ( ($label_phone_number!='---HIDE---') or ($label_hide_field_logs=='N') ) { - $INFOout .= "$label_phone_number:   $row[6] -         "; + $INFOout .= "$label_phone_number:   $phone_number_display -         "; if ($hide_dial_links < 1) { if ($manual_dial_filter > 0) diff --git a/www/agc/vicidial.php b/www/agc/vicidial.php index 13b5d78c..b150029b 100644 --- a/www/agc/vicidial.php +++ b/www/agc/vicidial.php @@ -624,10 +624,11 @@ # 191104-1759 - Fixes for translations # 191105-0824 - Fix for issue #1177 # 191107-0935 - Added $webphone_call_seconds option +# 191107-1011 - Fix for issue #1180, hide phone number in callback list # -$version = '2.14-593c'; -$build = '191107-0935'; +$version = '2.14-594c'; +$build = '191107-1011'; $mel=1; # Mysql Error Log enabled = 1 $mysql_log_count=91; $one_mysql_log=0; @@ -7668,6 +7669,9 @@ function set_length(SLnumber,SLlength_goal,SLdirection) var call_array = all_CBs_array[conv_ct].split("-!T-"); var CB_name = call_array[0] + " " + call_array[1]; var CB_phone = call_array[2]; + var CB_phone_display = call_array[2]; + if (disable_alter_custphone == 'HIDE') + {CB_phone_display = 'XXXXXXXXXX';} var CB_id = call_array[3]; var CB_lead_id = call_array[4]; var CB_campaign = call_array[5]; @@ -7695,11 +7699,11 @@ function set_length(SLnumber,SLlength_goal,SLdirection) var alt_link = " "; if (CB_alt_phone.length < 3) {alt_link = " ";} - CB_HTML = CB_HTML + "" + loop_ct + "" + CB_callback_time + "" + CB_phone + "" + CB_comments_ten + " - " + CB_name + "" + CB_status + "" + CB_campaign + "" + CB_lastcall_time + "  " + alt_link + "" + CB_cust_content; + CB_HTML = CB_HTML + "" + loop_ct + "" + CB_callback_time + "" + CB_phone_display + "" + CB_comments_ten + " - " + CB_name + "" + CB_status + "" + CB_campaign + "" + CB_lastcall_time + "  " + alt_link + "" + CB_cust_content; } else { - CB_HTML = CB_HTML + "" + loop_ct + "" + CB_callback_time + "" + CB_phone + "" + CB_comments_ten + " - INFO" + CB_name + "" + CB_status + "" + CB_campaign + "" + CB_lastcall_time + "   + CB_cust_content"; + CB_HTML = CB_HTML + "" + loop_ct + "" + CB_callback_time + "" + CB_phone_display + "" + CB_comments_ten + " - INFO" + CB_name + "" + CB_status + "" + CB_campaign + "" + CB_lastcall_time + "   + CB_cust_content"; } } CB_HTML = CB_HTML + "";