Small changes for state_descriptions Banner

git-svn-id: svn://192.168.202.10@3806 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2024-02-21 08:35:28 +00:00
parent caad79b868
commit 1d01790b72
4 changed files with 132 additions and 76 deletions
+2
View File
@@ -12,6 +12,8 @@ require("dbconnect_mysqli.php");
require("functions.php");
require("VERM_options.php");
header('Content-Type: application/javascript');
?>
function GoToReport(selected_report, realtime_override)
{
+114 -64
View File
@@ -546,10 +546,11 @@
# 231129-1541 - Added refresh_panel agent API function
# 231207-1520 - Fix for ConfBridge blind monitoring issue #1497
# 240219-2130 - Added daily_limit for user/in-group parameter
# 240221-0330 - Small changes for state_descriptions Banner
#
$version = '2.14-439';
$build = '240219-2130';
$version = '2.14-440';
$build = '240221-0330';
$php_script = 'vdc_db_query.php';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=913;
@@ -9984,7 +9985,7 @@ if ($ACTION == 'VDADcheckINCOMING')
$CBcomments = trim("$row[3]");
}
}
$stmt="SELECT owner_populate,user_group_script,custom_one,custom_two,custom_three,custom_four,custom_five FROM vicidial_campaigns where campaign_id='$campaign';";
$stmt="SELECT owner_populate,user_group_script,custom_one,custom_two,custom_three,custom_four,custom_five,state_descriptions FROM vicidial_campaigns where campaign_id='$campaign';";
$rslt=mysql_to_mysqli($stmt, $link);
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00444',$user,$server_ip,$session_name,$one_mysql_log);}
if ($DB) {echo "$stmt\n";}
@@ -9999,6 +10000,7 @@ if ($ACTION == 'VDADcheckINCOMING')
$camp_custom_three = $row[4];
$camp_custom_four = $row[5];
$camp_custom_five = $row[6];
$state_descriptions = $row[7];
}
$ownerSQL='';
if ( ($owner_populate=='ENABLED') and ( (strlen($owner) < 1) or ($owner=='NULL') ) )
@@ -10169,7 +10171,7 @@ if ($ACTION == 'VDADcheckINCOMING')
$script_recording_delay = $row[0];
}
$stmt = "SELECT campaign_script,get_call_launch,xferconf_a_dtmf,xferconf_a_number,xferconf_b_dtmf,xferconf_b_number,default_xfer_group,start_call_url,dispo_call_url,xferconf_c_number,xferconf_d_number,xferconf_e_number,timer_action,timer_action_message,timer_action_seconds,timer_action_destination,campaign_script_two,state_descriptions from vicidial_campaigns where campaign_id='$campaign';";
$stmt = "SELECT campaign_script,get_call_launch,xferconf_a_dtmf,xferconf_a_number,xferconf_b_dtmf,xferconf_b_number,default_xfer_group,start_call_url,dispo_call_url,xferconf_c_number,xferconf_d_number,xferconf_e_number,timer_action,timer_action_message,timer_action_seconds,timer_action_destination,campaign_script_two from vicidial_campaigns where campaign_id='$campaign';";
if ($DB) {echo "$stmt\n";}
$rslt=mysql_to_mysqli($stmt, $link);
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00114',$user,$server_ip,$session_name,$one_mysql_log);}
@@ -10195,7 +10197,6 @@ if ($ACTION == 'VDADcheckINCOMING')
$VDCL_timer_action_seconds = $row[14];
$VDCL_timer_action_destination = $row[15];
$VDCL_campaign_script_two = $row[16];
$state_descriptions = $row[17];
}
$VDCL_group_web='';
@@ -10434,7 +10435,7 @@ if ($ACTION == 'VDADcheckINCOMING')
$status_group_gather_data = status_group_gather($row[27],'INGROUP');
$stmt = "SELECT campaign_script,xferconf_a_dtmf,xferconf_a_number,xferconf_b_dtmf,xferconf_b_number,default_group_alias,timer_action,timer_action_message,timer_action_seconds,start_call_url,dispo_call_url,xferconf_c_number,xferconf_d_number,xferconf_e_number,timer_action_destination,default_xfer_group,campaign_script_two,browser_alert_sound,browser_alert_volume,custom_one,custom_two,custom_three,custom_four,custom_five,state_descriptions from vicidial_campaigns where campaign_id='$campaign';";
$stmt = "SELECT campaign_script,xferconf_a_dtmf,xferconf_a_number,xferconf_b_dtmf,xferconf_b_number,default_group_alias,timer_action,timer_action_message,timer_action_seconds,start_call_url,dispo_call_url,xferconf_c_number,xferconf_d_number,xferconf_e_number,timer_action_destination,default_xfer_group,campaign_script_two,browser_alert_sound,browser_alert_volume,custom_one,custom_two,custom_three,custom_four,custom_five from vicidial_campaigns where campaign_id='$campaign';";
if ($DB) {echo "$stmt\n";}
$rslt=mysql_to_mysqli($stmt, $link);
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00181',$user,$server_ip,$session_name,$one_mysql_log);}
@@ -10482,10 +10483,6 @@ if ($ACTION == 'VDADcheckINCOMING')
$camp_custom_three = $row[21];
$camp_custom_four = $row[22];
$camp_custom_five = $row[23];
if ( (strlen($ig_state_descriptions) > 0) and (!preg_match("/---DISABLED---/",$ig_state_descriptions)) )
{$state_descriptions = $ig_state_descriptions;}
else
{$state_descriptions = $row[24];}
if ( ( (preg_match('/NONE/',$VDCL_ingroup_script)) and (strlen($VDCL_ingroup_script) < 5) ) or (strlen($VDCL_ingroup_script) < 1) )
{
@@ -10591,7 +10588,7 @@ if ($ACTION == 'VDADcheckINCOMING')
}
else
{
$stmt = "SELECT campaign_script,get_call_launch,xferconf_a_dtmf,xferconf_a_number,xferconf_b_dtmf,xferconf_b_number,default_group_alias,timer_action,timer_action_message,timer_action_seconds,start_call_url,dispo_call_url,xferconf_c_number,xferconf_d_number,xferconf_e_number,timer_action_destination,campaign_script_two,browser_alert_sound,browser_alert_volume,state_descriptions from vicidial_campaigns where campaign_id='$VDADchannel_group';";
$stmt = "SELECT campaign_script,get_call_launch,xferconf_a_dtmf,xferconf_a_number,xferconf_b_dtmf,xferconf_b_number,default_group_alias,timer_action,timer_action_message,timer_action_seconds,start_call_url,dispo_call_url,xferconf_c_number,xferconf_d_number,xferconf_e_number,timer_action_destination,campaign_script_two,browser_alert_sound,browser_alert_volume from vicidial_campaigns where campaign_id='$VDADchannel_group';";
if ($DB) {echo "$stmt\n";}
$rslt=mysql_to_mysqli($stmt, $link);
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00121',$user,$server_ip,$session_name,$one_mysql_log);}
@@ -10618,7 +10615,6 @@ if ($ACTION == 'VDADcheckINCOMING')
$VDCL_ingroup_script_two = $row[16];
$VDCL_browser_alert_sound = $row[17];
$VDCL_browser_alert_volume = $row[18];
$state_descriptions = $row[19];
}
$script_recording_delay=0;
@@ -10779,58 +10775,6 @@ if ($ACTION == 'VDADcheckINCOMING')
}
}
$state_color='';
$state_name='';
$state_debug='';
if ( (strlen($state_descriptions) > 0) and ($state_descriptions != '---DISABLED---') )
{
if ( (strlen($ig_state_descriptions) > 0) and ($ig_state_descriptions != '---DISABLED---') )
{$state_descriptions = $ig_state_descriptions;}
$stmt="SELECT container_entry FROM vicidial_settings_containers WHERE container_id='$state_descriptions';";
if ($DB) {echo "$stmt\n";}
$rslt=mysql_to_mysqli($stmt, $link);
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00XXX',$user,$server_ip,$session_name,$one_mysql_log);}
$SDE_ct = mysqli_num_rows($rslt);
$state_debug .= "$SDE_ct|$stmt|\n";
if ($SDE_ct > 0)
{
$row=mysqli_fetch_row($rslt);
$state_descriptions_container = $row[0];
$SDcontainer_entry = preg_replace("/\r|\t|\'|\"/",'',$state_descriptions_container);
$state_settings = explode("\n",$SDcontainer_entry);
$state_settings_ct = count($state_settings);
$sdl=0;
while ($state_settings_ct >= $sdl)
{
$state_line_ARY = explode(",",$state_settings[$sdl]);
$state_match = $state_line_ARY[0];
$state_setting_color = $state_line_ARY[1];
$state_setting_name = $state_line_ARY[2];
if ( (strlen($state_setting_color) > 0) and (strlen($state_setting_name) > 0) )
{
if ( (strlen($state_match) < 1) and (strlen($state) < 1) )
{
$state_color = $state_setting_color;
$state_name = $state_setting_name;
}
else
{
if ( (preg_match("/^$state$/i",$state_match)) and (strlen($state) > 0) )
{
$state_color = $state_setting_color;
$state_name = $state_setting_name;
}
}
}
$state_debug .= "$sdl |$state_settings[$sdl]| |$state_match|$state_setting_color|$state_setting_name|\n";
$sdl++;
}
}
# $fp = fopen ("./vicidial_state_debug.txt", "w");
# fwrite ($fp, "$state_debug\n");
# fclose($fp);
}
### if web form is set then send on to vicidial.php for override of WEB_FORM address
if ( (strlen($VDCL_group_web)>5) or (strlen($VDCL_group_name)>0) ) {echo "$VDCL_group_web|$VDCL_group_name|$VDCL_group_color|$VDCL_fronter_display|$VDADchannel_group|$VDCL_ingroup_script|$VDCL_get_call_launch|$VDCL_xferconf_a_dtmf|$VDCL_xferconf_a_number|$VDCL_xferconf_b_dtmf|$VDCL_xferconf_b_number|$VDCL_default_xfer_group|$VDCL_ingroup_recording_override|$VDCL_ingroup_rec_filename|$VDCL_default_group_alias|$VDCL_caller_id_number|$VDCL_group_web_vars|$VDCL_group_web_two|$VDCL_timer_action|$VDCL_timer_action_message|$VDCL_timer_action_seconds|$VDCL_xferconf_c_number|$VDCL_xferconf_d_number|$VDCL_xferconf_e_number|$VDCL_uniqueid_status_display|$custom_call_id|$VDCL_uniqueid_status_prefix|$VDCL_timer_action_destination|$DID_id|$DID_extension|$DID_pattern|$DID_description|$INclosecallid|$INxfercallid|$VDCL_group_web_three|$VDCL_ingroup_script_color|$VDCL_inbound_survey|$VDCL_survey_participate|$VDCL_ingroup_script_two|$VDCL_ingroup_script_color_two|$VDCL_browser_alert_sound|$VDCL_browser_alert_volume|\n";}
else {echo "X|$VDCL_group_name|$VDCL_group_color|$VDCL_fronter_display|$VDADchannel_group|$VDCL_ingroup_script|$VDCL_get_call_launch|$VDCL_xferconf_a_dtmf|$VDCL_xferconf_a_number|$VDCL_xferconf_b_dtmf|$VDCL_xferconf_b_number|$VDCL_default_xfer_group|$VDCL_ingroup_recording_override|$VDCL_ingroup_rec_filename|$VDCL_default_group_alias|$VDCL_caller_id_number|$VDCL_group_web_vars|$VDCL_group_web_two|$VDCL_timer_action|$VDCL_timer_action_message|$VDCL_timer_action_seconds|$VDCL_xferconf_c_number|$VDCL_xferconf_d_number|$VDCL_xferconf_e_number|$VDCL_uniqueid_status_display|$custom_call_id|$VDCL_uniqueid_status_prefix|$VDCL_timer_action_destination|$DID_id|$DID_extension|$DID_pattern|$DID_description|$INclosecallid|$INxfercallid|$VDCL_group_web_three|$VDCL_ingroup_script_color|$VDCL_inbound_survey|$VDCL_survey_participate|$VDCL_ingroup_script_two|$VDCL_ingroup_script_color_two|$VDCL_browser_alert_sound|$VDCL_browser_alert_volume|\n";}
@@ -10875,6 +10819,58 @@ if ($ACTION == 'VDADcheckINCOMING')
}
}
$state_color='';
$state_name='';
$state_debug='';
if ( (strlen($state_descriptions) > 0) and ($state_descriptions != '---DISABLED---') )
{
if ( (strlen($ig_state_descriptions) > 0) and ($ig_state_descriptions != '---DISABLED---') )
{$state_descriptions = $ig_state_descriptions;}
$stmt="SELECT container_entry FROM vicidial_settings_containers WHERE container_id='$state_descriptions';";
if ($DB) {echo "$stmt\n";}
$rslt=mysql_to_mysqli($stmt, $link);
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00XXX',$user,$server_ip,$session_name,$one_mysql_log);}
$SDE_ct = mysqli_num_rows($rslt);
$state_debug .= "$NOW_TIME|$SDE_ct|$stmt|\n";
if ($SDE_ct > 0)
{
$row=mysqli_fetch_row($rslt);
$state_descriptions_container = $row[0];
$SDcontainer_entry = preg_replace("/\r|\t|\'|\"/",'',$state_descriptions_container);
$state_settings = explode("\n",$SDcontainer_entry);
$state_settings_ct = count($state_settings);
$sdl=0;
while ($state_settings_ct >= $sdl)
{
$state_line_ARY = explode(",",$state_settings[$sdl]);
$state_match = $state_line_ARY[0];
$state_setting_color = $state_line_ARY[1];
$state_setting_name = $state_line_ARY[2];
if ( (strlen($state_setting_color) > 0) and (strlen($state_setting_name) > 0) )
{
if ( (strlen($state_match) < 1) and (strlen($state) < 1) )
{
$state_color = $state_setting_color;
$state_name = $state_setting_name;
}
else
{
if ( (preg_match("/^$state$/i",$state_match)) and (strlen($state) > 0) )
{
$state_color = $state_setting_color;
$state_name = $state_setting_name;
}
}
}
$state_debug .= "$sdl |$state_settings[$sdl]| |$state_match|$state_setting_color|$state_setting_name|\n";
$sdl++;
}
}
# $fp = fopen ("./vicidial_state_debug.txt", 'a');
# fwrite ($fp, "$state_debug\n");
# fclose($fp);
}
$custom_field_names='|';
$custom_field_names_SQL='';
$custom_field_values='q--------q';
@@ -12313,6 +12309,58 @@ if ($ACTION == 'VDADcheckINCOMINGother')
}
}
$state_color='';
$state_name='';
$state_debug='';
if ( (strlen($state_descriptions) > 0) and ($state_descriptions != '---DISABLED---') )
{
if ( (strlen($ig_state_descriptions) > 0) and ($ig_state_descriptions != '---DISABLED---') )
{$state_descriptions = $ig_state_descriptions;}
$stmt="SELECT container_entry FROM vicidial_settings_containers WHERE container_id='$state_descriptions';";
if ($DB) {echo "$stmt\n";}
$rslt=mysql_to_mysqli($stmt, $link);
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00XXX',$user,$server_ip,$session_name,$one_mysql_log);}
$SDE_ct = mysqli_num_rows($rslt);
$state_debug .= "$SDE_ct|$stmt|\n";
if ($SDE_ct > 0)
{
$row=mysqli_fetch_row($rslt);
$state_descriptions_container = $row[0];
$SDcontainer_entry = preg_replace("/\r|\t|\'|\"/",'',$state_descriptions_container);
$state_settings = explode("\n",$SDcontainer_entry);
$state_settings_ct = count($state_settings);
$sdl=0;
while ($state_settings_ct >= $sdl)
{
$state_line_ARY = explode(",",$state_settings[$sdl]);
$state_match = $state_line_ARY[0];
$state_setting_color = $state_line_ARY[1];
$state_setting_name = $state_line_ARY[2];
if ( (strlen($state_setting_color) > 0) and (strlen($state_setting_name) > 0) )
{
if ( (strlen($state_match) < 1) and (strlen($state) < 1) )
{
$state_color = $state_setting_color;
$state_name = $state_setting_name;
}
else
{
if ( (preg_match("/^$state$/i",$state_match)) and (strlen($state) > 0) )
{
$state_color = $state_setting_color;
$state_name = $state_setting_name;
}
}
}
$state_debug .= "$sdl |$state_settings[$sdl]| |$state_match|$state_setting_color|$state_setting_name|\n";
$sdl++;
}
}
# $fp = fopen ("./vicidial_state_debug.txt", "w");
# fwrite ($fp, "$state_debug\n");
# fclose($fp);
}
$DID_id='';
$DID_extension='';
$DID_pattern='';
@@ -12480,6 +12528,8 @@ if ($ACTION == 'VDADcheckINCOMINGother')
$LeaD_InfO .= $ig_custom_three . "\n";
$LeaD_InfO .= $ig_custom_four . "\n";
$LeaD_InfO .= $ig_custom_five . "\n";
$LeaD_InfO .= $state_color . "\n";
$LeaD_InfO .= $state_name . "\n";
echo $LeaD_InfO;
+10 -6
View File
@@ -733,10 +733,11 @@
# 231129-1540 - Added refresh_panel agent API function
# 240214-0400 - Added state_descriptions banners
# 240220-0245 - Added daily_limit for user/in-group parameter
# 240221-0317 - Small changes for state_descriptions Banner
#
$version = '2.14-699c';
$build = '240220-0245';
$version = '2.14-700c';
$build = '240221-0317';
$php_script = 'vicidial.php';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=103;
@@ -10869,7 +10870,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
if (state_color.length > 1)
{
document.getElementById("BannerPanel").style.background = state_color;
document.getElementById("BannerPanel").innerHTML = "<font class=\"body_text\">&nbsp;<?php echo _QXZ("State"); ?>: " + document.vicidial_form.state.value + " - " + state_name + " &nbsp; </font>";
document.getElementById("BannerPanel").innerHTML = "<table border=0 cellpadding=0 cellspacing=0 width=<?php echo $XFwidth ?>><tr><td><center><font class=\"skb_text\">&nbsp;<?php echo _QXZ("State"); ?>: " + document.vicidial_form.state.value + " - " + state_name + " &nbsp; </font></center></td></tr></table>";
}
}
@@ -12496,7 +12497,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
if (state_color.length > 1)
{
document.getElementById("BannerPanel").style.background = state_color;
document.getElementById("BannerPanel").innerHTML = "<font class=\"body_text\">&nbsp;<?php echo _QXZ("State"); ?>: " + document.vicidial_form.state.value + " - " + state_name + " &nbsp; </font>";
document.getElementById("BannerPanel").innerHTML = "<table border=0 cellpadding=0 cellspacing=0 width=<?php echo $XFwidth ?>><tr><td><center><font class=\"skb_text\">&nbsp;<?php echo _QXZ("State"); ?>: " + document.vicidial_form.state.value + " - " + state_name + " &nbsp; </font></center></td></tr></table>";
}
}
@@ -14391,8 +14392,9 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
if (state_color.length > 1)
{
document.getElementById("BannerPanel").style.background = state_color;
document.getElementById("BannerPanel").innerHTML = "<font class=\"body_text\">&nbsp;<?php echo _QXZ("State"); ?>: " + document.vicidial_form.state.value + " - " + state_name + " &nbsp; </font>";
document.getElementById("BannerPanel").innerHTML = "<table border=0 cellpadding=0 cellspacing=0 width=<?php echo $XFwidth ?>><tr><td><center><font class=\"skb_text\">&nbsp;<?php echo _QXZ("State"); ?>: " + document.vicidial_form.state.value + " - " + state_name + " &nbsp; </font></center></td></tr></table>";
}
// alert("State Description:" + state_descriptions_banner + " - " + state_color + " - " + state_name);
}
}
else if ( ((email_enabled>0 && EMAILgroupCOUNT>0) || (chat_enabled>0 && CHATgroupCOUNT>0 && campaign_chat_enabled=='Y')) && AutoDialWaiting==1)
@@ -14698,6 +14700,8 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
ig_custom_three = check_VDIC_array[69];
ig_custom_four = check_VDIC_array[70];
ig_custom_five = check_VDIC_array[71];
state_color = check_VDIC_array[72];
state_name = check_VDIC_array[73];
// build statuses list for disposition screen
VARstatuses = [];
@@ -23593,7 +23597,7 @@ $zi=2;
</span>
<!-- END ********* Here is the main VICIDIAL display panel -->
<span style="position:absolute;left:0px;top:67px;z-index:<?php $zi++; echo $zi ?>;" id="BannerPanel"><font class="body_text">&nbsp;</font> </span>
<span style="position:absolute;left:0px;top:66px;z-index:<?php $zi++; echo $zi ?>;" id="BannerPanel"><font class="skb_text">&nbsp;</font> </span>
<!-- ZZZZZZZZZZZZ action links -->
+6 -6
View File
@@ -6129,13 +6129,13 @@ if ($SSscript_remove_js > 0)
# 231204-0858 - Added Agent LAGGED Summary Report
# 231227-2217 - Added 3-Way Press Log Report
# 240214-2120 - Added STATE_DESCRIPTIONS container type and state_descriptions campaign and in-group settings, change year to 2024
# 240221-0331 - Changes for in-group daily limits, small changes for stats_descriptions
#
# make sure you have added a user to the vicidial_users MySQL table with at least user_level 9 to access this page the first time
$admin_version = '2.14-906a';
$build = '240214-2120';
$admin_version = '2.14-907a';
$build = '240221-0331';
$STARTtime = date("U");
$SQLdate = date("Y-m-d H:i:s");
@@ -42532,12 +42532,12 @@ if ($ADD==392111111111)
echo "</TABLE><BR><BR>\n";
if (preg_match("/WEEKDAY_TIMERANGE_SECONDS|CALL_QUOTA|CALL_LIMITS_OVERRIDE|SIP_EVENT_ACTIONS|CALLS_IN_QUEUE_COUNT|TIMEZONE_LIST|PHONE_NUMBERS|DIAL_TIMEOUTS|INGROUP_LIST|PAUSE_CODES_LIST|DEMOGRAPHIC_QUOTAS/",$container_type))
if (preg_match("/WEEKDAY_TIMERANGE_SECONDS|CALL_QUOTA|CALL_LIMITS_OVERRIDE|SIP_EVENT_ACTIONS|CALLS_IN_QUEUE_COUNT|TIMEZONE_LIST|PHONE_NUMBERS|DIAL_TIMEOUTS|INGROUP_LIST|PAUSE_CODES_LIST|DEMOGRAPHIC_QUOTAS|STATE_DESCRIPTIONS/",$container_type))
{
echo "<B>"._QXZ("CAMPAIGNS USING THIS SETTINGS CONTAINER").":</B><BR>\n";
echo "<TABLE>\n";
$stmt="SELECT campaign_id,campaign_name from vicidial_campaigns where ( (in_man_dial_next_ready_seconds_override='$container_id') or (pause_max_exceptions='$container_id') or (call_quota_lead_ranking='$container_id') or (call_limit_24hour_override='$container_id') or (inbound_no_agents_no_dial_container='$container_id') or (dial_timeout_lead_container='$container_id') or (three_way_record_stop_exception='$container_id') or (leave_3way_start_recording_exception='$container_id') or (scheduled_callbacks_timezones_container='$container_id') or (in_man_dial_next_ready_seconds_override='$container_id') or (sip_event_logging='$container_id') or (calls_inqueue_count_one='$container_id') or (calls_inqueue_count_two='$container_id') or (demographic_quotas_container='$container_id') ) $LOGallowed_campaignsSQL;";
$stmt="SELECT campaign_id,campaign_name from vicidial_campaigns where ( (in_man_dial_next_ready_seconds_override='$container_id') or (pause_max_exceptions='$container_id') or (call_quota_lead_ranking='$container_id') or (call_limit_24hour_override='$container_id') or (inbound_no_agents_no_dial_container='$container_id') or (dial_timeout_lead_container='$container_id') or (three_way_record_stop_exception='$container_id') or (leave_3way_start_recording_exception='$container_id') or (scheduled_callbacks_timezones_container='$container_id') or (in_man_dial_next_ready_seconds_override='$container_id') or (sip_event_logging='$container_id') or (calls_inqueue_count_one='$container_id') or (calls_inqueue_count_two='$container_id') or (demographic_quotas_container='$container_id') or (state_descriptions='$container_id') ) $LOGallowed_campaignsSQL;";
$rslt=mysql_to_mysqli($stmt, $link);
$ig_to_print = mysqli_num_rows($rslt);
if ($DB > 0) {echo "$ig_to_print|$stmt<br>\n";}
@@ -42554,7 +42554,7 @@ if ($ADD==392111111111)
echo "<B>"._QXZ("IN-GROUPS USING THIS SETTINGS CONTAINER").":</B><BR>\n";
echo "<TABLE>\n";
$stmt="SELECT group_id,group_name from vicidial_inbound_groups where ( (drop_call_seconds_override='$container_id') or (in_queue_nanque_exceptions='$container_id') or (second_alert_container='$container_id') or (third_alert_container='$container_id') ) $LOGadmin_viewable_groupsSQL;";
$stmt="SELECT group_id,group_name from vicidial_inbound_groups where ( (drop_call_seconds_override='$container_id') or (in_queue_nanque_exceptions='$container_id') or (second_alert_container='$container_id') or (third_alert_container='$container_id') or (state_descriptions='$container_id') ) $LOGadmin_viewable_groupsSQL;";
$rslt=mysql_to_mysqli($stmt, $link);
$ig_to_print = mysqli_num_rows($rslt);
if ($DB > 0) {echo "$ig_to_print|$stmt<br>\n";}