From dce6985f8e9c00af59ad8620824e80679e309c22 Mon Sep 17 00:00:00 2001 From: mattf Date: Tue, 5 Sep 2006 00:23:47 +0000 Subject: [PATCH] corrections to SCRATCH_INSTALL doc git-svn-id: svn://192.168.202.10@240 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/docs/SCRATCH_INSTALL.txt | 51 ++++++++++++++------------ 1 file changed, 27 insertions(+), 24 deletions(-) diff --git a/agc_2-X/trunk/docs/SCRATCH_INSTALL.txt b/agc_2-X/trunk/docs/SCRATCH_INSTALL.txt index f06a1a0d..194b790f 100644 --- a/agc_2-X/trunk/docs/SCRATCH_INSTALL.txt +++ b/agc_2-X/trunk/docs/SCRATCH_INSTALL.txt @@ -1230,7 +1230,10 @@ digium card. - now you can launch asteris with the following command: "asterisk -vvvvvvvvvvvvgc" - you should see a lot of messages scroll by and at the end you should -be given a CLI> prompt if everything loaded OK. +be given a CLI> prompt if everything loaded OK. To get out of Asterisk you can +type "stop now". Now that you are sure it is running you can either run it in a +separate terminal window or use the start_asterisk_boot.pl that you will +install with astguiclient to start Asterisk. @@ -1375,7 +1378,7 @@ package(as of this writing it is 2.0.1) - cd /usr/src/astguiclient - wget http://internap.dl.sourceforge.net/sourceforge/astguiclient/astguiclient_2.0.1b1.zip - unzip astguiclient_2.0.1b1.zip - - perl install.pl + - perl install.pl (make sure you are in the directory with the install.pl file) - for SVN 2.0 trunk: - mkdir /usr/src/astguiclient - cd /usr/src/astguiclient @@ -1417,7 +1420,7 @@ UPDATE mysql.user set password=OLD_PASSWORD('1234') where user='cron'; use asterisk; -\. /home/cron/astguiclient/MySQL_AST_CREATE_tables.sql +\. /usr/share/astguiclient/MySQL_AST_CREATE_tables.sql GRANT SELECT on asterisk.phones TO idcheck@'%' IDENTIFIED BY '1234'; GRANT SELECT on asterisk.phones TO idcheck@localhost IDENTIFIED BY '1234'; @@ -1451,7 +1454,7 @@ insert into conferences values('8600029','10.10.10.15',''); quit run this command from command line: - - /home/cron/ADMIN_area_code_populate.pl + - /usr/share/astguiclient/ADMIN_area_code_populate.pl ######------ END Mysql data entry ------###### @@ -2244,7 +2247,7 @@ touch /var/lock/subsys/local sleep 20 ### start up asterisk -/home/cron/start_asterisk_boot.pl +/usr/share/astguiclient/start_asterisk_boot.pl - you are done @@ -2255,7 +2258,7 @@ SUBPHASE 6.5: setting up astguiclient scripts for continuous running 1. Make several entries in the cron of your system: - on the command line type: - - cd /home/cron + - cd /usr/share/astguiclient - crontab -e - add the following entries(here's what we used): (Note if you have not edited the AST_CRON_mix_recordings.pl script @@ -2263,55 +2266,55 @@ to FTP to a different server, then you should use the AST_CRON_mix_recordings_BASIC.pl file in it's place) ### recording mixing for Asterisk run every 5 minutes -1,6,11,16,21,26,31,36,41,46,51,56 * * * 1,2,3,4,5,6 /home/cron/AST_CRON_mix_recordings_BASIC.pl +1,6,11,16,21,26,31,36,41,46,51,56 * * * 1,2,3,4,5,6 /usr/share/astguiclient/AST_CRON_mix_recordings_BASIC.pl ### keepalive script for Asterisk updaters -* * * * * /home/cron/ADMIN_keepalive_AST_update.pl +* * * * * /usr/share/astguiclient/ADMIN_keepalive_AST_update.pl ### keepalive script for Asterisk manager queue system -* * * * * /home/cron/ADMIN_keepalive_AST_send_listen.pl +* * * * * /usr/share/astguiclient/ADMIN_keepalive_AST_send_listen.pl ### keepalive script for Asterisk VICIDIAL autodial system -* * * * * /home/cron/ADMIN_keepalive_AST_VDautodial.pl +* * * * * /usr/share/astguiclient/ADMIN_keepalive_AST_VDautodial.pl ### keepalive script for VICIDIAL remote agents -* * * * * /home/cron/ADMIN_keepalive_AST_VDremote_agents.pl +* * * * * /usr/share/astguiclient/ADMIN_keepalive_AST_VDremote_agents.pl ### keepalive script for VICIDIAL predictive script -* * * * * /home/cron/ADMIN_keepalive_AST_VDadapt.pl +* * * * * /usr/share/astguiclient/ADMIN_keepalive_AST_VDadapt.pl ### kill Hangup script for Asterisk updaters -* * * * * /home/cron/AST_manager_kill_hung_congested.pl +* * * * * /usr/share/astguiclient/AST_manager_kill_hung_congested.pl ### updater for voicemail -* * * * * /home/cron/AST_vm_update.pl +* * * * * /usr/share/astguiclient/AST_vm_update.pl ### updater for conference validator -* * * * * /home/cron/AST_conf_update.pl +* * * * * /usr/share/astguiclient/AST_conf_update.pl ### flush queue DB table every hour for entries older than 1 hour -11 * * * * /home/cron/AST_flush_DBqueue.pl -q +11 * * * * /usr/share/astguiclient/AST_flush_DBqueue.pl -q ### fix the vicidial_agent_log once every hour -33 * * * * /home/cron/AST_cleanup_agent_log.pl +33 * * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl ### updater for VICIDIAL hopper -* * * * * /home/cron/AST_VDhopper.pl -q +* * * * * /usr/share/astguiclient/AST_VDhopper.pl -q ### adjust the GMT offset for the leads in the vicidial_list table -1 1 * * * /home/cron/ADMIN_adjust_GMTnow_on_leads.pl --debug +1 1 * * * /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug ### reset several temporary-info tables in the database -2 1 * * * /home/cron/AST_reset_mysql_vars.pl +2 1 * * * /usr/share/astguiclient/AST_reset_mysql_vars.pl ### optimize the database tables within the asterisk database -3 1 * * * /home/cron/AST_DB_optimize.pl +3 1 * * * /usr/share/astguiclient/AST_DB_optimize.pl ## adjust time on the server with ntp 30 * * * * /usr/local/bin/ntpdate -u 18.145.0.30 2>/dev/null 1>&2 ### VICIDIAL agent time log weekly summary report generation -2 0 * * 0 /home/cron/AST_agent_week.pl +2 0 * * 0 /usr/share/astguiclient/AST_agent_week.pl - once your system starts up you can attach to the screen running asterisk by typing "screen -r " find which screen by typing "screen -r" and @@ -2327,7 +2330,7 @@ VICIDIAL campaign and users First we will add a few test leads to the vicidial_list table so that we can test our system. There is also an application included with the distribution -that will accept a delimited file of leads placed in the /home/cron/VICIDIAL/LEADS_IN/ +that will accept a delimited file of leads placed in the /usr/share/astguiclient/VICIDIAL/LEADS_IN/ directory and load it into the database automatically(VICIDIAL_IN_new_leads_file.pl [a sample lead file in the proper format is included with this release: - test_VICIDIAL_lead_file.txt]) @@ -2390,7 +2393,7 @@ Now that the sample leads and disposition codes have been entered, we can go into the VICIDIAL administration website and set up our campaigns, lists and users. But first let's make sure that they have the right GMT offset: run this on the command line: - - /home/cron/ADMIN_adjust_GMTnow_on_leads.pl + - /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl 3. Enter the astguiclient administration page: http://10.10.10.15/vicidial/admin.php