Changed DID filter_phone_group_id & pre_filter_phone_group_id to multi-selects
git-svn-id: svn://192.168.202.10@3893 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
# ;inbound DID catch-all:
|
||||
#exten => _X.,1,AGI(agi-DID_route.agi)
|
||||
#
|
||||
# Copyright (C) 2023 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
|
||||
# Copyright (C) 2024 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
|
||||
#
|
||||
# changes:
|
||||
# 81007-0324 - First Build
|
||||
@@ -50,6 +50,7 @@
|
||||
# 210315-1132 - Fix for multiple filter_clean_cid_number actions, added 'T' filter action, Issue #1247
|
||||
# 220507-0811 - Added pre_filter_recent_call function
|
||||
# 230124-1228 - Added logging of VICIrecGatewayID channel variable, and vicidial_did_gateway_log table
|
||||
# 241208-1748 - Changed DID filter_phone_group_id & pre_filter_phone_group_id to multi-selects
|
||||
#
|
||||
|
||||
|
||||
@@ -977,12 +978,16 @@ if ( (length($pre_filter_phone_group_id)>0) && (length($pre_filter_extension)>0)
|
||||
{
|
||||
if ($AGILOG) {$agi_string = "pre-filtering active: |$extension|$pre_filter_phone_group_id|$pre_filter_extension|$filter_clean_cid_number|$callerid"; &agi_output;}
|
||||
|
||||
$pre_filter_phone_group_idSQL = "\"$pre_filter_phone_group_id\"";
|
||||
$pre_filter_phone_group_idSQL =~ s/,/","/gi;
|
||||
|
||||
$temp_cid_test = $callerid;
|
||||
if (length($callerid)<1) {$temp_cid_test = 'BLANK';}
|
||||
$stmtA = "SELECT count(*) FROM vicidial_filter_phone_numbers where filter_phone_group_id='$pre_filter_phone_group_id' and phone_number='$temp_cid_test';";
|
||||
$stmtA = "SELECT count(*) FROM vicidial_filter_phone_numbers where filter_phone_group_id IN($pre_filter_phone_group_idSQL) and phone_number='$temp_cid_test';";
|
||||
$sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr;
|
||||
$sthA->execute or die "executing: $stmtA ", $dbhA->errstr;
|
||||
$sthArows=$sthA->rows;
|
||||
if ($AGILOG) {$agi_string = "$sthArows|$stmtA|"; &agi_output;}
|
||||
if ($sthArows > 0)
|
||||
{
|
||||
@aryA = $sthA->fetchrow_array;
|
||||
@@ -1295,9 +1300,12 @@ if ( ($filter_inbound_number =~ /GROUP|URL|DNC_INTERNAL|DNC_CAMPAIGN/) && ($pre_
|
||||
if ($AGILOG) {$agi_string = "filtering active: |$extension|$filter_inbound_number|$filter_phone_group_id|$filter_url|$filter_action|$filter_clean_cid_number|"; &agi_output;}
|
||||
if ($filter_inbound_number =~ /GROUP/)
|
||||
{
|
||||
$filter_phone_group_idSQL = "\"$filter_phone_group_id\"";
|
||||
$filter_phone_group_idSQL =~ s/,/","/gi;
|
||||
|
||||
$temp_cid_test = $callerid;
|
||||
if (length($callerid)<1) {$temp_cid_test = 'BLANK';}
|
||||
$stmtA = "SELECT count(*) FROM vicidial_filter_phone_numbers where filter_phone_group_id='$filter_phone_group_id' and phone_number='$temp_cid_test';";
|
||||
$stmtA = "SELECT count(*) FROM vicidial_filter_phone_numbers where filter_phone_group_id IN($filter_phone_group_idSQL) and phone_number='$temp_cid_test';";
|
||||
$sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr;
|
||||
$sthA->execute or die "executing: $stmtA ", $dbhA->errstr;
|
||||
$sthArows=$sthA->rows;
|
||||
@@ -1312,7 +1320,7 @@ if ( ($filter_inbound_number =~ /GROUP|URL|DNC_INTERNAL|DNC_CAMPAIGN/) && ($pre_
|
||||
{
|
||||
$alt_areacode = substr($callerid, 0, 3);
|
||||
$alt_areacode .= "XXXXXXX";
|
||||
$stmtB = "SELECT count(*) FROM vicidial_filter_phone_numbers where filter_phone_group_id='$filter_phone_group_id' and phone_number='$alt_areacode';";
|
||||
$stmtB = "SELECT count(*) FROM vicidial_filter_phone_numbers where filter_phone_group_id IN($filter_phone_group_idSQL) and phone_number='$alt_areacode';";
|
||||
$sthA = $dbhA->prepare($stmtB) or die "preparing: ",$dbhA->errstr;
|
||||
$sthA->execute or die "executing: $stmtA ", $dbhA->errstr;
|
||||
$sthArows=$sthA->rows;
|
||||
|
||||
@@ -3483,6 +3483,7 @@ while ( ($drop_timer <= $DROP_TIME) && ($wait_in_queue > 0) && ($MCdrop_override
|
||||
$sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr;
|
||||
$sthA->execute or die "executing: $stmtA ", $dbhA->errstr;
|
||||
$sthArowsAR=$sthA->rows;
|
||||
if ($AGILOG) {$agi_string = "-- ring_all AGENTS SEEK: |$sthArowsAR|$stmtA|"; &agi_output;}
|
||||
$dbhP=$dbhA; $mysql_count='02162'; $MEL_aff_rows=$sthArows; &mysql_error_logging;
|
||||
$ragp=0;
|
||||
while ($sthArowsAR > $ragp)
|
||||
|
||||
@@ -57,7 +57,7 @@ TIMEOT - Inbound call Drop Timeout, call waited until drop-seconds and was sent
|
||||
AFTHRS - Inbound after hours drop, call received outside of in-group call time
|
||||
NANQUE - Inbound no agent no queue drop, no agent logged in
|
||||
RAXFER - Remote Agent API transfer
|
||||
ALTNUM - Agent manual Dial Alternate number dialing, number dialed before final disposition
|
||||
ALTNUM - Agent manual Dial Alternate number dialing, number dialed with no final disposition OR 2nd call dialed on same lead before lead finished
|
||||
DISPO - Agent in disposition screen when they closed their web browser wiithout selecting dispisition
|
||||
WAITTO - Wait time option call termination on inbound call
|
||||
PDROP - Pre-routing dropped call, call hung up the instant the Answer signal is received
|
||||
|
||||
@@ -2336,7 +2336,7 @@ phone_code VARCHAR(10) default '1',
|
||||
menu_id VARCHAR(50) default '',
|
||||
record_call ENUM('Y','N','Y_QUEUESTOP') default 'N',
|
||||
filter_inbound_number ENUM('DISABLED','GROUP','URL','DNC_INTERNAL','DNC_CAMPAIGN','GROUP_AREACODE') default 'DISABLED',
|
||||
filter_phone_group_id VARCHAR(20) default '',
|
||||
filter_phone_group_id TEXT,
|
||||
filter_url VARCHAR(1000) default '',
|
||||
filter_action ENUM('EXTEN','VOICEMAIL','AGENT','PHONE','IN_GROUP','CALLMENU','VMAIL_NO_INST') default 'EXTEN',
|
||||
filter_extension VARCHAR(50) default '9998811112',
|
||||
@@ -2366,7 +2366,7 @@ filter_url_did_redirect ENUM('Y','N') default 'N',
|
||||
no_agent_ingroup_redirect ENUM('DISABLED','Y','NO_PAUSED','READY_ONLY') default 'DISABLED',
|
||||
no_agent_ingroup_id VARCHAR(20) default '',
|
||||
no_agent_ingroup_extension VARCHAR(50) default '9998811112',
|
||||
pre_filter_phone_group_id VARCHAR(20) default '',
|
||||
pre_filter_phone_group_id TEXT,
|
||||
pre_filter_extension VARCHAR(50) default '',
|
||||
entry_list_id BIGINT(14) UNSIGNED default '0',
|
||||
filter_entry_list_id BIGINT(14) UNSIGNED default '0',
|
||||
@@ -5737,4 +5737,4 @@ INSERT INTO `wallboard_reports` VALUES ('AGENTS_AND_QUEUES','Agents and Queues',
|
||||
|
||||
UPDATE system_settings set vdc_agent_api_active='1';
|
||||
|
||||
UPDATE system_settings SET db_schema_version='1721',db_schema_update_date=NOW(),reload_timestamp=NOW();
|
||||
UPDATE system_settings SET db_schema_version='1722',db_schema_update_date=NOW(),reload_timestamp=NOW();
|
||||
|
||||
@@ -2813,3 +2813,8 @@ ALTER TABLE vicidial_settings_containers ADD modify_stamp TIMESTAMP;
|
||||
ALTER TABLE vicidial_url_multi ADD modify_stamp TIMESTAMP;
|
||||
|
||||
UPDATE system_settings SET db_schema_version='1721',db_schema_update_date=NOW() where db_schema_version < 1721;
|
||||
|
||||
ALTER TABLE vicidial_inbound_dids MODIFY filter_phone_group_id TEXT;
|
||||
ALTER TABLE vicidial_inbound_dids MODIFY pre_filter_phone_group_id TEXT;
|
||||
|
||||
UPDATE system_settings SET db_schema_version='1722',db_schema_update_date=NOW() where db_schema_version < 1722;
|
||||
|
||||
@@ -6219,12 +6219,13 @@ if ($SSscript_remove_js > 0)
|
||||
# 241021-2138 - Added Khomp campaign settings option
|
||||
# 241113-2002 - Added update timestamps for sub-settings groups(like campaigns)
|
||||
# 241206-1527 - Do not display inactive VDAD/VDCL users in Copy User screen
|
||||
# 241208-1747 - Changed DID filter_phone_group_id & pre_filter_phone_group_id to multi-selects
|
||||
#
|
||||
|
||||
# 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-932a';
|
||||
$build = '241206-1527';
|
||||
$admin_version = '2.14-933a';
|
||||
$build = '241208-1747';
|
||||
|
||||
$STARTtime = date("U");
|
||||
$SQLdate = date("Y-m-d H:i:s");
|
||||
@@ -13966,7 +13967,7 @@ if ($ADD==2311)
|
||||
}
|
||||
else
|
||||
{
|
||||
$stmtA="INSERT INTO vicidial_inbound_dids (did_pattern,did_description,user_group) values('$did_pattern','$did_description','$user_group');";
|
||||
$stmtA="INSERT INTO vicidial_inbound_dids (did_pattern,did_description,user_group,filter_phone_group_id,pre_filter_phone_group_id) values('$did_pattern','$did_description','$user_group','','');";
|
||||
$rslt=mysql_to_mysqli($stmtA, $link);
|
||||
|
||||
$stmt="SELECT did_id from vicidial_inbound_dids where did_pattern='$did_pattern';";
|
||||
@@ -18725,6 +18726,28 @@ if ($ADD==4311)
|
||||
}
|
||||
echo "<br><B>"._QXZ("DID MODIFIED").": $did_pattern</B>\n";
|
||||
|
||||
$k=0; $new_field_value='';
|
||||
if (is_array($filter_phone_group_id)) {$multi_count = count($filter_phone_group_id);} else {$multi_count=0;}
|
||||
$multi_array = $filter_phone_group_id;
|
||||
while ($k < $multi_count)
|
||||
{
|
||||
$new_field_value .= "$multi_array[$k],";
|
||||
$k++;
|
||||
}
|
||||
$new_field_value = preg_replace("/\<|\>|\'|\"|\\\\|;/","",$new_field_value);
|
||||
$filter_phone_group_id = preg_replace("/,$/","",$new_field_value);
|
||||
|
||||
$k=0; $new_field_value='';
|
||||
if (is_array($pre_filter_phone_group_id)) {$multi_count = count($pre_filter_phone_group_id);} else {$multi_count=0;}
|
||||
$multi_array = $pre_filter_phone_group_id;
|
||||
while ($k < $multi_count)
|
||||
{
|
||||
$new_field_value .= "$multi_array[$k],";
|
||||
$k++;
|
||||
}
|
||||
$new_field_value = preg_replace("/\<|\>|\'|\"|\\\\|;/","",$new_field_value);
|
||||
$pre_filter_phone_group_id = preg_replace("/,$/","",$new_field_value);
|
||||
|
||||
$stmt="UPDATE vicidial_inbound_dids set did_pattern='$did_pattern',did_description='$did_description',did_active='$did_active',did_route='$did_route',extension='$extension',exten_context='$exten_context',voicemail_ext='$voicemail_ext',phone='$phone',server_ip='$server_ip',user='$user',user_unavailable_action='$user_unavailable_action',user_route_settings_ingroup='$user_route_settings_ingroup',group_id='$group_id',call_handle_method='$call_handle_method',agent_search_method='$agent_search_method',list_id='$list_id',campaign_id='$campaign_id',phone_code='$phone_code',menu_id='$menu_id',record_call='$record_call',filter_inbound_number='$filter_inbound_number',filter_phone_group_id='$filter_phone_group_id',filter_url='" . mysqli_real_escape_string($link, $filter_url) . "',filter_action='$filter_action',filter_extension='$filter_extension',filter_exten_context='$filter_exten_context',filter_voicemail_ext='$filter_voicemail_ext',filter_phone='$filter_phone',filter_server_ip='$filter_server_ip',filter_user='$filter_user',filter_user_unavailable_action='$filter_user_unavailable_action',filter_user_route_settings_ingroup='$filter_user_route_settings_ingroup',filter_group_id='$filter_group_id',filter_call_handle_method='$filter_call_handle_method',filter_agent_search_method='$filter_agent_search_method',filter_list_id='$filter_list_id',filter_campaign_id='$filter_campaign_id',filter_phone_code='$filter_phone_code',filter_menu_id='$filter_menu_id',filter_clean_cid_number='$filter_clean_cid_number',custom_one='$custom_one',custom_two='$custom_two',custom_three='$custom_three',custom_four='$custom_four',custom_five='$custom_five',user_group='$user_group',filter_dnc_campaign='$filter_dnc_campaign',filter_url_did_redirect='$filter_url_did_redirect',no_agent_ingroup_redirect='$no_agent_ingroup_redirect',no_agent_ingroup_id='$no_agent_ingroup_id',no_agent_ingroup_extension='$no_agent_ingroup_extension',pre_filter_phone_group_id='$pre_filter_phone_group_id',pre_filter_extension='$pre_filter_extension',max_queue_ingroup_calls='$max_queue_ingroup_calls',max_queue_ingroup_id='$max_queue_ingroup_id',max_queue_ingroup_extension='$max_queue_ingroup_extension',did_carrier_description='$did_carrier_description',inbound_route_answer='$inbound_route_answer',pre_filter_recent_call='$pre_filter_recent_call',pre_filter_recent_extension='$pre_filter_recent_extension'$did_entry_list_idSQL where did_id='$did_id';";
|
||||
$rslt=mysql_to_mysqli($stmt, $link);
|
||||
|
||||
@@ -37368,7 +37391,7 @@ if ($ADD==3311)
|
||||
}
|
||||
else
|
||||
{
|
||||
$stmtA="INSERT INTO vicidial_inbound_dids (did_pattern,did_description,user_group) values('did_system_filter','DID System Filter','---ALL---');";
|
||||
$stmtA="INSERT INTO vicidial_inbound_dids (did_pattern,did_description,user_group,filter_phone_group_id,pre_filter_phone_group_id) values('did_system_filter','DID System Filter','---ALL---','','');";
|
||||
$rslt=mysql_to_mysqli($stmtA, $link);
|
||||
|
||||
$stmt="SELECT did_id from vicidial_inbound_dids where did_pattern='did_system_filter';";
|
||||
@@ -37575,14 +37598,18 @@ if ($ADD==3311)
|
||||
$stmt="SELECT filter_phone_group_id,filter_phone_group_name from vicidial_filter_phone_groups $whereLOGadmin_viewable_groupsSQL order by filter_phone_group_id;";
|
||||
$rslt=mysql_to_mysqli($stmt, $link);
|
||||
$Fgroups_to_print = mysqli_num_rows($rslt);
|
||||
$Fgroups_list='';
|
||||
$Fgroups_list=array();
|
||||
$Fgroups_names=array();
|
||||
$i=0;
|
||||
while ($i < $Fgroups_to_print)
|
||||
{
|
||||
$row=mysqli_fetch_row($rslt);
|
||||
$Fgroups_list .= "<option value=\"$row[0]\">$row[0] - $row[1] - $row[2]</option>";
|
||||
$Fgroups_list[$i] = $row[0];
|
||||
$Fgroups_names[$i] = $row[1];
|
||||
$i++;
|
||||
}
|
||||
$Fgroups_list[$i] = '';
|
||||
$Fgroups_names[$i] = '---NONE---';
|
||||
|
||||
$stmt="SELECT menu_id,menu_name,menu_prompt from vicidial_call_menu $whereLOGadmin_viewable_groupsSQL order by menu_id;";
|
||||
$rslt=mysql_to_mysqli($stmt, $link);
|
||||
@@ -37807,7 +37834,21 @@ if ($ADD==3311)
|
||||
|
||||
echo "<tr bgcolor=#CCFFFF><td align=right>"._QXZ("Max Queue In-Group Extension").": </td><td align=left><input type=text name=max_queue_ingroup_extension size=40 maxlength=50 value=\"$max_queue_ingroup_extension\">$NWB#inbound_dids-max_queue_ingroup_extension$NWE</td></tr>\n";
|
||||
|
||||
echo "<tr bgcolor=#$SSstd_row4_background><td align=right><a href=\"$PHP_SELF?ADD=3711&filter_phone_group_id=$pre_filter_phone_group_id\">"._QXZ("Pre-Filter Phone Group ID").":</a> </td><td align=left><select size=1 name=pre_filter_phone_group_id>$Fgroups_list<option value='$pre_filter_phone_group_id' SELECTED>"._QXZ("$pre_filter_phone_group_id")."</option><option value=\"\">---"._QXZ("NONE")."---</option></select>$NWB#inbound_dids-pre_filter_phone_group_id$NWE</td></tr>\n";
|
||||
# echo "<tr bgcolor=#$SSstd_row4_background><td align=right><a href=\"$PHP_SELF?ADD=3711&filter_phone_group_id=$pre_filter_phone_group_id\">"._QXZ("Pre-Filter Phone Group ID").":</a> </td><td align=left><select size=1 name=pre_filter_phone_group_id>$Fgroups_list<option value='$pre_filter_phone_group_id' SELECTED>"._QXZ("$pre_filter_phone_group_id")."</option><option value=\"\">---"._QXZ("NONE")."---</option></select>$NWB#inbound_dids-pre_filter_phone_group_id$NWE</td></tr>\n";
|
||||
|
||||
echo "<tr bgcolor=#$SSstd_row4_background><td align=right>"._QXZ("Pre-Filter Phone Group ID").": </td><td align=left><select MULTIPLE size=4 name=pre_filter_phone_group_id[]>\n";
|
||||
|
||||
$Fgroups_ct = count($Fgroups_list);
|
||||
$b=0;
|
||||
while ($b < $Fgroups_ct)
|
||||
{
|
||||
$field_selected='';
|
||||
if (preg_match("/^$Fgroups_list[$b]$|^$Fgroups_list[$b],|,$Fgroups_list[$b]$|,$Fgroups_list[$b],/",$pre_filter_phone_group_id))
|
||||
{$field_selected = 'SELECTED';}
|
||||
echo "<option value=\"$Fgroups_list[$b]\" $field_selected>$Fgroups_list[$b] - $Fgroups_names[$b]</option>\n";
|
||||
$b++;
|
||||
}
|
||||
echo "</select>$NWB#inbound_dids-pre_filter_phone_group_id$NWE</td></tr>\n";
|
||||
|
||||
echo "<tr bgcolor=#$SSstd_row4_background><td align=right>"._QXZ("Pre-Filter Phone Group DID").": </td><td align=left><input type=text name=pre_filter_extension size=40 maxlength=50 value=\"$pre_filter_extension\">$NWB#inbound_dids-pre_filter_extension$NWE</td></tr>\n";
|
||||
|
||||
@@ -37847,7 +37888,21 @@ if ($ADD==3311)
|
||||
|
||||
echo "<tr bgcolor=#CCFFFF><td align=right>"._QXZ("Filter Inbound Number").": </td><td align=left><select size=1 name=filter_inbound_number><option value=\"DISABLED\">"._QXZ("DISABLED")."</option><option value=\"GROUP\">"._QXZ("GROUP")."</option><option value=\"URL\">"._QXZ("URL")."</option><option value=\"DNC_INTERNAL\">"._QXZ("DNC_INTERNAL")."</option><option value=\"DNC_CAMPAIGN\">"._QXZ("DNC_CAMPAIGN")."</option><option value=\"GROUP_AREACODE\">"._QXZ("GROUP_AREACODE")."</option><option value=\"$filter_inbound_number\" SELECTED>"._QXZ("$filter_inbound_number")."</option></select>$NWB#inbound_dids-filter_inbound_number$NWE</td></tr>\n";
|
||||
|
||||
echo "<tr bgcolor=#CCFFFF><td align=right><a href=\"$PHP_SELF?ADD=3711&filter_phone_group_id=$filter_phone_group_id\">"._QXZ("Filter Phone Group ID").":</a> </td><td align=left><select size=1 name=filter_phone_group_id>$Fgroups_list<option value='$filter_phone_group_id' SELECTED>"._QXZ("$filter_phone_group_id")."</option></select>$NWB#inbound_dids-filter_phone_group_id$NWE</td></tr>\n";
|
||||
# echo "<tr bgcolor=#CCFFFF><td align=right><a href=\"$PHP_SELF?ADD=3711&filter_phone_group_id=$filter_phone_group_id\">"._QXZ("Filter Phone Group ID").":</a> </td><td align=left><select size=1 name=filter_phone_group_id>$Fgroups_list<option value='$filter_phone_group_id' SELECTED>"._QXZ("$filter_phone_group_id")."</option></select>$NWB#inbound_dids-filter_phone_group_id$NWE</td></tr>\n";
|
||||
|
||||
echo "<tr bgcolor=#CCFFFF><td align=right>"._QXZ("Filter Phone Group ID").": </td><td align=left><select MULTIPLE size=4 name=filter_phone_group_id[]>\n";
|
||||
|
||||
$Fgroups_ct = count($Fgroups_list);
|
||||
$b=0;
|
||||
while ($b < $Fgroups_ct)
|
||||
{
|
||||
$field_selected='';
|
||||
if (preg_match("/^$Fgroups_list[$b]$|^$Fgroups_list[$b],|,$Fgroups_list[$b]$|,$Fgroups_list[$b],/",$filter_phone_group_id))
|
||||
{$field_selected = 'SELECTED';}
|
||||
echo "<option value=\"$Fgroups_list[$b]\" $field_selected>$Fgroups_list[$b] - $Fgroups_names[$b]</option>\n";
|
||||
$b++;
|
||||
}
|
||||
echo "</select>$NWB#inbound_dids-filter_phone_group_id$NWE</td></tr>\n";
|
||||
|
||||
echo "<tr bgcolor=#CCFFFF><td align=right>"._QXZ("Filter URL").": </td><td align=left><input type=text name=filter_url size=80 maxlength=1000 value=\"$filter_url\">$NWB#inbound_dids-filter_url$NWE</td></tr>\n";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# version: 20241020180701
|
||||
# version: 20241208171601
|
||||
users-user User ID <QXZ>This field is where you put the users ID number, can be up to 20 digits in length, Must be at least 2 characters in length. We strongly recommend not reusing user accounts for different users, for reporting accuracy. To disable a user account, set the Active option to -N-.</QXZ>
|
||||
users-pass Password <QXZ>This field is where you put the users password. Must be at least 2 characters in length, unless the User Password Minimum Length system setting is enabled, which will require a longer password. Only letters and numbers are allowed in user passwords. A medium strength user password will be at least 10 characters in length, and a strong user password will be at least 20 characters in length and have letters as well as at least one number. It is recommended that you use a longer password if possible, stringing together several unrelated words with no spaces, and a number somewhere in the string. The maximum size of a password is 100 characters.</QXZ>
|
||||
users-force_change_password Force Change Password <QXZ>If this option is set to Y then the user will be prompted to change their password the next time they log in to the administration webpage or the agent screen. Default is N.</QXZ>
|
||||
@@ -731,12 +731,12 @@ inbound_dids-no_agent_ingroup_extension No-Agent In-Group Extension <QXZ>For the
|
||||
inbound_dids-max_queue_ingroup_calls Max Queue In-Group Calls <QXZ>This setting allows you to redirect calls on this DID if the number of calls waiting in queue in a specific In-Group is above a set number. If this field is set to 0 this feature is disabled. Default is 0. See the Max Queue In-Group Extension setting below for more information.</QXZ>
|
||||
inbound_dids-max_queue_ingroup_id Max Queue In-Group ID <QXZ>For the Max Queue In-Group Calls feature above to work properly, an in-Group must be selected from this menu. Default is blank.</QXZ>
|
||||
inbound_dids-max_queue_ingroup_extension Max Queue In-Group Extension <QXZ>For the Max Queue In-Group Calls feature above to work properly, an Extension must be set in this field. Default is 9998811112. Directly above, in the No-Agent In-Group Extension description, you will see some examples of default extensions that you can use in the system to terminate calls to.</QXZ>
|
||||
inbound_dids-pre_filter_phone_group_id Pre-Filter Phone Group ID <QXZ>This option allows you to filter calls through a Filter Phone Group before going through the standard filtering process below. If a match is found then the call is redirected to the Pre-Filter Phone Group DID as defined below. Default is blank for disabled.</QXZ>
|
||||
inbound_dids-pre_filter_phone_group_id Pre-Filter Phone Group ID <QXZ>This option allows you to filter calls through one or more Filter Phone Groups before going through the standard filtering process below. If a match is found then the call is redirected to the Pre-Filter Phone Group DID as defined below. Default is NONE for disabled.</QXZ>
|
||||
inbound_dids-pre_filter_extension Pre-Filter Phone Group DID <QXZ>For the Pre-Filter Phone Group ID feature above to work properly, a DID Pattern must be set in this field. Default is blank for disabled. It is recommended that you confirm the DID you enter here is properly set in the system before assigning it.</QXZ>
|
||||
inbound_dids-pre_filter_recent_call Pre-Filter Recent Call <QXZ>The Pre-Filter Recent Call feature allows for the filtering of inbound phone calls by whether the phone number has previously been an outbound and-or inbound phone call in the system. This setting requires that a Settings Container of the type DID_RECENT_CALL be set up to specify the settings for how it will search for a previous call. In this settings container you can configure it for outbound calls or inbound calls or both. There are 4 settings for each outbound and inbound that you must use:<br>outbound_recent_call_check_type - can be set to lead-x-y-days-range or log-x-y-days-range, the difference being if the leads database is searched using the last_local_call_time field or if the logs are searched using the call_time field.<br>outbound_recent_call_days - must be a range of days going back from today, with the start and end days separated by a dash. The start day will start at 00:00:00 and the end day would end at 23:59:59 local server time, so if 0-0 is set, it would search today for the full 24-hours of today.<br>outbound_recent_call_campaigns - can be set to --ALL-- to have no campaign restrictions, or can be set to a pipe-delimited list of campaign IDs. For inbound, this setting is called inbound_recent_call_groups and if the log method is used it should be a list of inbound group IDs if --ALL-- is not used.<br>outbound_recent_call_statuses - can be set to --ALL-- to have no status restrictions, or can be set to a pipe-delimited list of statuses.<br><br>Here are examples of both outbound and inbound recent call filtering settings:<br><br>outbound_recent_call_check_type => lead-x-y-days-range<br>outbound_recent_call_days => 0-14<br>outbound_recent_call_campaigns => --ALL--<br>outbound_recent_call_statuses => --ALL--<br><br>inbound_recent_call_check_type => log-x-y-days-range<br>inbound_recent_call_days => 21-999<br>inbound_recent_call_groups => TEST_IN|TEST_IN2|TEST_IN3<br>inbound_recent_call_statuses => DNC|NI|LIT<br><br>WARNING: Using this feature may cause load problems and slow down your system.</QXZ>
|
||||
inbound_dids-pre_filter_recent_extension Pre-Filter Recent Call DID <QXZ>If the Pre-Filter Recent Call feature above is active and set to a valid Settings Container, then this field is the internal DID that the call would be sent to if there is a match for a recent call.</QXZ>
|
||||
inbound_dids-filter_inbound_number Filter Inbound Number <QXZ>This option if enabled allows you to filter calls coming into this DID and send them to an alternative action if they match a phone number that is in the filter phone group or a URL response if you have configured one. Default is DISABLED. GROUP will search in a Filter Phone Group. URL will send a URL and will match if a 1 is sent back. DNC_INTERNAL will search by the internal DNC list. DNC_CAMPAIGN will search by one specific campaign DNC list. If the option has AREACODE at the end, then the number and an entry for that numbers 3 digit areacode will be searched for. Both DNC options already have areacode searching built in.</QXZ>
|
||||
inbound_dids-filter_phone_group_id Filter Phone Group ID <QXZ>If the Filter Inbound Number field is set to GROUP then this is the ID of the Filter Phone Group that will have its numbers searched looking for a match to the caller ID number of the incoming call.</QXZ>
|
||||
inbound_dids-filter_phone_group_id Filter Phone Group ID <QXZ>If the Filter Inbound Number field is set to GROUP then this field has the IDs of the Filter Phone Groups that will have their numbers searched looking for a match to the caller ID number of the incoming call. Default is NONE for disabled.</QXZ>
|
||||
inbound_dids-filter_url Filter URL <QXZ>If the Filter Inbound Number field is set to URL then this is the web address of a script that will search a remote system and return a 1 for a match and a 0 for no match. Only two variables are available in the address if you use the VAR prefix like with webform addresses in campaigns, --A--phone_number--B-- and --A--did_pattern--B-- can be used in the URL to indicate the caller ID of the caller and the DID that the customer called in on.</QXZ>
|
||||
inbound_dids-filter_url_did_redirect Filter URL DID Redirect <QXZ>If the Filter Inbound Number field is set to URL then this setting allows the URL response to specify a system DID to redirect the call to instead of using the default action. If a 0 is returned then the default action is used. If anything other than a 0 is returned then the call will be redirected to the resulting URL response value.</QXZ>
|
||||
inbound_dids-filter_dnc_campaign Filter DNC Campaign <QXZ>If the Filter Inbound Number field is set to DNC_CAMPAIGN then this is the specific campaign ID that the campaign DNC list belongs to.</QXZ>
|
||||
|
||||
Reference in New Issue
Block a user