|
|
|
@@ -447,6 +447,11 @@ if (isset($_GET["xferconf_b_dtmf"])) {$xferconf_b_dtmf=$_GET["xferconf_b_dtmf"];
|
|
|
|
|
elseif (isset($_POST["xferconf_b_dtmf"])) {$xferconf_b_dtmf=$_POST["xferconf_b_dtmf"];}
|
|
|
|
|
if (isset($_GET["xferconf_b_number"])) {$xferconf_b_number=$_GET["xferconf_b_number"];}
|
|
|
|
|
elseif (isset($_POST["xferconf_b_number"])) {$xferconf_b_number=$_POST["xferconf_b_number"];}
|
|
|
|
|
if (isset($_GET["vicidial_balance_active"])) {$vicidial_balance_active=$_GET["vicidial_balance_active"];}
|
|
|
|
|
elseif (isset($_POST["vicidial_balance_active"])) {$vicidial_balance_active=$_POST["vicidial_balance_active"];}
|
|
|
|
|
if (isset($_GET["balance_trunks_offlimits"])) {$balance_trunks_offlimits=$_GET["balance_trunks_offlimits"];}
|
|
|
|
|
elseif (isset($_POST["balance_trunks_offlimits"])) {$balance_trunks_offlimits=$_POST["balance_trunks_offlimits"];}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (isset($script_id)) {$script_id= strtoupper($script_id);}
|
|
|
|
|
if (isset($lead_filter_id)) {$lead_filter_id = strtoupper($lead_filter_id);}
|
|
|
|
@@ -473,6 +478,7 @@ $ast_delete_phones = ereg_replace("[^0-9]","",$ast_delete_phones);
|
|
|
|
|
$attempt_delay = ereg_replace("[^0-9]","",$attempt_delay);
|
|
|
|
|
$attempt_maximum = ereg_replace("[^0-9]","",$attempt_maximum);
|
|
|
|
|
$auto_dial_next_number = ereg_replace("[^0-9]","",$auto_dial_next_number);
|
|
|
|
|
$balance_trunks_offlimits = ereg_replace("[^0-9]","",$balance_trunks_offlimits);
|
|
|
|
|
$call_parking_enabled = ereg_replace("[^0-9]","",$call_parking_enabled);
|
|
|
|
|
$CallerID_popup_enabled = ereg_replace("[^0-9]","",$CallerID_popup_enabled);
|
|
|
|
|
$campaign_detail = ereg_replace("[^0-9]","",$campaign_detail);
|
|
|
|
@@ -567,6 +573,7 @@ $use_internal_dnc = ereg_replace("[^NY]","",$use_internal_dnc);
|
|
|
|
|
$omit_phone_code = ereg_replace("[^NY]","",$omit_phone_code);
|
|
|
|
|
$available_only_ratio_tally = ereg_replace("[^NY]","",$available_only_ratio_tally);
|
|
|
|
|
$sys_perf_log = ereg_replace("[^NY]","",$sys_perf_log);
|
|
|
|
|
$vicidial_balance_active = ereg_replace("[^NY]","",$vicidial_balance_active);
|
|
|
|
|
$vd_server_logs = ereg_replace("[^NY]","",$vd_server_logs);
|
|
|
|
|
|
|
|
|
|
### ALPHA-NUMERIC ONLY ###
|
|
|
|
@@ -769,12 +776,13 @@ $lead_filter_sql = ereg_replace(";","",$lead_filter_sql);
|
|
|
|
|
# 60828-1019 - changed adaptive_latest_target_gmt to adaptive_latest_server_time
|
|
|
|
|
# 60828-1115 - added adaptive_dl_diff_target and changed intensity dropdown
|
|
|
|
|
# 60927-1246 - added astguiclient/admin.php functions under SERVERS tab
|
|
|
|
|
# 61002-1402 - added fields for vicidial balance trunk controls
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|
|
$version = '2.0.66';
|
|
|
|
|
$build = '60927-1246';
|
|
|
|
|
$version = '2.0.67';
|
|
|
|
|
$build = '61002-1402';
|
|
|
|
|
|
|
|
|
|
$STARTtime = date("U");
|
|
|
|
|
|
|
|
|
@@ -2345,6 +2353,16 @@ The VICIDIAL basic web-based lead loader is designed simply to take a lead file
|
|
|
|
|
<BR>
|
|
|
|
|
<B>AGI Output -</B> Setting this option to NONE will disable output from all VICIDIAL related AGI scripts. Setting this to STDERR will send the AGI output to the Asterisk CLI. Setting this to FILE will send the output to a file in the logs directory. Setting this to BOTH will send output to both the Asterisk CLI and a log file. Default is FILE.
|
|
|
|
|
|
|
|
|
|
<BR>
|
|
|
|
|
<A NAME="servers-vicidial_balance_active">
|
|
|
|
|
<BR>
|
|
|
|
|
<B>VICIDIAL Balance Dialing -</B> Setting this field to Y will allow the server to place balance calls for campaigns in VICIDIAL so that the defined dial level can be met even if there are no agents logged into that campaign on this server. Default is N.
|
|
|
|
|
|
|
|
|
|
<BR>
|
|
|
|
|
<A NAME="servers-balance_trunks_offlimits">
|
|
|
|
|
<BR>
|
|
|
|
|
<B>VICIDIAL Balance Offlimits -</B> This setting defines the number of trunks to not allow VICIDIAL balance dialing to use. For example if you have 40 max vicidial trunks and balance offlimits is set to 10 you will only be able to use 30 trunk lines for VICIDIAL balance dialing. Default is 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<BR><BR><BR><BR>
|
|
|
|
|
|
|
|
|
@@ -4478,7 +4496,7 @@ if ($ADD==411111111111)
|
|
|
|
|
{
|
|
|
|
|
echo "<br>SERVER MODIFIED: $server_ip\n";
|
|
|
|
|
|
|
|
|
|
$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' 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' where server_id='$old_server_id';";
|
|
|
|
|
$rslt=mysql_query($stmt, $link);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@@ -7318,6 +7336,8 @@ echo "<tr bgcolor=#B6D3FC><td align=right>Server IP Address: </td><td align=left
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Active: </td><td align=left><select size=1 name=active><option>Y</option><option>N</option><option selected>$row[3]</option></select>$NWB#servers-active$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Asterisk Version: </td><td align=left><input type=text name=asterisk_version size=20 maxlength=20 value=\"$row[4]\">$NWB#servers-asterisk_version$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Max VICIDIAL Trunks: </td><td align=left><input type=text name=max_vicidial_trunks size=5 maxlength=4 value=\"$row[5]\">$NWB#servers-max_vicidial_trunks$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>VICIDIAL Balance Dialing: </td><td align=left><select size=1 name=vicidial_balance_active><option>Y</option><option>N</option><option selected>$row[20]</option></select>$NWB#servers-vicidial_balance_active$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>VICIDIAL Balance Offlimits: </td><td align=left><input type=text name=balance_trunks_offlimits size=5 maxlength=4 value=\"$row[21]\">$NWB#servers-balance_trunks_offlimits$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Telnet Host: </td><td align=left><input type=text name=telnet_host size=20 maxlength=20 value=\"$row[6]\">$NWB#servers-telnet_host$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Telnet Port: </td><td align=left><input type=text name=telnet_port size=6 maxlength=5 value=\"$row[7]\">$NWB#servers-telnet_port$NWE</td></tr>\n";
|
|
|
|
|
echo "<tr bgcolor=#B6D3FC><td align=right>Manager User: </td><td align=left><input type=text name=ASTmgrUSERNAME size=20 maxlength=20 value=\"$row[8]\">$NWB#servers-ASTmgrUSERNAME$NWE</td></tr>\n";
|
|
|
|
|