From bc8d02892ded671c19575417cb3444389095fd7d Mon Sep 17 00:00:00 2001 From: mattf Date: Fri, 16 Mar 2007 17:59:24 +0000 Subject: [PATCH] docs updates git-svn-id: svn://192.168.202.10@556 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/docs/SCRATCH_INSTALL.txt | 6 +- agc_2-X/trunk/docs/bind_named_install.txt | 108 ++++++++++++++++++++++ agc_2-X/trunk/extras/upgrade_2.0.3.sql | 2 + agc_2-X/trunk/www/vicidial/admin.php | 9 ++ 4 files changed, 122 insertions(+), 3 deletions(-) create mode 100644 agc_2-X/trunk/docs/bind_named_install.txt diff --git a/agc_2-X/trunk/docs/SCRATCH_INSTALL.txt b/agc_2-X/trunk/docs/SCRATCH_INSTALL.txt index 4cb85499..56171ea2 100644 --- a/agc_2-X/trunk/docs/SCRATCH_INSTALL.txt +++ b/agc_2-X/trunk/docs/SCRATCH_INSTALL.txt @@ -809,8 +809,8 @@ PHASE 4: INSTALLING ASTERISK OK, all the prep work is done, now it's time to start having fun with Asterisk. There are two basic ways to install Asterisk, an official release(at the time of -this writing the official release is 1.2.14) and the SVN_DEV version(development -branch). We recommend using Asterisk 1.2.14. These instructions are how we get +this writing the official release is 1.2.16) and the SVN_DEV version(development +branch). We recommend using Asterisk 1.2.16. These instructions are how we get our Asterisk system with it's T1 line installed with our 2 SIP VOIP devices and one IAX2 softphone. @@ -1638,7 +1638,7 @@ use asterisk; GRANT SELECT on asterisk.phones TO idcheck@'%' IDENTIFIED BY '1234'; GRANT SELECT on asterisk.phones TO idcheck@localhost IDENTIFIED BY '1234'; -insert into servers (server_id,server_description,server_ip,active,asterisk_version)values('TESTasterisk','Test install of Asterisk server', '10.10.10.15','Y','1.2.14'); +insert into servers (server_id,server_description,server_ip,active,asterisk_version)values('TESTasterisk','Test install of Asterisk server', '10.10.10.15','Y','1.2.16'); insert into server_updater values('10.10.10.15',''); diff --git a/agc_2-X/trunk/docs/bind_named_install.txt b/agc_2-X/trunk/docs/bind_named_install.txt new file mode 100644 index 00000000..979d66e3 --- /dev/null +++ b/agc_2-X/trunk/docs/bind_named_install.txt @@ -0,0 +1,108 @@ +wget http://ftp.isc.org/isc/bind9/9.3.2/bind-9.3.2.tar.gz +gunzip bind-9.3.2.tar.gz +tar xvf bind-9.3.2.tar +cd bind-9.3.2 +./configure +make +make install +locate -u +vi /etc/named.conf +vi /var/named/vicimarketing.zone +/usr/sbin/named-checkconf +/usr/sbin/named-checkzone +/usr/sbin/named-checkzone vicimarketing.com /var/named/vicimarketing.zone +vi /etc/named.conf +vi /etc/resolv.conf +/usr/sbin/named -d 9 + +To kill named: +killall -15 named + +To run testing in foreground: +/usr/sbin/named -f -d 9 + + + +root@ftp:/# cat /var/named/vicimarketing.zone +; +; Zone file for vicimarketing.com +; +; The full zone file +; +$TTL 1H +@ IN SOA ftp.vicimarketing.com. sip.vicimarketing.com. ( + 200607101 ; serial# + 3600 ; refresh, seconds + 3600 ; retry, seconds + 3600 ; expire, seconds + 3600 ) ; minimum, seconds +; + NS ftp ; Inet Address of nameserver +vicimarketing.com. MX 10 email ; Primary Mail Exchanger +vicimarketing.com. MX 70 email2 ; Primary Mail Exchanger +; +localhost A 127.0.0.1 +@ A 64.31.159.154 +www A 64.31.159.154 +www2 A 205.201.151.24 +email A 205.201.151.23 +email2 A 68.143.231.202 +ftp A 205.201.151.22 +rsc1 A 205.201.151.21 +annex A 205.201.151.26 +telcove A 64.31.159.154 +tc2 A 64.31.159.155 +codygate A 67.79.161.170 +viciDB3 A 205.201.151.26 +exchange A 10.10.10.5 +ICIast20 CNAME www2 +VICIast1 CNAME www2 +app2 CNAME www2 +cody CNAME codygate +sip CNAME ftp +gate3 CNAME www2 +gate2 CNAME www + + + + + +root@ftp:/# cat /etc/named.conf +options { + directory "/var/named"; + forwarders { 209.84.253.11; 209.84.253.12; }; + /* + * If there is a firewall between you and nameservers you want + * to talk to, you might need to uncomment the query-source + * directive below. Previous versions of BIND always asked + * questions using port 53, but BIND 8.1 uses an unprivileged + * port by default. + */ + // query-source address * port 53; +}; + +// +// a caching only nameserver config +// +zone "." IN { + type hint; + file "caching-example/named.ca"; +}; + +zone "localhost" IN { + type master; + file "caching-example/localhost.zone"; + allow-update { none; }; +}; + +zone "0.0.127.in-addr.arpa" IN { + type master; + file "caching-example/named.local"; + allow-update { none; }; +}; +zone "vicimarketing.com" { + type master; + notify no; + allow-query { any; }; + file "vicimarketing.zone"; +}; diff --git a/agc_2-X/trunk/extras/upgrade_2.0.3.sql b/agc_2-X/trunk/extras/upgrade_2.0.3.sql index d8f4ed14..1ed1ba22 100644 --- a/agc_2-X/trunk/extras/upgrade_2.0.3.sql +++ b/agc_2-X/trunk/extras/upgrade_2.0.3.sql @@ -105,3 +105,5 @@ ALTER TABLE vicidial_campaigns ADD dial_statuses VARCHAR(255) default ' NEW -'; update vicidial_campaigns SET dial_statuses=concat_ws(""," ",`dial_status_a`," ",`dial_status_b`," ",`dial_status_c`," ",`dial_status_d`," ",`dial_status_e`," -"); ALTER TABLE system_settings ADD queuemetrics_eq_prepend VARCHAR(255) default 'NONE'; + + diff --git a/agc_2-X/trunk/www/vicidial/admin.php b/agc_2-X/trunk/www/vicidial/admin.php index 65afce5b..d6f913e0 100644 --- a/agc_2-X/trunk/www/vicidial/admin.php +++ b/agc_2-X/trunk/www/vicidial/admin.php @@ -570,6 +570,9 @@ if (isset($_GET["dial_status"])) {$dial_status=$_GET["dial_status"];} elseif (isset($_POST["dial_status"])) {$dial_status=$_POST["dial_status"];} if (isset($_GET["queuemetrics_eq_prepend"])) {$queuemetrics_eq_prepend=$_GET["queuemetrics_eq_prepend"];} elseif (isset($_POST["queuemetrics_eq_prepend"])) {$queuemetrics_eq_prepend=$_POST["queuemetrics_eq_prepend"];} +if (isset($_GET["vicidial_agent_disable"])) {$vicidial_agent_disable=$_GET["vicidial_agent_disable"];} + elseif (isset($_POST["vicidial_agent_disable"])) {$vicidial_agent_disable=$_POST["vicidial_agent_disable"];} + if (isset($script_id)) {$script_id= strtoupper($script_id);} if (isset($lead_filter_id)) {$lead_filter_id = strtoupper($lead_filter_id);} @@ -805,6 +808,7 @@ $VICIDIAL_park_on_filename = ereg_replace("[^-\_0-9a-zA-Z]","",$VICIDIAL_park_on $auto_alt_dial = ereg_replace("[^-\_0-9a-zA-Z]","",$auto_alt_dial); $dial_status = ereg_replace("[^-\_0-9a-zA-Z]","",$dial_status); $queuemetrics_eq_prepend = ereg_replace("[^-\_0-9a-zA-Z]","",$queuemetrics_eq_prepend); +$vicidial_agent_disable = ereg_replace("[^-\_0-9a-zA-Z]","",$vicidial_agent_disable); ### ALPHA-NUMERIC and spaces $lead_order = ereg_replace("[^ 0-9a-zA-Z]","",$lead_order); @@ -2822,6 +2826,11 @@ The VICIDIAL basic web-based lead loader is designed simply to take a lead file
QueueMetrics EnterQueue Prepend - This field is used to allow for prepending of one of the vicidial_list data fields in front of the phone number of the customer for customized QueueMetrics reports. Default is NONE to not populate anything. +
+ +
+VICIDIAL Agent Disable Display - This field is used to select when to show an agent when their session has been disabled by the system, a manager action or by an external measure. The NOT_ACTIVE setting will disable the message on the agents screen. The LIVE_AGENT setting will only display the disabled message when the agents vicidial_auto_calls record has been removed, such as during a force logout or emergency logout. +