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
This commit is contained in:
mattf
2022-03-10 03:23:13 +00:00
parent 66d1dbd31a
commit 24831e8cef
+4 -3
View File
@@ -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");
}