From 24831e8cef656a748cd320529d58139a319bd3c1 Mon Sep 17 00:00:00 2001 From: mattf Date: Thu, 10 Mar 2022 03:23:13 +0000 Subject: [PATCH] Fix for issue with pausing when calling agent phone again while already paused in vicidial.php git-svn-id: svn://192.168.202.10@3584 3d104415-ff17-0410-8863-d5cf3c621b8a --- www/agc/vicidial.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/www/agc/vicidial.php b/www/agc/vicidial.php index 176ea904..bcc460e0 100644 --- a/www/agc/vicidial.php +++ b/www/agc/vicidial.php @@ -688,10 +688,11 @@ # 220217-1938 - Added agent_hide_hangup campaign feature # 220219-0133 - Added allow_web_debug system setting # 220303-2018 - Changes to some input variable filters +# 220309-2215 - Fix for issue with pausing when calling agent phone again while already paused # -$version = '2.14-656c'; -$build = '220303-2018'; +$version = '2.14-657c'; +$build = '220309-2215'; $php_script = 'vicidial.php'; $mel=1; # Mysql Error Log enabled = 1 $mysql_log_count=98; @@ -16538,7 +16539,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection) } delete xmlhttp; } - if ( (auto_dial_level > 0) && (tempstate != 'LOGIN') ) + if ( (auto_dial_level > 0) && (tempstate != 'LOGIN') && (VDRP_stage != 'PAUSED') ) { AutoDial_ReSume_PauSe("VDADpause"); }