diff --git a/agc_2-X/trunk/www/agc/vicidial.php b/agc_2-X/trunk/www/agc/vicidial.php index 91be3cd7..fec972c2 100644 --- a/agc_2-X/trunk/www/agc/vicidial.php +++ b/agc_2-X/trunk/www/agc/vicidial.php @@ -428,10 +428,11 @@ # 140423-1728 - Added campaign options manual_dial_search_checkbox and hide_call_log_info # 140428-1514 - Added pause_type # 140429-2040 - Added called_count and call notes display option as script and form variables +# 140519-1011 - Fixed calls in this session to not count monitoring channels # -$version = '2.8-397c'; -$build = '140429-2040'; +$version = '2.8-398c'; +$build = '140519-1011'; $mel=1; # Mysql Error Log enabled = 1 $mysql_log_count=80; $one_mysql_log=0; @@ -5053,6 +5054,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection) { var temp_blind_monitors=0; var loop_ct=0; + var display_ct=0; var ARY_ct=0; var LMAalter=0; var LMAcontent_change=0; @@ -5095,20 +5097,21 @@ function set_length(SLnumber,SLlength_goal,SLdirection) } else { + display_ct++; if (channelfieldA.match(regRNnolink)) { // do not show hangup or volume control links for recording channels - live_conf_HTML = live_conf_HTML + "" + loop_ct + "" + channelfieldA + "recording"; + live_conf_HTML = live_conf_HTML + "" + display_ct + "" + channelfieldA + "recording"; } else { if (volumecontrol_active!=1) { - live_conf_HTML = live_conf_HTML + "" + loop_ct + "" + channelfieldA + "HANGUP"; + live_conf_HTML = live_conf_HTML + "" + display_ct + "" + channelfieldA + "HANGUP"; } else { - live_conf_HTML = live_conf_HTML + "" + loop_ct + "" + channelfieldA + "HANGUP           "; + live_conf_HTML = live_conf_HTML + "" + display_ct + "" + channelfieldA + "HANGUP           "; } } }