diff --git a/agc_2-X/branches/agc_2.0.4/docs/LOAD_BALANCING.txt b/agc_2-X/branches/agc_2.0.4/docs/LOAD_BALANCING.txt index e1ea0567..f48e31a1 100644 --- a/agc_2-X/branches/agc_2.0.4/docs/LOAD_BALANCING.txt +++ b/agc_2-X/branches/agc_2.0.4/docs/LOAD_BALANCING.txt @@ -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,6 +69,8 @@ NOTE: at the bottom of this document are conf examples for a 3 server load balan 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] @@ -148,12 +150,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 diff --git a/agc_2-X/trunk/docs/LOAD_BALANCING.txt b/agc_2-X/trunk/docs/LOAD_BALANCING.txt index 6ff26051..5dd97430 100644 --- a/agc_2-X/trunk/docs/LOAD_BALANCING.txt +++ b/agc_2-X/trunk/docs/LOAD_BALANCING.txt @@ -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 diff --git a/agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php b/agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php index 6c0af514..a773a47b 100644 --- a/agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php +++ b/agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php @@ -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;";