From 571c504f87fda3f29b1f60bded7949fb4cda0185 Mon Sep 17 00:00:00 2001 From: mattf Date: Fri, 28 Aug 2020 19:43:35 +0000 Subject: [PATCH] Fixed issue with dispo URL statuse being sent for CBHOLD statuses in vdc_db_query.php git-svn-id: svn://192.168.202.10@3286 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/www/agc/vdc_db_query.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/agc_2-X/trunk/www/agc/vdc_db_query.php b/agc_2-X/trunk/www/agc/vdc_db_query.php index d48d36dc..a6600ebe 100644 --- a/agc_2-X/trunk/www/agc/vdc_db_query.php +++ b/agc_2-X/trunk/www/agc/vdc_db_query.php @@ -495,10 +495,11 @@ # 200712-2034 - Fix for use_custom_cid variable issue # 200719-1645 - Added EVERY_NEW_ALLCALL queuemetrics_pausereason option # 200825-2342 - Added option for manual-only sip actions +# 200828-1535 - Fixed issue with dispo URL statuse being sent for CBHOLD statuses # -$version = '2.14-388'; -$build = '200825-2342'; +$version = '2.14-389'; +$build = '200828-1535'; $php_script = 'vdc_db_query.php'; $mel=1; # Mysql Error Log enabled = 1 $mysql_log_count=839; @@ -14069,6 +14070,9 @@ if ($ACTION == 'updateDISPO') $entry_list_id = urlencode(trim($row[34])); } + if ($dispo=="CBHOLD" && strlen($log_dispo_choice)>0 && $dispo!=$log_dispo_choice) {$dispo=$log_dispo_choice;} + + if (preg_match('/list_name--B--|list_description--B--/i',$dispo_call_urlARY[$j])) { $stmt = "SELECT list_name,list_description from vicidial_lists where list_id='$list_id' limit 1;";