|
|
|
@@ -631,6 +631,29 @@ if (isset($_GET["mix_container_item"])) {$mix_container_item=$_GET["mix_conta
|
|
|
|
|
elseif (isset($_POST["mix_container_item"])) {$mix_container_item=$_POST["mix_container_item"];}
|
|
|
|
|
if (isset($_GET["enable_agc_xfer_log"])) {$enable_agc_xfer_log=$_GET["enable_agc_xfer_log"];}
|
|
|
|
|
elseif (isset($_POST["enable_agc_xfer_log"])) {$enable_agc_xfer_log=$_POST["enable_agc_xfer_log"];}
|
|
|
|
|
if (isset($_GET["after_hours_action"])) {$after_hours_action=$_GET["after_hours_action"];}
|
|
|
|
|
elseif (isset($_POST["after_hours_action"])) {$after_hours_action=$_POST["after_hours_action"];}
|
|
|
|
|
if (isset($_GET["after_hours_message_filename"])) {$after_hours_message_filename=$_GET["after_hours_message_filename"];}
|
|
|
|
|
elseif (isset($_POST["after_hours_message_filename"])) {$after_hours_message_filename=$_POST["after_hours_message_filename"];}
|
|
|
|
|
if (isset($_GET["after_hours_exten"])) {$after_hours_exten=$_GET["after_hours_exten"];}
|
|
|
|
|
elseif (isset($_POST["after_hours_exten"])) {$after_hours_exten=$_POST["after_hours_exten"];}
|
|
|
|
|
if (isset($_GET["after_hours_voicemail"])) {$after_hours_voicemail=$_GET["after_hours_voicemail"];}
|
|
|
|
|
elseif (isset($_POST["after_hours_voicemail"])) {$after_hours_voicemail=$_POST["after_hours_voicemail"];}
|
|
|
|
|
if (isset($_GET["welcome_message_filename"])) {$welcome_message_filename=$_GET["welcome_message_filename"];}
|
|
|
|
|
elseif (isset($_POST["welcome_message_filename"])) {$welcome_message_filename=$_POST["welcome_message_filename"];}
|
|
|
|
|
if (isset($_GET["moh_context"])) {$moh_context=$_GET["moh_context"];}
|
|
|
|
|
elseif (isset($_POST["moh_context"])) {$moh_context=$_POST["moh_context"];}
|
|
|
|
|
if (isset($_GET["onhold_prompt_filename"])) {$onhold_prompt_filename=$_GET["onhold_prompt_filename"];}
|
|
|
|
|
elseif (isset($_POST["onhold_prompt_filename"])) {$onhold_prompt_filename=$_POST["onhold_prompt_filename"];}
|
|
|
|
|
if (isset($_GET["prompt_interval"])) {$prompt_interval=$_GET["prompt_interval"];}
|
|
|
|
|
elseif (isset($_POST["prompt_interval"])) {$prompt_interval=$_POST["prompt_interval"];}
|
|
|
|
|
if (isset($_GET["agent_alert_exten"])) {$agent_alert_exten=$_GET["agent_alert_exten"];}
|
|
|
|
|
elseif (isset($_POST["agent_alert_exten"])) {$agent_alert_exten=$_POST["agent_alert_exten"];}
|
|
|
|
|
if (isset($_GET["agent_alert_delay"])) {$agent_alert_delay=$_GET["agent_alert_delay"];}
|
|
|
|
|
elseif (isset($_POST["agent_alert_delay"])) {$agent_alert_delay=$_POST["agent_alert_delay"];}
|
|
|
|
|
if (isset($_GET["group_rank"])) {$group_rank=$_GET["group_rank"];}
|
|
|
|
|
elseif (isset($_POST["group_rank"])) {$group_rank=$_POST["group_rank"];}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (isset($script_id)) {$script_id= strtoupper($script_id);}
|
|
|
|
|
if (isset($lead_filter_id)) {$lead_filter_id = strtoupper($lead_filter_id);}
|
|
|
|
@@ -765,6 +788,11 @@ $enable_queuemetrics_logging = ereg_replace("[^0-9]","",$enable_queuemetrics_log
|
|
|
|
|
$enable_sipsak_messages = ereg_replace("[^0-9]","",$enable_sipsak_messages);
|
|
|
|
|
$allow_sipsak_messages = ereg_replace("[^0-9]","",$allow_sipsak_messages);
|
|
|
|
|
$mix_container_item = ereg_replace("[^0-9]","",$mix_container_item);
|
|
|
|
|
$prompt_interval = ereg_replace("[^0-9]","",$prompt_interval);
|
|
|
|
|
$agent_alert_delay = ereg_replace("[^0-9]","",$agent_alert_delay);
|
|
|
|
|
|
|
|
|
|
### DIGITS and DASHES
|
|
|
|
|
$group_rank = ereg_replace("[^-0-9]","",$group_rank);
|
|
|
|
|
|
|
|
|
|
### Y or N ONLY ###
|
|
|
|
|
$active = ereg_replace("[^NY]","",$active);
|
|
|
|
@@ -807,6 +835,9 @@ $billable = ereg_replace("[^0-9a-zA-Z]","",$billable);
|
|
|
|
|
$pause_code = ereg_replace("[^0-9a-zA-Z]","",$pause_code);
|
|
|
|
|
$vicidial_recording_override = ereg_replace("[^0-9a-zA-Z]","",$vicidial_recording_override);
|
|
|
|
|
$queuemetrics_log_id = ereg_replace("[^0-9a-zA-Z]","",$queuemetrics_log_id);
|
|
|
|
|
$after_hours_action = ereg_replace("[^0-9a-zA-Z]","",$after_hours_action);
|
|
|
|
|
$after_hours_exten = ereg_replace("[^0-9a-zA-Z]","",$after_hours_exten);
|
|
|
|
|
$after_hours_voicemail = ereg_replace("[^0-9a-zA-Z]","",$after_hours_voicemail);
|
|
|
|
|
|
|
|
|
|
### DIGITS and Dots
|
|
|
|
|
$server_ip = ereg_replace("[^\.0-9]","",$server_ip);
|
|
|
|
@@ -884,6 +915,8 @@ $vcl_id = ereg_replace("[^-\_0-9a-zA-Z]","",$vcl_id);
|
|
|
|
|
$mix_method = ereg_replace("[^-\_0-9a-zA-Z]","",$mix_method);
|
|
|
|
|
$category = ereg_replace("[^-\_0-9a-zA-Z]","",$category);
|
|
|
|
|
$vsc_id = ereg_replace("[^-\_0-9a-zA-Z]","",$vsc_id);
|
|
|
|
|
$moh_context = ereg_replace("[^-\_0-9a-zA-Z]","",$moh_context);
|
|
|
|
|
$agent_alert_exten = ereg_replace("[^-\_0-9a-zA-Z]","",$agent_alert_exten);
|
|
|
|
|
|
|
|
|
|
### ALPHA-NUMERIC and spaces
|
|
|
|
|
$lead_order = ereg_replace("[^ 0-9a-zA-Z]","",$lead_order);
|
|
|
|
@@ -935,6 +968,9 @@ $telnet_host = ereg_replace("[^-\.\:\/\@\_0-9a-zA-Z]","",$telnet_host);
|
|
|
|
|
$queuemetrics_dbname = ereg_replace("[^-\.\:\/\@\_0-9a-zA-Z]","",$queuemetrics_dbname);
|
|
|
|
|
$queuemetrics_login = ereg_replace("[^-\.\:\/\@\_0-9a-zA-Z]","",$queuemetrics_login);
|
|
|
|
|
$queuemetrics_pass = ereg_replace("[^-\.\:\/\@\_0-9a-zA-Z]","",$queuemetrics_pass);
|
|
|
|
|
$after_hours_message_filename = ereg_replace("[^-\.\:\/\@\_0-9a-zA-Z]","",$after_hours_message_filename);
|
|
|
|
|
$welcome_message_filename = ereg_replace("[^-\.\:\/\@\_0-9a-zA-Z]","",$welcome_message_filename);
|
|
|
|
|
$onhold_prompt_filename = ereg_replace("[^-\.\:\/\@\_0-9a-zA-Z]","",$onhold_prompt_filename);
|
|
|
|
|
|
|
|
|
|
### remove semi-colons ###
|
|
|
|
|
$lead_filter_sql = ereg_replace(";","",$lead_filter_sql);
|
|
|
|
@@ -1070,11 +1106,13 @@ $list_mix_container = ereg_replace(";","",$list_mix_container);
|
|
|
|
|
# 70629-1721 - List Mix section adding and removing of list entries active
|
|
|
|
|
# 70706-1636 - List Mix section cleanup and more error-checking
|
|
|
|
|
# 70908-0941 - Added agc logile enable system_settings
|
|
|
|
|
#
|
|
|
|
|
# 71020-1934 - Added inbound groups options: on-hold music, messages, call_times
|
|
|
|
|
# 71022-1343 - Added inbound group ranks for users
|
|
|
|
|
#
|
|
|
|
|
# make sure you have added a user to the vicidial_users MySQL table with at least user_level 8 to access this page the first time
|
|
|
|
|
|
|
|
|
|
$admin_version = '2.0.4-109';
|
|
|
|
|
$build = '70908-0941';
|
|
|
|
|
$admin_version = '2.0.4-111';
|
|
|
|
|
$build = '71022-1343';
|
|
|
|
|
|
|
|
|
|
$STARTtime = date("U");
|
|
|
|
|
$SQLdate = date("Y-m-d H:i:s");
|
|
|
|
@@ -1472,25 +1510,82 @@ if ( ( (strlen($ADD)>4) && ($ADD < 99998) ) or ($ADD==3) or (($ADD>20) and ($ADD
|
|
|
|
|
$groups_to_print = mysql_num_rows($rslt);
|
|
|
|
|
$groups_list='';
|
|
|
|
|
$groups_value='';
|
|
|
|
|
$RANKgroups_list="<tr><td>INBOUND GROUP</td><td> RANK</td><td> CALLS</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
$o=0;
|
|
|
|
|
while ($groups_to_print > $o)
|
|
|
|
|
{
|
|
|
|
|
$rowx=mysql_fetch_row($rslt);
|
|
|
|
|
$group_id_value = $rowx[0];
|
|
|
|
|
$group_name_value = $rowx[1];
|
|
|
|
|
$groups_list .= "<input type=\"checkbox\" name=\"groups[]\" value=\"$group_id_value\"";
|
|
|
|
|
$p=0;
|
|
|
|
|
while ($p<100)
|
|
|
|
|
$group_id_values[$o] = $rowx[0];
|
|
|
|
|
$group_name_values[$o] = $rowx[1];
|
|
|
|
|
$o++;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$o=0;
|
|
|
|
|
while ($groups_to_print > $o)
|
|
|
|
|
{
|
|
|
|
|
$stmt="SELECT group_rank,calls_today from vicidial_inbound_group_agents where user='$user' and group_id='$group_id_values[$o]'";
|
|
|
|
|
$rslt=mysql_query($stmt, $link);
|
|
|
|
|
$ranks_to_print = mysql_num_rows($rslt);
|
|
|
|
|
if ($ranks_to_print > 0)
|
|
|
|
|
{
|
|
|
|
|
if ($group_id_value == $groups[$p])
|
|
|
|
|
$row=mysql_fetch_row($rslt);
|
|
|
|
|
$SELECT_group_rank = $row[0];
|
|
|
|
|
$calls_today = $row[1];
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{$calls_today=0; $SELECT_group_rank=0;}
|
|
|
|
|
if ( ($ADD=="4A") or ($ADD=="4B") )
|
|
|
|
|
{
|
|
|
|
|
if (isset($_GET["RANK_$group_id_values[$o]"])) {$group_rank=$_GET["RANK_$group_id_values[$o]"];}
|
|
|
|
|
elseif (isset($_POST["RANK_$group_id_values[$o]"])) {$group_rank=$_POST["RANK_$group_id_values[$o]"];}
|
|
|
|
|
|
|
|
|
|
if ($ranks_to_print > 0)
|
|
|
|
|
{
|
|
|
|
|
$stmt="UPDATE vicidial_inbound_group_agents set group_rank='$group_rank', group_weight='$group_rank' where group_id='$group_id_values[$o]' and user='$user';";
|
|
|
|
|
$rslt=mysql_query($stmt, $link);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
$stmt="INSERT INTO vicidial_inbound_group_agents set group_rank='$group_rank', group_weight='$group_rank', group_id='$group_id_values[$o]', user='$user';";
|
|
|
|
|
$rslt=mysql_query($stmt, $link);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else {$group_rank = $SELECT_group_rank;}
|
|
|
|
|
|
|
|
|
|
if (eregi("1$|3$|5$|7$|9$", $o))
|
|
|
|
|
{$bgcolor='bgcolor="#B9CBFD"';}
|
|
|
|
|
else
|
|
|
|
|
{$bgcolor='bgcolor="#9BB9FB"';}
|
|
|
|
|
|
|
|
|
|
$groups_list .= "<input type=\"checkbox\" name=\"groups[]\" value=\"$group_id_values[$o]\"";
|
|
|
|
|
$RANKgroups_list .= "<tr $bgcolor><td><input type=\"checkbox\" name=\"groups[]\" value=\"$group_id_values[$o]\"";
|
|
|
|
|
$p=0;
|
|
|
|
|
$group_ct = count($groups);
|
|
|
|
|
while ($p < $group_ct)
|
|
|
|
|
{
|
|
|
|
|
if ($group_id_values[$o] == $groups[$p])
|
|
|
|
|
{
|
|
|
|
|
$groups_list .= " CHECKED";
|
|
|
|
|
$groups_value .= " $group_id_value";
|
|
|
|
|
$RANKgroups_list .= " CHECKED";
|
|
|
|
|
$groups_value .= " $group_id_values[$o]";
|
|
|
|
|
}
|
|
|
|
|
$p++;
|
|
|
|
|
}
|
|
|
|
|
$groups_list .= "> $group_id_value - $group_name_value<BR>\n";
|
|
|
|
|
$groups_list .= "> <a href=\"$PHP_SELF?ADD=3111&group_id=$group_id_values[$o]\">$group_id_values[$o]</a> - $group_name_values[$o] <BR>\n";
|
|
|
|
|
$RANKgroups_list .= "> <a href=\"$PHP_SELF?ADD=3111&group_id=$group_id_values[$o]\">$group_id_values[$o]</a> - $group_name_values[$o] </td>";
|
|
|
|
|
$RANKgroups_list .= "<td> <select size=1 name=RANK_$group_id_values[$o]>\n";
|
|
|
|
|
$h="-9";
|
|
|
|
|
while ($h<=9)
|
|
|
|
|
{
|
|
|
|
|
$RANKgroups_list .= "<option value=\"$h\"";
|
|
|
|
|
if ($h==$group_rank)
|
|
|
|
|
{$RANKgroups_list .= " SELECTED";}
|
|
|
|
|
$RANKgroups_list .= ">$h</option>";
|
|
|
|
|
$h++;
|
|
|
|
|
}
|
|
|
|
|
$RANKgroups_list .= "</select></td>\n";
|
|
|
|
|
$RANKgroups_list .= "<td align=right> $calls_today</td></tr>\n";
|
|
|
|
|
$o++;
|
|
|
|
|
}
|
|
|
|
|
if (strlen($groups_value)>2) {$groups_value .= " -";}
|
|
|
|
@@ -1648,7 +1743,7 @@ echo "<TABLE WIDTH=98% BGCOLOR=#E6E6E6 cellpadding=2 cellspacing=0><TR><TD ALIGN
|
|
|
|
|
<BR>
|
|
|
|
|
<A NAME="vicidial_users-closer_campaigns">
|
|
|
|
|
<BR>
|
|
|
|
|
<B>Inbound Groups -</B> Here is where you select the inbound groups you want to receive calls from if you have selected the CLOSER campaign.
|
|
|
|
|
<B>Inbound Groups -</B> Here is where you select the inbound groups you want to receive calls from if you have selected the CLOSER campaign. You will also be able to set the rank, or skill level, in this section for each of the inbound groups as well as being able to see the number of calls received from each inbound group for this specific agent.
|
|
|
|
|
|
|
|
|
|
<BR>
|
|
|
|
|
<A NAME="vicidial_users-scheduled_callbacks">
|
|
|
|
@@ -2232,6 +2327,61 @@ echo "<TABLE WIDTH=98% BGCOLOR=#E6E6E6 cellpadding=2 cellspacing=0><TR><TD ALIGN
|
|
|
|
|
<BR>
|
|
|
|
|
<B>Drop Exten -</B> This is the dial plan extension that the desired Dropped call audio file is located at on your server.
|
|
|
|
|
|
|
|
|
|
<BR>
|
|
|
|
|
<A NAME="vicidial_inbound_groups-call_time_id">
|
|
|
|
|
<BR>
|
|
|
|
|
<B>Call Time -</B> This is the call time scheme to use for this inbound group. Keep in mind that the time is based on the server time. Default is 24hours.
|
|
|
|
|
|
|
|
|
|
<BR>
|
|
|
|
|
<A NAME="vicidial_inbound_groups-after_hours_action">
|
|
|
|
|
<BR>
|
|
|
|
|
<B>After Hours Action -</B> The action to perform if it is after hours as defined in the call time for this inbound group. HANGUP will immediately hangup the call, MESSASGE will play the file in the After Hours Message Filenam field, EXTENSION will send the call to the After Hours Extension in the dialplan and VOICEMAIL will send the call to the voicemail box listed in the After Hours Voicemail field. Default is MESSAGE.
|
|
|
|
|
|
|
|
|
|
<BR>
|
|
|
|
|
<A NAME="vicidial_inbound_groups-after_hours_message_filename">
|
|
|
|
|
<BR>
|
|
|
|
|
<B>After Hours Message Filename -</B> The audio file located on the server to be played if the Action is set to MESSAGE. Default is vm-goodbye
|
|
|
|
|
|
|
|
|
|
<BR>
|
|
|
|
|
<A NAME="vicidial_inbound_groups-after_hours_exten">
|
|
|
|
|
<BR>
|
|
|
|
|
<B>After Hours Extension -</B> The dialplan extension to send the call to if the Action is set to EXTENSION. Default is 8300.
|
|
|
|
|
|
|
|
|
|
<BR>
|
|
|
|
|
<A NAME="vicidial_inbound_groups-after_hours_voicemail">
|
|
|
|
|
<BR>
|
|
|
|
|
<B>After Hours Voicemail -</B> The voicemail box to send the call to if the Action is set to VOICEMAIL.
|
|
|
|
|
|
|
|
|
|
<BR>
|
|
|
|
|
<A NAME="vicidial_inbound_groups-welcome_message_filename">
|
|
|
|
|
<BR>
|
|
|
|
|
<B>Welcome Message Filename -</B> The audio file located on the server to be played when the call comes in. If set to ---NONE--- then no message will be played. Default is ---NONE---
|
|
|
|
|
|
|
|
|
|
<BR>
|
|
|
|
|
<A NAME="vicidial_inbound_groups-moh_context">
|
|
|
|
|
<BR>
|
|
|
|
|
<B>Music On Hold Context -</B> The music on hold context to use when the customer is placed on hold. Default is default.
|
|
|
|
|
|
|
|
|
|
<BR>
|
|
|
|
|
<A NAME="vicidial_inbound_groups-onhold_prompt_filename">
|
|
|
|
|
<BR>
|
|
|
|
|
<B>On Hold Prompt Filename -</B> The audio file located on the server to be played at a regular interval when the customer is on hold. Default is generic_hold.
|
|
|
|
|
|
|
|
|
|
<BR>
|
|
|
|
|
<A NAME="vicidial_inbound_groups-prompt_interval">
|
|
|
|
|
<BR>
|
|
|
|
|
<B>On Hold Prompt Interval -</B> The length of time in seconds to wait before playing the on hold prompt. Default is 60.
|
|
|
|
|
|
|
|
|
|
<BR>
|
|
|
|
|
<A NAME="vicidial_inbound_groups-agent_alert_exten">
|
|
|
|
|
<BR>
|
|
|
|
|
<B>Agent Alert Extension -</B> The extension to send into the agent session to announce that a call is coming to the agent. This extension should have a Playback of an audio file. To not use this function set this to X. Default is X.
|
|
|
|
|
|
|
|
|
|
<BR>
|
|
|
|
|
<A NAME="vicidial_inbound_groups-agent_alert_delay">
|
|
|
|
|
<BR>
|
|
|
|
|
<B>Agent Alert Delay -</B> The length of time in milliseconds to wait before sending the call to the agent after playing the on Agent Alert Extension. Default is 1000.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<BR><BR><BR><BR>
|
|
|
|
@@ -4691,7 +4841,7 @@ if ($ADD==2111)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
$ADD=1000;
|
|
|
|
|
$ADD=3111;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -6028,7 +6178,7 @@ if ($ADD==4111)
|
|
|
|
|
{
|
|
|
|
|
echo "<br><B>GROUP MODIFIED: $group_id</B>\n";
|
|
|
|
|
|
|
|
|
|
$stmt="UPDATE vicidial_inbound_groups set group_name='$group_name', group_color='$group_color', active='$active', web_form_address='" . mysql_real_escape_string($web_form_address) . "', voicemail_ext='$voicemail_ext', next_agent_call='$next_agent_call', fronter_display='$fronter_display', ingroup_script='$script_id', get_call_launch='$get_call_launch', xferconf_a_dtmf='$xferconf_a_dtmf',xferconf_a_number='$xferconf_a_number', xferconf_b_dtmf='$xferconf_b_dtmf',xferconf_b_number='$xferconf_b_number',drop_message='$drop_message',drop_call_seconds='$drop_call_seconds',drop_exten='$drop_exten' where group_id='$group_id';";
|
|
|
|
|
$stmt="UPDATE vicidial_inbound_groups set group_name='$group_name', group_color='$group_color', active='$active', web_form_address='" . mysql_real_escape_string($web_form_address) . "', voicemail_ext='$voicemail_ext', next_agent_call='$next_agent_call', fronter_display='$fronter_display', ingroup_script='$script_id', get_call_launch='$get_call_launch', xferconf_a_dtmf='$xferconf_a_dtmf',xferconf_a_number='$xferconf_a_number', xferconf_b_dtmf='$xferconf_b_dtmf',xferconf_b_number='$xferconf_b_number',drop_message='$drop_message',drop_call_seconds='$drop_call_seconds',drop_exten='$drop_exten',call_time_id='$call_time_id',after_hours_action='$after_hours_action',after_hours_message_filename='$after_hours_message_filename',after_hours_exten='$after_hours_exten',after_hours_voicemail='$after_hours_voicemail',welcome_message_filename='$welcome_message_filename',moh_context='$moh_context',onhold_prompt_filename='$onhold_prompt_filename',prompt_interval='$prompt_interval',agent_alert_exten='$agent_alert_exten',agent_alert_delay='$agent_alert_delay' where group_id='$group_id';";
|
|
|
|
|
$rslt=mysql_query($stmt, $link);
|
|
|
|
|
|
|
|
|
|
### LOG CHANGES TO LOG FILE ###
|
|
|
|
@@ -8023,42 +8173,56 @@ if ($ADD==3)
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Closer Default Blended: </td><td align=left><select size=1 name=closer_default_blended><option>0</option><option>1</option><option SELECTED>$closer_default_blended</option></select>$NWB#vicidial_users-closer_default_blended$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>VICIDIAL Recording Override: </td><td align=left><select size=1 name=vicidial_recording_override><option>DISABLED</option><option>NEVER</option><option>ONDEMAND</option><option>ALLCALLS</option><option>ALLFORCE</option><option SELECTED>$vicidial_recording_override</option></select>$NWB#vicidial_users-vicidial_recording_override$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Agent Alter Customer Data Override: </td><td align=left><select size=1 name=alter_custdata_override><option>NOT_ACTIVE</option><option>ALLOW_ALTER</option><option SELECTED>$alter_custdata_override</option></select>$NWB#vicidial_users-alter_custdata_override$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Inbound Groups: </td><td align=left>\n";
|
|
|
|
|
echo "$groups_list";
|
|
|
|
|
echo "$NWB#vicidial_users-closer_campaigns$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=center colspan=2>Inbound Groups: $NWB#vicidial_users-closer_campaigns$NWE<BR>\n";
|
|
|
|
|
echo "<table border=0>\n";
|
|
|
|
|
echo "$RANKgroups_list";
|
|
|
|
|
echo "</table>\n";
|
|
|
|
|
echo "</td></tr>\n";
|
|
|
|
|
}
|
|
|
|
|
if ($LOGuser_level > 8)
|
|
|
|
|
{
|
|
|
|
|
echo "<tr bgcolor=#015B91><td colspan=2 align=center><font color=white><B>ADMIN INTERFACE OPTIONS:</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Alter Agent Interface Options: </td><td align=left><select size=1 name=alter_agent_interface_options><option>0</option><option>1</option><option SELECTED>$alter_agent_interface_options</option></select>$NWB#vicidial_users-alter_agent_interface_options$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Delete Users: </td><td align=left><select size=1 name=delete_users><option>0</option><option>1</option><option SELECTED>$delete_users</option></select>$NWB#vicidial_users-delete_users$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Delete User Groups: </td><td align=left><select size=1 name=delete_user_groups><option>0</option><option>1</option><option SELECTED>$delete_user_groups</option></select>$NWB#vicidial_users-delete_user_groups$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Delete Lists: </td><td align=left><select size=1 name=delete_lists><option>0</option><option>1</option><option SELECTED>$delete_lists</option></select>$NWB#vicidial_users-delete_lists$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Delete Campaigns: </td><td align=left><select size=1 name=delete_campaigns><option>0</option><option>1</option><option SELECTED>$delete_campaigns</option></select>$NWB#vicidial_users-delete_campaigns$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Delete In-Groups: </td><td align=left><select size=1 name=delete_ingroups><option>0</option><option>1</option><option SELECTED>$delete_ingroups</option></select>$NWB#vicidial_users-delete_ingroups$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Delete Remote Agents: </td><td align=left><select size=1 name=delete_remote_agents><option>0</option><option>1</option><option SELECTED>$delete_remote_agents</option></select>$NWB#vicidial_users-delete_remote_agents$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Delete Scripts: </td><td align=left><select size=1 name=delete_scripts><option>0</option><option>1</option><option SELECTED>$delete_scripts</option></select>$NWB#vicidial_users-delete_scripts$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Load Leads: </td><td align=left><select size=1 name=load_leads><option>0</option><option>1</option><option SELECTED>$load_leads</option></select>$NWB#vicidial_users-load_leads$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Campaign Detail: </td><td align=left><select size=1 name=campaign_detail><option>0</option><option>1</option><option SELECTED>$campaign_detail</option></select>$NWB#vicidial_users-campaign_detail$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>AGC Admin Access: </td><td align=left><select size=1 name=ast_admin_access><option>0</option><option>1</option><option SELECTED>$ast_admin_access</option></select>$NWB#vicidial_users-ast_admin_access$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>AGC Delete Phones: </td><td align=left><select size=1 name=ast_delete_phones><option>0</option><option>1</option><option SELECTED>$ast_delete_phones</option></select>$NWB#vicidial_users-ast_delete_phones$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Modify Leads: </td><td align=left><select size=1 name=modify_leads><option>0</option><option>1</option><option SELECTED>$modify_leads</option></select>$NWB#vicidial_users-modify_leads$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Change Agent Campaign: </td><td align=left><select size=1 name=change_agent_campaign><option>0</option><option>1</option><option SELECTED>$change_agent_campaign</option></select>$NWB#vicidial_users-change_agent_campaign$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Delete Filters: </td><td align=left><select size=1 name=delete_filters><option>0</option><option>1</option><option SELECTED>$delete_filters</option></select>$NWB#vicidial_users-delete_filters$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Delete Call Times: </td><td align=left><select size=1 name=delete_call_times><option>0</option><option>1</option><option SELECTED>$delete_call_times</option></select>$NWB#vicidial_users-delete_call_times$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Modify Call Times: </td><td align=left><select size=1 name=modify_call_times><option>0</option><option>1</option><option SELECTED>$modify_call_times</option></select>$NWB#vicidial_users-modify_call_times$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Modify Users: </td><td align=left><select size=1 name=modify_users><option>0</option><option>1</option><option SELECTED>$modify_users</option></select>$NWB#vicidial_users-modify_sections$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Modify Campaigns: </td><td align=left><select size=1 name=modify_campaigns><option>0</option><option>1</option><option SELECTED>$modify_campaigns</option></select>$NWB#vicidial_users-modify_sections$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Modify Lists: </td><td align=left><select size=1 name=modify_lists><option>0</option><option>1</option><option SELECTED>$modify_lists</option></select>$NWB#vicidial_users-modify_sections$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Modify Scripts: </td><td align=left><select size=1 name=modify_scripts><option>0</option><option>1</option><option SELECTED>$modify_scripts</option></select>$NWB#vicidial_users-modify_sections$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Modify Filters: </td><td align=left><select size=1 name=modify_filters><option>0</option><option>1</option><option SELECTED>$modify_filters</option></select>$NWB#vicidial_users-modify_sections$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Modify In-Groups: </td><td align=left><select size=1 name=modify_ingroups><option>0</option><option>1</option><option SELECTED>$modify_ingroups</option></select>$NWB#vicidial_users-modify_sections$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Modify User Groups: </td><td align=left><select size=1 name=modify_usergroups><option>0</option><option>1</option><option SELECTED>$modify_usergroups</option></select>$NWB#vicidial_users-modify_sections$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Modify Remote Agents: </td><td align=left><select size=1 name=modify_remoteagents><option>0</option><option>1</option><option SELECTED>$modify_remoteagents</option></select>$NWB#vicidial_users-modify_sections$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Modify Servers: </td><td align=left><select size=1 name=modify_servers><option>0</option><option>1</option><option SELECTED>$modify_servers</option></select>$NWB#vicidial_users-modify_sections$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>View Reports: </td><td align=left><select size=1 name=view_reports><option>0</option><option>1</option><option SELECTED>$view_reports</option></select>$NWB#vicidial_users-view_reports$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
#9BB9FB
|
|
|
|
|
#B9CBFD
|
|
|
|
|
echo "<tr bgcolor=#9BB9FB><td align=right>View Reports: </td><td align=left><select size=1 name=view_reports><option>0</option><option>1</option><option SELECTED>$view_reports</option></select>$NWB#vicidial_users-view_reports$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#B9CBFD><td align=right>Alter Agent Interface Options: </td><td align=left><select size=1 name=alter_agent_interface_options><option>0</option><option>1</option><option SELECTED>$alter_agent_interface_options</option></select>$NWB#vicidial_users-alter_agent_interface_options$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B9CBFD><td align=right>Modify Users: </td><td align=left><select size=1 name=modify_users><option>0</option><option>1</option><option SELECTED>$modify_users</option></select>$NWB#vicidial_users-modify_sections$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B9CBFD><td align=right>Change Agent Campaign: </td><td align=left><select size=1 name=change_agent_campaign><option>0</option><option>1</option><option SELECTED>$change_agent_campaign</option></select>$NWB#vicidial_users-change_agent_campaign$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B9CBFD><td align=right>Delete Users: </td><td align=left><select size=1 name=delete_users><option>0</option><option>1</option><option SELECTED>$delete_users</option></select>$NWB#vicidial_users-delete_users$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#9BB9FB><td align=right>Modify User Groups: </td><td align=left><select size=1 name=modify_usergroups><option>0</option><option>1</option><option SELECTED>$modify_usergroups</option></select>$NWB#vicidial_users-modify_sections$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#9BB9FB><td align=right>Delete User Groups: </td><td align=left><select size=1 name=delete_user_groups><option>0</option><option>1</option><option SELECTED>$delete_user_groups</option></select>$NWB#vicidial_users-delete_user_groups$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#B9CBFD><td align=right>Modify Lists: </td><td align=left><select size=1 name=modify_lists><option>0</option><option>1</option><option SELECTED>$modify_lists</option></select>$NWB#vicidial_users-modify_sections$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B9CBFD><td align=right>Delete Lists: </td><td align=left><select size=1 name=delete_lists><option>0</option><option>1</option><option SELECTED>$delete_lists</option></select>$NWB#vicidial_users-delete_lists$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B9CBFD><td align=right>Load Leads: </td><td align=left><select size=1 name=load_leads><option>0</option><option>1</option><option SELECTED>$load_leads</option></select>$NWB#vicidial_users-load_leads$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B9CBFD><td align=right>Modify Leads: </td><td align=left><select size=1 name=modify_leads><option>0</option><option>1</option><option SELECTED>$modify_leads</option></select>$NWB#vicidial_users-modify_leads$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#9BB9FB><td align=right>Modify Campaigns: </td><td align=left><select size=1 name=modify_campaigns><option>0</option><option>1</option><option SELECTED>$modify_campaigns</option></select>$NWB#vicidial_users-modify_sections$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#9BB9FB><td align=right>Campaign Detail: </td><td align=left><select size=1 name=campaign_detail><option>0</option><option>1</option><option SELECTED>$campaign_detail</option></select>$NWB#vicidial_users-campaign_detail$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#9BB9FB><td align=right>Delete Campaigns: </td><td align=left><select size=1 name=delete_campaigns><option>0</option><option>1</option><option SELECTED>$delete_campaigns</option></select>$NWB#vicidial_users-delete_campaigns$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#B9CBFD><td align=right>Modify In-Groups: </td><td align=left><select size=1 name=modify_ingroups><option>0</option><option>1</option><option SELECTED>$modify_ingroups</option></select>$NWB#vicidial_users-modify_sections$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B9CBFD><td align=right>Delete In-Groups: </td><td align=left><select size=1 name=delete_ingroups><option>0</option><option>1</option><option SELECTED>$delete_ingroups</option></select>$NWB#vicidial_users-delete_ingroups$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#9BB9FB><td align=right>Modify Remote Agents: </td><td align=left><select size=1 name=modify_remoteagents><option>0</option><option>1</option><option SELECTED>$modify_remoteagents</option></select>$NWB#vicidial_users-modify_sections$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#9BB9FB><td align=right>Delete Remote Agents: </td><td align=left><select size=1 name=delete_remote_agents><option>0</option><option>1</option><option SELECTED>$delete_remote_agents</option></select>$NWB#vicidial_users-delete_remote_agents$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#B9CBFD><td align=right>Modify Scripts: </td><td align=left><select size=1 name=modify_scripts><option>0</option><option>1</option><option SELECTED>$modify_scripts</option></select>$NWB#vicidial_users-modify_sections$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B9CBFD><td align=right>Delete Scripts: </td><td align=left><select size=1 name=delete_scripts><option>0</option><option>1</option><option SELECTED>$delete_scripts</option></select>$NWB#vicidial_users-delete_scripts$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#9BB9FB><td align=right>Modify Filters: </td><td align=left><select size=1 name=modify_filters><option>0</option><option>1</option><option SELECTED>$modify_filters</option></select>$NWB#vicidial_users-modify_sections$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#9BB9FB><td align=right>Delete Filters: </td><td align=left><select size=1 name=delete_filters><option>0</option><option>1</option><option SELECTED>$delete_filters</option></select>$NWB#vicidial_users-delete_filters$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#B9CBFD><td align=right>AGC Admin Access: </td><td align=left><select size=1 name=ast_admin_access><option>0</option><option>1</option><option SELECTED>$ast_admin_access</option></select>$NWB#vicidial_users-ast_admin_access$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B9CBFD><td align=right>AGC Delete Phones: </td><td align=left><select size=1 name=ast_delete_phones><option>0</option><option>1</option><option SELECTED>$ast_delete_phones</option></select>$NWB#vicidial_users-ast_delete_phones$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B9CBFD><td align=right>Modify Call Times: </td><td align=left><select size=1 name=modify_call_times><option>0</option><option>1</option><option SELECTED>$modify_call_times</option></select>$NWB#vicidial_users-modify_call_times$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B9CBFD><td align=right>Delete Call Times: </td><td align=left><select size=1 name=delete_call_times><option>0</option><option>1</option><option SELECTED>$delete_call_times</option></select>$NWB#vicidial_users-delete_call_times$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B9CBFD><td align=right>Modify Servers: </td><td align=left><select size=1 name=modify_servers><option>0</option><option>1</option><option SELECTED>$modify_servers</option></select>$NWB#vicidial_users-modify_sections$NWE</td></tr>\n";
|
|
|
|
|
}
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=center colspan=2><input type=submit name=SUBMIT value=SUBMIT></td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#9BB9FB><td align=center colspan=2><input type=submit name=SUBMIT value=SUBMIT></td></tr>\n";
|
|
|
|
|
echo "</TABLE></center>\n";
|
|
|
|
|
|
|
|
|
|
if ($LOGdelete_users > 0)
|
|
|
|
@@ -10106,22 +10270,33 @@ if ($ADD==3111)
|
|
|
|
|
$stmt="SELECT * from vicidial_inbound_groups where group_id='$group_id';";
|
|
|
|
|
$rslt=mysql_query($stmt, $link);
|
|
|
|
|
$row=mysql_fetch_row($rslt);
|
|
|
|
|
$group_name = $row[1];
|
|
|
|
|
$group_color = $row[2];
|
|
|
|
|
$active = $row[3];
|
|
|
|
|
$web_form_address = $row[4];
|
|
|
|
|
$voicemail_ext = $row[5];
|
|
|
|
|
$next_agent_call = $row[6];
|
|
|
|
|
$fronter_display = $row[7];
|
|
|
|
|
$script_id = $row[8];
|
|
|
|
|
$get_call_launch = $row[9];
|
|
|
|
|
$xferconf_a_dtmf = $row[10];
|
|
|
|
|
$xferconf_a_number = $row[11];
|
|
|
|
|
$xferconf_b_dtmf = $row[12];
|
|
|
|
|
$xferconf_b_number = $row[13];
|
|
|
|
|
$drop_call_seconds = $row[14];
|
|
|
|
|
$drop_message = $row[15];
|
|
|
|
|
$drop_exten = $row[16];
|
|
|
|
|
$group_name = $row[1];
|
|
|
|
|
$group_color = $row[2];
|
|
|
|
|
$active = $row[3];
|
|
|
|
|
$web_form_address = $row[4];
|
|
|
|
|
$voicemail_ext = $row[5];
|
|
|
|
|
$next_agent_call = $row[6];
|
|
|
|
|
$fronter_display = $row[7];
|
|
|
|
|
$script_id = $row[8];
|
|
|
|
|
$get_call_launch = $row[9];
|
|
|
|
|
$xferconf_a_dtmf = $row[10];
|
|
|
|
|
$xferconf_a_number = $row[11];
|
|
|
|
|
$xferconf_b_dtmf = $row[12];
|
|
|
|
|
$xferconf_b_number = $row[13];
|
|
|
|
|
$drop_call_seconds = $row[14];
|
|
|
|
|
$drop_message = $row[15];
|
|
|
|
|
$drop_exten = $row[16];
|
|
|
|
|
$call_time_id = $row[17];
|
|
|
|
|
$after_hours_action = $row[18];
|
|
|
|
|
$after_hours_message_filename = $row[19];
|
|
|
|
|
$after_hours_exten = $row[20];
|
|
|
|
|
$after_hours_voicemail = $row[21];
|
|
|
|
|
$welcome_message_filename = $row[22];
|
|
|
|
|
$moh_context = $row[23];
|
|
|
|
|
$onhold_prompt_filename = $row[24];
|
|
|
|
|
$prompt_interval = $row[25];
|
|
|
|
|
$agent_alert_exten = $row[26];
|
|
|
|
|
$agent_alert_delay = $row[27];
|
|
|
|
|
|
|
|
|
|
echo "<br>MODIFY A GROUPS RECORD: $row[0]<form action=$PHP_SELF method=POST>\n";
|
|
|
|
|
echo "<input type=hidden name=ADD value=4111>\n";
|
|
|
|
@@ -10157,13 +10332,62 @@ if ($ADD==3111)
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Drop Exten: </td><td align=left><input type=text name=drop_exten size=10 maxlength=20 value=\"$drop_exten\">$NWB#vicidial_inbound_groups-drop_exten$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right><a href=\"$PHP_SELF?ADD=311111111&call_time_id=$call_time_id\">Call Time: </a></td><td align=left><select size=1 name=call_time_id>\n";
|
|
|
|
|
echo "$call_times_list";
|
|
|
|
|
echo "<option selected value=\"$call_time_id\">$call_time_id - $call_timename_list[$call_time_id]</option>\n";
|
|
|
|
|
echo "</select>$NWB#vicidial_inbound_groups-call_time_id$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>After Hours Action: </td><td align=left><select size=1 name=after_hours_action><option>HANGUP</option><option>MESSAGE</option><option>EXTENSION</option><option>VOICEMAIL</option><option SELECTED>$after_hours_action</option></select>$NWB#vicidial_inbound_groups-after_hours_action$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>After Hours Message Filename: </td><td align=left><input type=text name=after_hours_message_filename size=20 maxlength=50 value=\"$after_hours_message_filename\">$NWB#vicidial_inbound_groups-after_hours_message_filename$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>After Hours Extension: </td><td align=left><input type=text name=after_hours_exten size=10 maxlength=20 value=\"$after_hours_exten\">$NWB#vicidial_inbound_groups-after_hours_exten$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>After Hours Voicemail: </td><td align=left><input type=text name=after_hours_voicemail size=10 maxlength=20 value=\"$after_hours_voicemail\">$NWB#vicidial_inbound_groups-after_hours_voicemail$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Welcome Message Filename: </td><td align=left><input type=text name=welcome_message_filename size=20 maxlength=50 value=\"$welcome_message_filename\">$NWB#vicidial_inbound_groups-welcome_message_filename$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Music On Hold Context: </td><td align=left><input type=text name=moh_context size=10 maxlength=20 value=\"$moh_context\">$NWB#vicidial_inbound_groups-moh_context$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>On Hold Prompt Filename: </td><td align=left><input type=text name=onhold_prompt_filename size=20 maxlength=50 value=\"$onhold_prompt_filename\">$NWB#vicidial_inbound_groups-onhold_prompt_filename$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>On Hold Prompt Interval: </td><td align=left><input type=text name=prompt_interval size=5 maxlength=5 value=\"$prompt_interval\">$NWB#vicidial_inbound_groups-prompt_interval$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Agent Alert Extension: </td><td align=left><input type=text name=agent_alert_exten size=10 maxlength=20 value=\"$agent_alert_exten\">$NWB#vicidial_inbound_groups-agent_alert_exten$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Agent Alert Delay: </td><td align=left><input type=text name=agent_alert_delay size=6 maxlength=6 value=\"$agent_alert_delay\">$NWB#vicidial_inbound_groups-agent_alert_delay$NWE</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=center colspan=2><input type=submit name=SUBMIT value=SUBMIT></td></tr>\n";
|
|
|
|
|
echo "</TABLE></center>\n";
|
|
|
|
|
|
|
|
|
|
### list of agent rank or skill-level for this inbound group
|
|
|
|
|
echo "<center>\n";
|
|
|
|
|
echo "<br><b>AGENT RANKS FOR THIS INBOUND GROUP:</b><br>\n";
|
|
|
|
|
echo "<TABLE width=400 cellspacing=3>\n";
|
|
|
|
|
echo "<tr><td>USER</td><td> RANK</td><td> CALLS TODAY</td></tr>\n";
|
|
|
|
|
|
|
|
|
|
$stmt="SELECT user,group_rank,calls_today from vicidial_inbound_group_agents where group_id='$group_id'";
|
|
|
|
|
$rsltx=mysql_query($stmt, $link);
|
|
|
|
|
$users_to_print = mysql_num_rows($rsltx);
|
|
|
|
|
|
|
|
|
|
$o=0;
|
|
|
|
|
while ($users_to_print > $o) {
|
|
|
|
|
$rowx=mysql_fetch_row($rsltx);
|
|
|
|
|
$o++;
|
|
|
|
|
|
|
|
|
|
if (eregi("1$|3$|5$|7$|9$", $o))
|
|
|
|
|
{$bgcolor='bgcolor="#B9CBFD"';}
|
|
|
|
|
else
|
|
|
|
|
{$bgcolor='bgcolor="#9BB9FB"';}
|
|
|
|
|
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1><a href=\"$PHP_SELF?ADD=3&user=$rowx[0]\">$rowx[0]</a></td><td><font size=1>$rowx[1]</td><td><font size=1>$rowx[2]</td></tr>\n";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
echo "</table></center><br>\n";
|
|
|
|
|
|
|
|
|
|
echo "<a href=\"./AST_CLOSERstats.php?group=$group_id\">Click here to see a report for this campaign</a><BR><BR>\n";
|
|
|
|
|
echo "</table></center><br>\n";
|
|
|
|
|
|
|
|
|
|
echo "<a href=\"./AST_CLOSERstats.php?group=$group_id\">Click here to see a report for this inbound group</a><BR><BR>\n";
|
|
|
|
|
|
|
|
|
|
echo "<center><b>\n";
|
|
|
|
|
|
|
|
|
@@ -11812,7 +12036,7 @@ echo "<center><TABLE width=$section_width cellspacing=0 cellpadding=1>\n";
|
|
|
|
|
{$bgcolor='bgcolor="#B9CBFD"';}
|
|
|
|
|
else
|
|
|
|
|
{$bgcolor='bgcolor="#9BB9FB"';}
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1>$row[0]</td>";
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1><a href=\"$PHP_SELF?ADD=311&list_id=$row[0]\">$row[0]</a></td>";
|
|
|
|
|
echo "<td><font size=1> $row[1]</td>";
|
|
|
|
|
echo "<td><font size=1> $row[2]</td><td><font size=1>$row[4]</td><td><font size=1>$row[5]</td>";
|
|
|
|
|
echo "<td><font size=1> $row[3]</td><td><font size=1>$row[7]</td><td><font size=1> </td>";
|
|
|
|
@@ -11847,7 +12071,7 @@ echo "<center><TABLE width=$section_width cellspacing=0 cellpadding=1>\n";
|
|
|
|
|
{$bgcolor='bgcolor="#B9CBFD"';}
|
|
|
|
|
else
|
|
|
|
|
{$bgcolor='bgcolor="#9BB9FB"';}
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1>$row[0]</td>";
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1><a href=\"$PHP_SELF?ADD=3111&group_id=$row[0]\">$row[0]</a></td>";
|
|
|
|
|
echo "<td><font size=1> $row[1]</td>";
|
|
|
|
|
echo "<td><font size=1> $row[3]</td>";
|
|
|
|
|
echo "<td><font size=1> $row[5]</td>";
|
|
|
|
@@ -11882,7 +12106,7 @@ echo "<center><TABLE width=$section_width cellspacing=0 cellpadding=1>\n";
|
|
|
|
|
{$bgcolor='bgcolor="#B9CBFD"';}
|
|
|
|
|
else
|
|
|
|
|
{$bgcolor='bgcolor="#9BB9FB"';}
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1>$row[1]</td>";
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1><a href=\"$PHP_SELF?ADD=31111&remote_agent_id=$row[0]\">$row[1]</a></td>";
|
|
|
|
|
echo "<td><font size=1> $row[2]</td>";
|
|
|
|
|
echo "<td><font size=1> $row[3]</td>";
|
|
|
|
|
echo "<td><font size=1> $row[4]</td>";
|
|
|
|
@@ -11918,7 +12142,7 @@ echo "<center><TABLE width=$section_width cellspacing=0 cellpadding=1>\n";
|
|
|
|
|
{$bgcolor='bgcolor="#B9CBFD"';}
|
|
|
|
|
else
|
|
|
|
|
{$bgcolor='bgcolor="#9BB9FB"';}
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1>$row[0]</td>";
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1><a href=\"$PHP_SELF?ADD=311111&user_group=$row[0]\">$row[0]</a></td>";
|
|
|
|
|
echo "<td><font size=1> $row[1]</td>";
|
|
|
|
|
echo "<td><font size=1><a href=\"$PHP_SELF?ADD=311111&user_group=$row[0]\">MODIFY</a></td></tr>\n";
|
|
|
|
|
$o++;
|
|
|
|
@@ -11950,7 +12174,7 @@ echo "<center><TABLE width=$section_width cellspacing=0 cellpadding=1>\n";
|
|
|
|
|
{$bgcolor='bgcolor="#B9CBFD"';}
|
|
|
|
|
else
|
|
|
|
|
{$bgcolor='bgcolor="#9BB9FB"';}
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1>$row[0]</td>";
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1><a href=\"$PHP_SELF?ADD=3111111&script_id=$row[0]\">$row[0]</a></td>";
|
|
|
|
|
echo "<td><font size=1> $row[1]</td>";
|
|
|
|
|
echo "<td><font size=1><a href=\"$PHP_SELF?ADD=3111111&script_id=$row[0]\">MODIFY</a></td></tr>\n";
|
|
|
|
|
$o++;
|
|
|
|
@@ -11983,7 +12207,7 @@ echo "<center><TABLE width=$section_width cellspacing=0 cellpadding=1>\n";
|
|
|
|
|
{$bgcolor='bgcolor="#B9CBFD"';}
|
|
|
|
|
else
|
|
|
|
|
{$bgcolor='bgcolor="#9BB9FB"';}
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1>$row[0]</td>";
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1><a href=\"$PHP_SELF?ADD=31111111&lead_filter_id=$row[0]\">$row[0]</a></td>";
|
|
|
|
|
echo "<td><font size=1> $row[1]</td>";
|
|
|
|
|
echo "<td><font size=1><a href=\"$PHP_SELF?ADD=31111111&lead_filter_id=$row[0]\">MODIFY</a></td></tr>\n";
|
|
|
|
|
$o++;
|
|
|
|
@@ -12016,7 +12240,7 @@ echo "<center><TABLE width=$section_width cellspacing=0 cellpadding=1>\n";
|
|
|
|
|
{$bgcolor='bgcolor="#B9CBFD"';}
|
|
|
|
|
else
|
|
|
|
|
{$bgcolor='bgcolor="#9BB9FB"';}
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1>$row[0]</td>";
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1><a href=\"$PHP_SELF?ADD=311111111&call_time_id=$row[0]\">$row[0]</a></td>";
|
|
|
|
|
echo "<td><font size=1> $row[1]</td>";
|
|
|
|
|
echo "<td><font size=1> $row[3] </td>";
|
|
|
|
|
echo "<td><font size=1> $row[4] </td>";
|
|
|
|
@@ -12050,7 +12274,7 @@ echo "<center><TABLE width=$section_width cellspacing=0 cellpadding=1>\n";
|
|
|
|
|
{$bgcolor='bgcolor="#B9CBFD"';}
|
|
|
|
|
else
|
|
|
|
|
{$bgcolor='bgcolor="#9BB9FB"';}
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1>$row[0]</td>";
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1><a href=\"$PHP_SELF?ADD=3111111111&call_time_id=$row[0]\">$row[0]</a></td>";
|
|
|
|
|
echo "<td><font size=1> $row[1]</td>";
|
|
|
|
|
echo "<td><font size=1> $row[2]</td>";
|
|
|
|
|
echo "<td><font size=1> $row[3] </td>";
|
|
|
|
@@ -12136,7 +12360,7 @@ echo "<center><TABLE width=$section_width cellspacing=0 cellpadding=1>\n";
|
|
|
|
|
{$bgcolor='bgcolor="#B9CBFD"';}
|
|
|
|
|
else
|
|
|
|
|
{$bgcolor='bgcolor="#9BB9FB"';}
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1>$row[0]</td><td><font size=1>$row[1]</td>";
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1><a href=\"$PHP_SELF?ADD=311111111111&server_id=$row[0]\">$row[0]</a></td><td><font size=1>$row[1]</td>";
|
|
|
|
|
echo "<td><font size=1> $row[2]</td>";
|
|
|
|
|
echo "<td><font size=1> $row[4]</td>";
|
|
|
|
|
echo "<td><font size=1> $row[3]</td><td><font size=1> </td>";
|
|
|
|
@@ -12169,7 +12393,7 @@ echo "<center><TABLE width=$section_width cellspacing=0 cellpadding=1>\n";
|
|
|
|
|
{$bgcolor='bgcolor="#B9CBFD"';}
|
|
|
|
|
else
|
|
|
|
|
{$bgcolor='bgcolor="#9BB9FB"';}
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1>$row[0]</td>";
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1><a href=\"$PHP_SELF?ADD=3111111111111&conf_exten=$row[0]&server_ip=$row[1]\">$row[0]</a></td>";
|
|
|
|
|
echo "<td><font size=1> $row[1]</td>";
|
|
|
|
|
echo "<td><font size=1> $row[2]</td><td><font size=1>$row[4]</td><td><font size=1> </td>";
|
|
|
|
|
echo "<td><font size=1><a href=\"$PHP_SELF?ADD=3111111111111&conf_exten=$row[0]&server_ip=$row[1]\">MODIFY</a></td></tr>\n";
|
|
|
|
@@ -12201,7 +12425,7 @@ echo "<center><TABLE width=$section_width cellspacing=0 cellpadding=1>\n";
|
|
|
|
|
{$bgcolor='bgcolor="#B9CBFD"';}
|
|
|
|
|
else
|
|
|
|
|
{$bgcolor='bgcolor="#9BB9FB"';}
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1>$row[0]</td>";
|
|
|
|
|
echo "<tr $bgcolor><td><font size=1><a href=\"$PHP_SELF?ADD=31111111111111&conf_exten=$row[0]&server_ip=$row[1]\">$row[0]</a></td>";
|
|
|
|
|
echo "<td><font size=1> $row[1]</td>";
|
|
|
|
|
echo "<td><font size=1> $row[2]</td><td><font size=1>$row[4]</td><td><font size=1> </td>";
|
|
|
|
|
echo "<td><font size=1><a href=\"$PHP_SELF?ADD=31111111111111&conf_exten=$row[0]&server_ip=$row[1]\">MODIFY</a></td></tr>\n";
|
|
|
|
@@ -12256,10 +12480,8 @@ if ($ADD==999999)
|
|
|
|
|
<FONT SIZE=4><B>VICIDIAL: Server Stats and Reports</B></font><BR><BR>
|
|
|
|
|
<UL>
|
|
|
|
|
<LI><a href="AST_timeonVDADall.php"><FONT FACE="ARIAL,HELVETICA" COLOR=BLACK SIZE=2>TIME ON VDAD (per campaign)</a> <a href="AST_timeonVDADallSUMMARY.php"><FONT FACE="ARIAL,HELVETICA" COLOR=BLACK SIZE=2>(all campaigns SUMMARY)</a> SIP <a href="AST_timeonVDADall.php?SIPmonitorLINK=1"><FONT FACE="ARIAL,HELVETICA" COLOR=BLACK SIZE=2>Listen</a> - <a href="AST_timeonVDADall.php?SIPmonitorLINK=2"><FONT FACE="ARIAL,HELVETICA" COLOR=BLACK SIZE=2>Barge</a> IAX <a href="AST_timeonVDADall.php?IAXmonitorLINK=1"><FONT FACE="ARIAL,HELVETICA" COLOR=BLACK SIZE=2>Listen</a> - <a href="AST_timeonVDADall.php?IAXmonitorLINK=2"><FONT FACE="ARIAL,HELVETICA" COLOR=BLACK SIZE=2>Barge</a></FONT>
|
|
|
|
|
<LI><a href="AST_parkstats.php"><FONT FACE="ARIAL,HELVETICA" COLOR=BLACK SIZE=2>PARK REPORT</a></FONT>
|
|
|
|
|
<LI><a href="AST_VDADstats.php"><FONT FACE="ARIAL,HELVETICA" COLOR=BLACK SIZE=2>VDAD REPORT</a></FONT>
|
|
|
|
|
<LI><a href="AST_CLOSERstats.php"><FONT FACE="ARIAL,HELVETICA" COLOR=BLACK SIZE=2>CLOSER REPORT</a></FONT>
|
|
|
|
|
<LI><a href="AST_agent_performance.php"><FONT FACE="ARIAL,HELVETICA" COLOR=BLACK SIZE=2>AGENT PERFORMANCE</a></FONT>
|
|
|
|
|
<LI><a href="AST_agent_performance_detail.php"><FONT FACE="ARIAL,HELVETICA" COLOR=BLACK SIZE=2>AGENT PERFORMANCE DETAIL</a></FONT>
|
|
|
|
|
<LI><a href="vicidial_sales_viewer.php"><FONT FACE="ARIAL,HELVETICA" COLOR=BLACK SIZE=2>AGENT SPREADSHEET PERFORMANCE</a></FONT>
|
|
|
|
|
<LI><a href="AST_server_performance.php"><FONT FACE="ARIAL,HELVETICA" COLOR=BLACK SIZE=2>SERVER PERFORMANCE</a></FONT>
|
|
|
|
|