Fix for shift enforcement dispo-call-url issue in agent screen

git-svn-id: svn://192.168.202.10@3104 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2019-05-30 03:40:32 +00:00
parent 111a0cfcdb
commit 882fa8294f
+19 -3
View File
@@ -611,10 +611,11 @@
# 190310-2017 - Added mute_recordings system/campaign/user option
# 190330-0815 - Added logged_in_refresh_link option
# 190406-1615 - Added agent next_dial_my_callbacks override
# 190529-2144 - Fix for shift enforcement dispo-call-url issue
#
$version = '2.14-580c';
$build = '190406-1615';
$version = '2.14-581c';
$build = '190529-2144';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=87;
$one_mysql_log=0;
@@ -4823,6 +4824,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
var manual_entry_dial=0;
var mute_recordings='<?php echo $mute_recordings ?>';
var active_rec_channel='';
var trigger_shift_logout=0;
var DiaLControl_auto_HTML = "<a href=\"#\" onclick=\"AutoDial_ReSume_PauSe('VDADready','','','','','','','YES');\"><img src=\"./images/<?php echo _QXZ("vdc_LB_paused.gif") ?>\" border=\"0\" alt=\"You are paused\" /></a>";
var DiaLControl_auto_HTML_ready = "<a href=\"#\" onclick=\"AutoDial_ReSume_PauSe('VDADpause','','','','','','','YES');\"><img src=\"./images/<?php echo _QXZ("vdc_LB_active.gif") ?>\" border=\"0\" alt=\"You are active\" /></a>";
var DiaLControl_auto_HTML_OFF = "<img src=\"./images/<?php echo _QXZ("vdc_LB_blank_OFF.gif") ?>\" border=\"0\" alt=\"pause button disabled\" />";
@@ -14152,7 +14154,10 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
else
{
if (shift_logout_flag > 0)
{LogouT('SHIFT','');}
{
trigger_shift_logout=10;
showDiv('LogouTBox');
}
else
{LogouT('API','');}
}
@@ -18567,6 +18572,17 @@ function phone_number_format(formatphone) {
}
if (left_3way_timeout > 0)
{left_3way_timeout = (left_3way_timeout - 1);}
if (trigger_shift_logout > 0)
{
if (trigger_shift_logout > 1)
{trigger_shift_logout =(trigger_shift_logout - 1);}
else
{
LogouT('SHIFT','');
trigger_shift_logout=0;
}
}
}
setTimeout("all_refresh()", refresh_interval);
}