Added external_web_socket_url option
Fix for RINGAGENT calls in AST_update script git-svn-id: svn://192.168.202.10@3048 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
# 171002-1111 - Fixed timeout erase channels issue, added more debug output
|
||||
# 171228-1832 - Added more debug logging
|
||||
# 180511-1146 - Changed to use server-specific cid_channels_recent table
|
||||
# 181003-1728 - Fix for RINGAGENT calls
|
||||
#
|
||||
|
||||
# constants
|
||||
@@ -741,8 +742,8 @@ sub process_channels
|
||||
{
|
||||
$call_id = get_valid_callid($channel_ref->{'CallerIDName'},$channel_ref->{'ConnectedLineName'});
|
||||
|
||||
# only need to match local channels to real channels on VDAD calls
|
||||
if ( ( $call_id =~ /^V\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d$/ ) && ( $channel_ref->{'ConnectedLineName'} ne "<unknown>" ))
|
||||
# only need to match local channels to real channels on VDAD and RINGAGENT calls
|
||||
if ( ( $call_id =~ /^V\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d$|^RINGAGENT/ ) && ( $channel_ref->{'ConnectedLineName'} ne "<unknown>" ))
|
||||
{
|
||||
if ( $channel_ref->{'Channel'} =~ /^Local/ )
|
||||
{
|
||||
|
||||
@@ -162,7 +162,8 @@ voicemail_dump_exten_no_inst VARCHAR(20) default '85026666666667',
|
||||
gather_asterisk_output ENUM('Y','N') default 'N',
|
||||
web_socket_url VARCHAR(255) default '',
|
||||
conf_qualify ENUM('Y','N') default 'Y',
|
||||
routing_prefix VARCHAR(10) default '13'
|
||||
routing_prefix VARCHAR(10) default '13',
|
||||
external_web_socket_url VARCHAR(255) default ''
|
||||
) ENGINE=MyISAM;
|
||||
|
||||
CREATE UNIQUE INDEX server_id on servers (server_id);
|
||||
@@ -4303,4 +4304,4 @@ INSERT INTO vicidial_settings_containers(container_id,container_notes,container_
|
||||
|
||||
UPDATE system_settings set vdc_agent_api_active='1';
|
||||
|
||||
UPDATE system_settings SET db_schema_version='1560',db_schema_update_date=NOW(),reload_timestamp=NOW();
|
||||
UPDATE system_settings SET db_schema_version='1561',db_schema_update_date=NOW(),reload_timestamp=NOW();
|
||||
|
||||
@@ -773,3 +773,7 @@ ALTER TABLE vicidial_campaigns MODIFY next_agent_call VARCHAR(40) default 'longe
|
||||
ALTER TABLE vicidial_inbound_groups MODIFY next_agent_call VARCHAR(40) default 'longest_wait_time';
|
||||
|
||||
UPDATE system_settings SET db_schema_version='1560',db_schema_update_date=NOW() where db_schema_version < 1560;
|
||||
|
||||
ALTER TABLE servers ADD external_web_socket_url VARCHAR(255) default '';
|
||||
|
||||
UPDATE system_settings SET db_schema_version='1561',db_schema_update_date=NOW() where db_schema_version < 1561;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
# phone_only.php - the web-based web-phone-only client application
|
||||
#
|
||||
# Copyright (C) 2017 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
|
||||
# Copyright (C) 2018 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
|
||||
#
|
||||
# CHANGELOG
|
||||
# 110511-1336 - First Build
|
||||
@@ -17,10 +17,11 @@
|
||||
# 141216-2127 - Added language settings lookups and user/pass variable standardization
|
||||
# 170409-1600 - Added IP List validation code
|
||||
# 170511-1107 - Added code for WebRTC phones
|
||||
# 181003-1736 - Added external_web_socket_url option
|
||||
#
|
||||
|
||||
$version = '2.14-13p';
|
||||
$build = '170511-1107';
|
||||
$version = '2.14-14p';
|
||||
$build = '181003-1736';
|
||||
$mel=1; # Mysql Error Log enabled = 1
|
||||
$mysql_log_count=74;
|
||||
$one_mysql_log=0;
|
||||
@@ -757,12 +758,15 @@ else
|
||||
$codecs_list = preg_replace("/&/",'',$codecs_list);
|
||||
$webphone_server_ip = $server_ip;
|
||||
|
||||
$stmt="SELECT asterisk_version,web_socket_url from servers where server_ip='$webphone_server_ip' LIMIT 1;";
|
||||
$stmt="SELECT asterisk_version,web_socket_url,external_web_socket_url from servers where server_ip='$webphone_server_ip' LIMIT 1;";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_to_mysqli($stmt, $link);
|
||||
$row=mysqli_fetch_row($rslt);
|
||||
$asterisk_version = $row[0];
|
||||
$web_socket_url = $row[1];
|
||||
$asterisk_version = $row[0];
|
||||
$web_socket_url = $row[1];
|
||||
$external_web_socket_url = $row[2];
|
||||
if ( ($use_external_server_ip=='Y') and (strlen($external_web_socket_url) > 5) )
|
||||
{$web_socket_url = $external_web_socket_url;}
|
||||
|
||||
if ($use_external_server_ip=='Y')
|
||||
{
|
||||
@@ -830,11 +834,11 @@ else
|
||||
$WebPhonEurl = "$webphone_url?phone_login=$b64_phone_login&phone_login=$b64_phone_login&phone_pass=$b64_phone_pass&server_ip=$b64_server_ip&callerid=$b64_callerid&protocol=$b64_protocol&codecs=$b64_codecs&options=$b64_options&system_key=$b64_system_key";
|
||||
if ($webphone_location == 'bar')
|
||||
{
|
||||
$webphone_content = "<iframe src=\"$WebPhonEurl\" style=\"width:1100px;height:500px;background-color:transparent;z-index:17;\" scrolling=\"no\" frameborder=\"0\" allowtransparency=\"true\" id=\"webphone\" name=\"webphone\" width=\"" . $webphone_width . "px\" height=\"" . $webphone_height . "px\"> </iframe>";
|
||||
$webphone_content = "<iframe src=\"$WebPhonEurl\" style=\"width:1100px;height:500px;background-color:transparent;z-index:17;\" scrolling=\"no\" frameborder=\"0\" allowtransparency=\"true\" id=\"webphone\" name=\"webphone\" width=\"" . $webphone_width . "px\" height=\"" . $webphone_height . "px\" allow=\"microphone *; speakers *;\"> </iframe>";
|
||||
}
|
||||
else
|
||||
{
|
||||
$webphone_content = "<iframe src=\"$WebPhonEurl\" style=\"width:1100px;height:500px;background-color:transparent;z-index:17;\" scrolling=\"auto\" frameborder=\"0\" allowtransparency=\"true\" id=\"webphone\" name=\"webphone\" width=\"" . $webphone_width . "px\" height=\"" . $webphone_height . "px\"> </iframe>";
|
||||
$webphone_content = "<iframe src=\"$WebPhonEurl\" style=\"width:1100px;height:500px;background-color:transparent;z-index:17;\" scrolling=\"auto\" frameborder=\"0\" allowtransparency=\"true\" id=\"webphone\" name=\"webphone\" width=\"" . $webphone_width . "px\" height=\"" . $webphone_height . "px\" allow=\"microphone *; speakers *;\"> </iframe>";
|
||||
}
|
||||
|
||||
if (preg_match('/MSIE/',$browser))
|
||||
|
||||
@@ -604,10 +604,11 @@
|
||||
# 180827-1224 - Added scheduled_callbacks_timezones_... features
|
||||
# 180924-0002 - Added three_way_volume_buttons campaign feature
|
||||
# 180926-1757 - Fix for rare webform URL issue
|
||||
# 181003-1737 - Added external_web_socket_url option
|
||||
#
|
||||
|
||||
$version = '2.14-573c';
|
||||
$build = '180926-1757';
|
||||
$version = '2.14-574c';
|
||||
$build = '181003-1737';
|
||||
$mel=1; # Mysql Error Log enabled = 1
|
||||
$mysql_log_count=87;
|
||||
$one_mysql_log=0;
|
||||
@@ -3050,13 +3051,16 @@ else
|
||||
$local_gmt = ($local_gmt + $isdst);
|
||||
}
|
||||
|
||||
$stmt="SELECT asterisk_version,web_socket_url from servers where server_ip='$server_ip';";
|
||||
$stmt="SELECT asterisk_version,web_socket_url,external_web_socket_url from servers where server_ip='$server_ip';";
|
||||
if ($DB) {echo "|$stmt|\n";}
|
||||
$rslt=mysql_to_mysqli($stmt, $link);
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'01028',$VD_login,$server_ip,$session_name,$one_mysql_log);}
|
||||
$row=mysqli_fetch_row($rslt);
|
||||
$asterisk_version=$row[0];
|
||||
$web_socket_url=$row[1];
|
||||
$asterisk_version = $row[0];
|
||||
$web_socket_url = $row[1];
|
||||
$external_web_socket_url = $row[2];
|
||||
if ( ($use_external_server_ip=='Y') and (strlen($external_web_socket_url) > 5) )
|
||||
{$web_socket_url = $external_web_socket_url;}
|
||||
|
||||
if ($protocol == 'EXTERNAL')
|
||||
{
|
||||
@@ -3442,11 +3446,11 @@ else
|
||||
{
|
||||
if ($webphone_location == 'bar')
|
||||
{
|
||||
$webphone_content = "<iframe src=\"$WebPhonEurl\" style=\"width:" . $webphone_width . "px;height:" . $webphone_height . "px;background-color:transparent;z-index:17;\" scrolling=\"no\" frameborder=\"0\" allowtransparency=\"true\" id=\"webphone\" name=\"webphone\" width=\"" . $webphone_width . "px\" height=\"" . $webphone_height . "px\" allow=\"microphone\"> </iframe>";
|
||||
$webphone_content = "<iframe src=\"$WebPhonEurl\" style=\"width:" . $webphone_width . "px;height:" . $webphone_height . "px;background-color:transparent;z-index:17;\" scrolling=\"no\" frameborder=\"0\" allowtransparency=\"true\" id=\"webphone\" name=\"webphone\" width=\"" . $webphone_width . "px\" height=\"" . $webphone_height . "px\" allow=\"microphone *; speakers *;\"> </iframe>";
|
||||
}
|
||||
else
|
||||
{
|
||||
$webphone_content = "<iframe src=\"$WebPhonEurl\" style=\"width:" . $webphone_width . "px;height:" . $webphone_height . "px;background-color:transparent;z-index:17;\" scrolling=\"auto\" frameborder=\"0\" allowtransparency=\"true\" id=\"webphone\" name=\"webphone\" width=\"" . $webphone_width . "px\" height=\"" . $webphone_height . "px\" allow=\"microphone\"> </iframe>";
|
||||
$webphone_content = "<iframe src=\"$WebPhonEurl\" style=\"width:" . $webphone_width . "px;height:" . $webphone_height . "px;background-color:transparent;z-index:17;\" scrolling=\"auto\" frameborder=\"0\" allowtransparency=\"true\" id=\"webphone\" name=\"webphone\" width=\"" . $webphone_width . "px\" height=\"" . $webphone_height . "px\" allow=\"microphone *; speakers *;\"> </iframe>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2413,6 +2413,8 @@ if (isset($_GET["three_way_volume_buttons"])) {$three_way_volume_buttons=$_GET
|
||||
elseif (isset($_POST["three_way_volume_buttons"])) {$three_way_volume_buttons=$_POST["three_way_volume_buttons"];}
|
||||
if (isset($_GET["callback_dnc"])) {$callback_dnc=$_GET["callback_dnc"];}
|
||||
elseif (isset($_POST["callback_dnc"])) {$callback_dnc=$_POST["callback_dnc"];}
|
||||
if (isset($_GET["external_web_socket_url"])) {$external_web_socket_url=$_GET["external_web_socket_url"];}
|
||||
elseif (isset($_POST["external_web_socket_url"])) {$external_web_socket_url=$_POST["external_web_socket_url"];}
|
||||
|
||||
|
||||
if (isset($script_id)) {$script_id= strtoupper($script_id);}
|
||||
@@ -3722,6 +3724,7 @@ if ($non_latin < 1)
|
||||
# $container_entry
|
||||
# $nva_call_url
|
||||
# $web_socket_url
|
||||
# $external_web_socket_url
|
||||
# $customer_chat_survey_link
|
||||
# $ftp_user
|
||||
# $ftp_pass
|
||||
@@ -4456,12 +4459,13 @@ else
|
||||
# 180923-2226 - Added three_way_volume_buttons campaign setting
|
||||
# 180924-1731 - Added callback_dnc campaign setting
|
||||
# 180927-0018 - Added _wait_time options for next agent call options in campaigns and in-groups
|
||||
# 181003-1619 - Added external_web_socket_url server setting
|
||||
#
|
||||
|
||||
# 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-692a';
|
||||
$build = '180927-0018';
|
||||
$admin_version = '2.14-693a';
|
||||
$build = '181003-1619';
|
||||
|
||||
$STARTtime = date("U");
|
||||
$SQLdate = date("Y-m-d H:i:s");
|
||||
@@ -16577,7 +16581,7 @@ if ($ADD==411111111111)
|
||||
$custom_dialplanSQL='';
|
||||
if ($LOGmodify_custom_dialplans > 0)
|
||||
{$custom_dialplanSQL = ",custom_dialplan_entry='$custom_dialplan_entry'";}
|
||||
$stmt="UPDATE servers set server_id='$server_id',server_description='$server_description',server_ip='$server_ip',active='$active',asterisk_version='$asterisk_version', max_vicidial_trunks='$max_vicidial_trunks', telnet_host='$telnet_host', telnet_port='$telnet_port', ASTmgrUSERNAME='$ASTmgrUSERNAME', ASTmgrSECRET='$ASTmgrSECRET', ASTmgrUSERNAMEupdate='$ASTmgrUSERNAMEupdate', ASTmgrUSERNAMElisten='$ASTmgrUSERNAMElisten', ASTmgrUSERNAMEsend='$ASTmgrUSERNAMEsend', local_gmt='$local_gmt', voicemail_dump_exten='$voicemail_dump_exten', answer_transfer_agent='$answer_transfer_agent', ext_context='$ext_context', sys_perf_log='$sys_perf_log', vd_server_logs='$vd_server_logs', agi_output='$agi_output', vicidial_balance_active='$vicidial_balance_active',balance_trunks_offlimits='$balance_trunks_offlimits',recording_web_link='$recording_web_link',alt_server_ip='$alt_server_ip',active_asterisk_server='$active_asterisk_server',generate_vicidial_conf='$generate_vicidial_conf',rebuild_conf_files='$rebuild_conf_files',outbound_calls_per_second='$outbound_calls_per_second',sounds_update='$sounds_update',vicidial_recording_limit='$vicidial_recording_limit',carrier_logging_active='$carrier_logging_active',vicidial_balance_rank='$vicidial_balance_rank',rebuild_music_on_hold='$rebuild_music_on_hold',active_agent_login_server='$active_agent_login_server',conf_secret='$conf_secret',external_server_ip='$external_server_ip',active_twin_server_ip='$active_twin_server_ip',user_group='$user_group',auto_restart_asterisk='$auto_restart_asterisk',asterisk_temp_no_restart='$asterisk_temp_no_restart',voicemail_dump_exten_no_inst='$voicemail_dump_exten_no_inst',gather_asterisk_output='$gather_asterisk_output',conf_qualify='$conf_qualify',web_socket_url='" . mysqli_real_escape_string($link, $web_socket_url) . "',routing_prefix='$routing_prefix'$custom_dialplanSQL where server_id='$old_server_id';";
|
||||
$stmt="UPDATE servers set server_id='$server_id',server_description='$server_description',server_ip='$server_ip',active='$active',asterisk_version='$asterisk_version', max_vicidial_trunks='$max_vicidial_trunks', telnet_host='$telnet_host', telnet_port='$telnet_port', ASTmgrUSERNAME='$ASTmgrUSERNAME', ASTmgrSECRET='$ASTmgrSECRET', ASTmgrUSERNAMEupdate='$ASTmgrUSERNAMEupdate', ASTmgrUSERNAMElisten='$ASTmgrUSERNAMElisten', ASTmgrUSERNAMEsend='$ASTmgrUSERNAMEsend', local_gmt='$local_gmt', voicemail_dump_exten='$voicemail_dump_exten', answer_transfer_agent='$answer_transfer_agent', ext_context='$ext_context', sys_perf_log='$sys_perf_log', vd_server_logs='$vd_server_logs', agi_output='$agi_output', vicidial_balance_active='$vicidial_balance_active',balance_trunks_offlimits='$balance_trunks_offlimits',recording_web_link='$recording_web_link',alt_server_ip='$alt_server_ip',active_asterisk_server='$active_asterisk_server',generate_vicidial_conf='$generate_vicidial_conf',rebuild_conf_files='$rebuild_conf_files',outbound_calls_per_second='$outbound_calls_per_second',sounds_update='$sounds_update',vicidial_recording_limit='$vicidial_recording_limit',carrier_logging_active='$carrier_logging_active',vicidial_balance_rank='$vicidial_balance_rank',rebuild_music_on_hold='$rebuild_music_on_hold',active_agent_login_server='$active_agent_login_server',conf_secret='$conf_secret',external_server_ip='$external_server_ip',active_twin_server_ip='$active_twin_server_ip',user_group='$user_group',auto_restart_asterisk='$auto_restart_asterisk',asterisk_temp_no_restart='$asterisk_temp_no_restart',voicemail_dump_exten_no_inst='$voicemail_dump_exten_no_inst',gather_asterisk_output='$gather_asterisk_output',conf_qualify='$conf_qualify',web_socket_url='" . mysqli_real_escape_string($link, $web_socket_url) . "',routing_prefix='$routing_prefix',external_web_socket_url='" . mysqli_real_escape_string($link, $external_web_socket_url) . "'$custom_dialplanSQL where server_id='$old_server_id';";
|
||||
$rslt=mysql_to_mysqli($stmt, $link);
|
||||
|
||||
$stmtA="UPDATE servers SET rebuild_conf_files='Y',rebuild_music_on_hold='Y' where generate_vicidial_conf='Y' and active_asterisk_server='Y';";
|
||||
@@ -34352,7 +34356,7 @@ if ($ADD==311111111111)
|
||||
echo "<TABLE><TR><TD>\n";
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
|
||||
$stmt="SELECT server_id,server_description,server_ip,active,asterisk_version,max_vicidial_trunks,telnet_host,telnet_port,ASTmgrUSERNAME,ASTmgrSECRET,ASTmgrUSERNAMEupdate,ASTmgrUSERNAMElisten,ASTmgrUSERNAMEsend,local_gmt,voicemail_dump_exten,answer_transfer_agent,ext_context,sys_perf_log,vd_server_logs,agi_output,vicidial_balance_active,balance_trunks_offlimits,recording_web_link,alt_server_ip,active_asterisk_server,generate_vicidial_conf,rebuild_conf_files,outbound_calls_per_second,sysload,channels_total,cpu_idle_percent,disk_usage,sounds_update,vicidial_recording_limit,carrier_logging_active,vicidial_balance_rank,rebuild_music_on_hold,active_agent_login_server,conf_secret,external_server_ip,custom_dialplan_entry,active_twin_server_ip,user_group,system_uptime,auto_restart_asterisk,asterisk_temp_no_restart,voicemail_dump_exten_no_inst,gather_asterisk_output,web_socket_url,conf_qualify,routing_prefix from servers where ( (server_id='$server_id') or (server_ip='$server_ip') ) $LOGadmin_viewable_groupsSQL;";
|
||||
$stmt="SELECT server_id,server_description,server_ip,active,asterisk_version,max_vicidial_trunks,telnet_host,telnet_port,ASTmgrUSERNAME,ASTmgrSECRET,ASTmgrUSERNAMEupdate,ASTmgrUSERNAMElisten,ASTmgrUSERNAMEsend,local_gmt,voicemail_dump_exten,answer_transfer_agent,ext_context,sys_perf_log,vd_server_logs,agi_output,vicidial_balance_active,balance_trunks_offlimits,recording_web_link,alt_server_ip,active_asterisk_server,generate_vicidial_conf,rebuild_conf_files,outbound_calls_per_second,sysload,channels_total,cpu_idle_percent,disk_usage,sounds_update,vicidial_recording_limit,carrier_logging_active,vicidial_balance_rank,rebuild_music_on_hold,active_agent_login_server,conf_secret,external_server_ip,custom_dialplan_entry,active_twin_server_ip,user_group,system_uptime,auto_restart_asterisk,asterisk_temp_no_restart,voicemail_dump_exten_no_inst,gather_asterisk_output,web_socket_url,conf_qualify,routing_prefix,external_web_socket_url from servers where ( (server_id='$server_id') or (server_ip='$server_ip') ) $LOGadmin_viewable_groupsSQL;";
|
||||
$rslt=mysql_to_mysqli($stmt, $link);
|
||||
$row=mysqli_fetch_row($rslt);
|
||||
$server_id = $row[0];
|
||||
@@ -34406,6 +34410,7 @@ if ($ADD==311111111111)
|
||||
$web_socket_url = $row[48];
|
||||
$conf_qualify = $row[49];
|
||||
$routing_prefix = $row[50];
|
||||
$external_web_socket_url = $row[51];
|
||||
|
||||
$stmt="SELECT count(*) from vicidial_live_agents where server_ip='$server_ip';";
|
||||
$rslt=mysql_to_mysqli($stmt, $link);
|
||||
@@ -34477,6 +34482,7 @@ if ($ADD==311111111111)
|
||||
echo "<tr bgcolor=#$SSstd_row4_background><td align=right>"._QXZ("Alternate Recording Server IP").": </td><td align=left><input type=text name=alt_server_ip size=30 maxlength=100 value=\"$alt_server_ip\">$NWB#servers-alt_server_ip$NWE</td></tr>\n";
|
||||
echo "<tr bgcolor=#$SSstd_row4_background><td align=right>"._QXZ("External Server IP").": </td><td align=left><input type=text name=external_server_ip size=30 maxlength=100 value=\"$external_server_ip\">$NWB#servers-external_server_ip$NWE</td></tr>\n";
|
||||
echo "<tr bgcolor=#$SSstd_row4_background><td align=right>"._QXZ("Web Socket URL").": </td><td align=left><input type=text name=web_socket_url size=30 maxlength=255 value=\"$web_socket_url\">$NWB#servers-web_socket_url$NWE</td></tr>\n";
|
||||
echo "<tr bgcolor=#$SSstd_row4_background><td align=right>"._QXZ("External Web Socket URL").": </td><td align=left><input type=text name=external_web_socket_url size=30 maxlength=255 value=\"$external_web_socket_url\">$NWB#servers-external_web_socket_url$NWE</td></tr>\n";
|
||||
echo "<tr bgcolor=#$SSstd_row4_background><td align=right>"._QXZ("Active Twin Server IP").": </td><td align=left><input type=text name=active_twin_server_ip size=16 maxlength=15 value=\"$active_twin_server_ip\">$NWB#servers-active_twin_server_ip$NWE</td></tr>\n";
|
||||
echo "<tr bgcolor=#$SSstd_row4_background><td align=right>"._QXZ("Active Asterisk Server").": </td><td align=left><select size=1 name=active_asterisk_server><option value='Y'>"._QXZ("Y")."</option><option value='N'>"._QXZ("N")."</option><option selected>$active_asterisk_server</option></select>$NWB#servers-active_asterisk_server$NWE</td></tr>\n";
|
||||
echo "<tr bgcolor=#$SSstd_row3_background><td align=right>"._QXZ("Auto-Restart Asterisk").": </td><td align=left> <select size=1 name=auto_restart_asterisk><option value='Y'>"._QXZ("Y")."</option><option value='N'>"._QXZ("N")."</option><option selected>$auto_restart_asterisk</option></select>$NWB#servers-auto_restart_asterisk$NWE</td></tr>\n";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# version: 201809300957
|
||||
# version: 201810031631
|
||||
users-user User ID <QXZ>This field is where you put the users ID number, can be up to 8 digits in length, Must be at least 2 characters in length.</QXZ>
|
||||
users-pass Password <QXZ>This field is where you put the users password. Must be at least 2 characters in length. 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. Default is N.</QXZ>
|
||||
@@ -426,7 +426,7 @@ inbound_groups-group_calldate In-Group Calldate <QXZ>This is the last date and t
|
||||
inbound_groups-web_form_address Web Form <QXZ>This is the custom address that clicking on the WEB FORM button in the agent screen will take you to for calls that come in on this group. If you want to use custom fields in a web form address, you need to add &CF_uses_custom_fields=Y as part of your URL.</QXZ>
|
||||
inbound_groups-next_agent_call Next Agent Call <QXZ>This determines which agent receives the next call that is available:</QXZ><BR> - <QXZ>random: orders by the random update value in the live_agents table</QXZ><BR> - <QXZ>oldest_call_start: orders by the last time an agent was sent a call. Results in agents receiving about the same number of calls overall.</QXZ><BR> - <QXZ>oldest_call_finish: orders by the last time an agent finished a call. AKA agent waiting longest receives first call.</QXZ><BR> - <QXZ>oldest_inbound_call_start: orders by the last time an agent was sent an inbound call. Results in agents receiving about the same number of calls overall.</QXZ><BR> - <QXZ>oldest_inbound_call_finish: orders by the last time an agent finished an inbound call. AKA agent waiting longest receives first call.</QXZ><BR> - <QXZ>overall_user_level: orders by the user_level of the agent as defined in the users table a higher user_level will receive more calls.</QXZ><BR> - <QXZ>inbound_group_rank: orders by the rank given to the agent for the specific inbound group. Highest to Lowest.</QXZ><BR> - <QXZ>campaign_rank: orders by the rank given to the agent for the campaign. Highest to Lowest.</QXZ><BR> - <QXZ>ingroup_grade_random: gives a higher probability of getting a call to the higher graded agents by in-group.</QXZ><BR> - <QXZ>campaign_grade_random: gives a higher probability of getting a call to the higher graded agents by campaign.</QXZ><BR> - <QXZ>fewest_calls: orders by the number of calls received by an agent for that specific inbound group. Least calls first.</QXZ><BR> - <QXZ>fewest_calls_campaign: orders by the number of calls received by an agent for the campaign. Least calls first.</QXZ><BR> - <QXZ>longest_wait_time: orders by the amount of time agent has been actively waiting for a call.</QXZ><BR> - <QXZ>ring_all: rings all available agents until one picks up the phone.</QXZ><BR> <QXZ>NOTES: For ring_all, the agents that are using phones that have On Hook Agent enabled will have their phones ring and the first one to answer will receive the call and the information on the agent screen. Since ring_all ignores agent wait time and ranking and will call every agent that is available for the queue, we do not recommend using this method for large queues. When using ring_all, agents logged with phones that have the On Hook Agent disabled will have to use the Calls In Queue panel and click on the TAKE CALL link to take calls in queue. The amount of time the agents phone will ring for ring_all is set to the On-Hook Ring Time setting or the shortest ring time of the phones that will be called. We do not recommend using ring_all on high call volume queues, or queues with many agents. The ring_all method is intended to be used with only a few agents and on low call volume in-groups.</QXZ><BR> - <QXZ>overall_user_level_wait_time: same as overall_user_level except will use longest waiting as secondary order.</QXZ><BR> - <QXZ>campaign_rank_wait_time: same as campaign_rank except will use longest waiting as secondary order.</QXZ><BR> - <QXZ>fewest_calls_wait_time: same as fewest_calls except will use longest waiting as secondary order.</QXZ><BR> - <QXZ>fewest_calls_campaign_wait_time: same as fewest_calls_campaign except will use longest waiting as secondary order.</QXZ><BR> - <QXZ>inbound_group_rank_wait_time: same as inbound_group_rank except will use longest waiting as secondary order.</QXZ>
|
||||
inbound_groups-on_hook_ring_time On-Hook Ring Time <QXZ>This option is only used for agents that are logged in with phones that have the agent-on-hook feature enabled. This is the number of seconds that each call attempt to the agent will ring for until the system will wait one second and start ringing the available agent phones again. This field can be overridden if the agent phones are set to a lower ring time which may be necessary to prevent calls from being sent one phones voicemail. Default is 15.</QXZ>
|
||||
inbound_groups-on_hook_cid On-Hook CID <QXZ>This option is only used for agents that are logged in with phones that have the agent-on-hook feature enabled. This is the caller ID that will show up on their agent phones when the calls are ringing. GENERIC is a generic RINGAGENT00000000001 type of notification. INGROUP will show only the in-group the call came from. CUSTOMER_PHONE will show only the customer phone number. CUSTOMER_PHONE_RINGAGENT will show RINGAGENT_3125551212 with the RINGAGENT as part of the CID with the customer phone number. CUSTOMER_PHONE_INGROUP will show the first 10 characters of the in-group followed by the customer phone number. Default is GENERIC.</QXZ>
|
||||
inbound_groups-on_hook_cid On-Hook CID <QXZ>This option is only used for agents that are logged in with phones that have the agent-on-hook feature enabled. This is the caller ID that will show up on their agent phones when the calls are ringing. GENERIC is a generic RINGAGENT00000000001 type of notification. INGROUP will show only the in-group the call came from. CUSTOMER_PHONE will show only the customer phone number. CUSTOMER_PHONE_RINGAGENT will show RINGAGENT_3125551212 with the RINGAGENT as part of the CID with the customer phone number. CUSTOMER_PHONE_INGROUP will show the first 10 characters of the in-group followed by the customer phone number. Default is GENERIC. If you are using Asterisk 13 or higher, only the RINGAGENT options will work properly.</QXZ>
|
||||
inbound_groups-on_hook_cid_number On-Hook CID Number <QXZ>This option allows you to set a CID Number to be sent out with the On-Hook CID. If you put a Y, YES or CUSTOMER in this field, then the customer CID number will be sent to the ringing agent phone. If you put a different phone number, that number will be sent. Default is blank for disabled.</QXZ>
|
||||
inbound_groups-queue_priority Queue Priority <QXZ>This setting is used to define the order in which the calls from this inbound group should be answered in relation to calls from other inbound groups.</QXZ>
|
||||
inbound_groups-fronter_display Fronter Display <QXZ>This field determines whether the inbound agent would have the fronter name - if there is one - displayed in the Status field when the call comes to the agent.</QXZ>
|
||||
@@ -906,6 +906,7 @@ servers-recording_web_link Recording Web Link <QXZ>This setting allows you to ov
|
||||
servers-alt_server_ip Alternate Recording Server IP <QXZ>This setting is where you can put a server IP or other machine name that can be used in place of the server_ip in the links to recordings within the admin web pages. Default is empty.</QXZ>
|
||||
servers-external_server_ip External Server IP <QXZ>This setting is where you can put a server IP or other machine name that can be used in place of the server_ip when using a webphone in the agent interface. For this to work you also must have the phones entry set to use the External Server IP. Default is empty.</QXZ>
|
||||
servers-web_socket_url Web Socket URL <QXZ>For systems running Asterisk 11 and higher, this is the URL that a WebRTC phone needs to connect to the server.</QXZ>
|
||||
servers-external_web_socket_url External Web Socket URL <QXZ>For systems running Asterisk 11 and higher, this is the External URL that a WebRTC phone needs to connect to the server. This External web socket is used if the Phone entry has Use External Server IP set to Y. Default is blank, which will use the normal Web Socket URL.</QXZ>
|
||||
servers-active_asterisk_server Active Asterisk Server <QXZ>If Asterisk is not running on this server, or if the dialing processes should not be using this server, or if are only using this server for other scripts like the hopper loading script you would want to set this to N. Default is Y.</QXZ>
|
||||
servers-auto_restart_asterisk Auto-Restart Asterisk <QXZ>If Asterisk is running on this server and you want the system to make sure that it will be restarted in the event that it crashes, you might want to consider enabling this setting. If enabled, the system will check every minute to see if Asterisk is running, and if it is not it will attempt to restart it. This process will not run in the first 5 minutes after a system has been up. Default is N.</QXZ>
|
||||
servers-asterisk_temp_no_restart Temp No-Restart Asterisk <QXZ>If Auto-Restart Asterisk is enabled on this server, turning on this setting will prevent the auto-restart process from running until after the server is rebooted. Default is N.</QXZ>
|
||||
|
||||
Reference in New Issue
Block a user