added more information to the LOAD_BALANCE document

fixed bug in AST_timeonVDADall.php script

git-svn-id: svn://192.168.202.10@803 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2008-03-20 06:45:29 +00:00
parent 8de268b918
commit 88b9c99360
2 changed files with 19 additions and 13 deletions
+16 -13
View File
@@ -22,12 +22,12 @@ NOTE: at the bottom of this document are conf examples for a 3 server load balan
1. The VICIDIAL/Asterisk servers need to have all of the perl scripts and cron jobs installed on them, except these which only need to be on one of the servers:
- AST_VDhopper.pl
- AST_cleanup_agent_log.pl
- ADMIN_adjust_GMTnow_on_leads.pl
- AST_DB_optimize.pl
- AST_VDadapt.pl
- AST_VDauto_dial_FILL.pl
- AST_VDhopper.pl (crontab)
- AST_cleanup_agent_log.pl (crontab)
- ADMIN_adjust_GMTnow_on_leads.pl (crontab)
- AST_DB_optimize.pl (crontab)
- AST_VDadapt.pl (defined in /etc/astguiclient.conf)
- AST_VDauto_dial_FILL.pl (defined in /etc/astguiclient.conf)
2. The VARactive_keepalives variable in /etc/astguiclient.conf should have "5" and "7" on only ONE SERVER in your entire dialer setup, the other servers should not have 5 or 7 in that field.
# 1 - AST_update
@@ -69,7 +69,10 @@ NOTE: at the bottom of this document are conf examples for a 3 server load balan
qualify=yes
4. The two servers need to have wildcard extensions assigned to the other server in the dialplan:
4. The two servers need to have wildcard extensions assigned to the other server
in the dialplan:
## NOTE: the "010*010*010*015" is the IP address of the server as defined in
the /etc/astguiclient.conf file
SERVER ONE(ASTtest1-10.10.10.15)
extensions.conf:
[globals]
@@ -168,12 +171,12 @@ NOTE: at the bottom of this document are conf examples for a 3 server load balan
If you have any questions or problems please post to the astguiclient-users list(link available on the project website)
7. For multi-server VICIDIAL/astGUIclient installations these cron scripts only need to be set up and run on one of the servers:
- AST_VDhopper.pl
- AST_cleanup_agent_log.pl
- ADMIN_adjust_GMTnow_on_leads.pl
- AST_DB_optimize.pl
- AST_VDadapt.pl
- AST_VDauto_dial_FILL.pl
- AST_VDhopper.pl (crontab)
- AST_cleanup_agent_log.pl (crontab)
- ADMIN_adjust_GMTnow_on_leads.pl (crontab)
- AST_DB_optimize.pl (crontab)
- AST_VDadapt.pl (defined in /etc/astguiclient.conf)
- AST_VDauto_dial_FILL.pl (defined in /etc/astguiclient.conf)
8. On all servers but one you should DELETE the following line from your extensions.conf:
; prompt recording AGI script, ID is 4321
+3
View File
@@ -905,6 +905,9 @@ $talking_to_print = mysql_num_rows($rslt);
if ($SERVdisplay > 0) {$SVD = "$G$server_ip$EG | $G$call_server_ip$EG | ";}
else {$SVD = "";}
$vac_stage='';
$vac_campaign='';
$INGRP='';
if ($CM == 'I')
{
$stmt="select campaign_id,stage from vicidial_auto_calls where callerid='$Acallerid[$i]' LIMIT 1;";