From f6cb09033e7ba441696ae67ee5230b1705c955f2 Mon Sep 17 00:00:00 2001 From: mattf Date: Wed, 21 Nov 2007 16:00:21 +0000 Subject: [PATCH] several documentation changes fixed install.pl to not report existing directory errors git-svn-id: svn://192.168.202.10@727 3d104415-ff17-0410-8863-d5cf3c621b8a --- UPGRADE | 14 ++++-- docs/SCRATCH_INSTALL.txt | 49 ++++++------------- docs/conf_examples/extensions.conf.sample | 1 + docs/conf_examples/extensions.conf.sample-1.4 | 1 + install.pl | 29 +++++------ 5 files changed, 41 insertions(+), 53 deletions(-) diff --git a/UPGRADE b/UPGRADE index d7b0a287..29b912a4 100644 --- a/UPGRADE +++ b/UPGRADE @@ -39,9 +39,9 @@ NOTE: Upgrading from 1.1.12-3 to 2.0.1 is at the bottom DTMF passthru. Need to use the "F" flag to enable on Meetme in extensiosn.conf. Feature is backported from Asterisk 1.4.X -8. Changed the FastAGI_log process to consolidate the "h" exten hangup process - into one executed function instead of two. Because of this, the h exten - needs to be changed to the following: +8. REQUIRED! Changed the FastAGI_log process to consolidate the "h" exten hangup + process into one executed function instead of two. Because of this, the + h exten needs to be changed to only the following: exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})) 9. Moved the audio transfer script and report generating scripts settings to @@ -52,10 +52,13 @@ NOTE: Upgrading from 1.1.12-3 to 2.0.1 is at the bottom in production. 11. REQUIRED CHANGE! in your dialplan you must now add lines for load balancing - even if you only have one server, and you must have lines with the 7 - prefix for silent insertion into the meetme conference: + even if you only have one server, and you must also have lines with the + 7 prefix for silent insertion into the meetme conference: + exten => _010*010*010*015*8600XXX,... + exten => _010*010*010*015*8600XXX*.,... exten => _010*010*010*015*78600XXX,... exten => _010*010*010*015*78600XXX*.,... + exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi) See LOAD_BALANCING.txt and extensions.conf.sample for more information 12. Inbound, Blended and Closer-type campaigns are no longer required to have @@ -73,6 +76,7 @@ NOTE: Upgrading from 1.1.12-3 to 2.0.1 is at the bottom The old agi-VDAD_closer... scripts have all been depricated and moved to the extras/old_agi/ directory. +16. AST_agent_performance_detail.php report script has been completely rewritten diff --git a/docs/SCRATCH_INSTALL.txt b/docs/SCRATCH_INSTALL.txt index 0225f10d..481e94c3 100644 --- a/docs/SCRATCH_INSTALL.txt +++ b/docs/SCRATCH_INSTALL.txt @@ -2389,31 +2389,6 @@ exten => _68600XXX,1,Meetme,${EXTEN:1}|mq ######------ END extensions.conf changes for VD conf ------###### -NOTE: If you want to use app_conference instead of meetme and you already have -it installed, you will need to do the following: - -In your extensions.conf file you would replace these lines: -exten => 8600051,1,Meetme,8600051 -exten => 8600052,1,Meetme,8600052 -...continue through 8600100... -exten => 78600051,1,Meetme,8600051|q -exten => 78600052,1,Meetme,8600052|q -...continue through 78600100... -exten => 68600051,1,Meetme,8600051|mq -exten => 68600052,1,Meetme,8600052|mq -...continue through 68600100... - -with these lines: -exten => 8600051,1,Conference(8600051) -exten => 8600052,1,Conference(8600052) -...continue through 8600100... -exten => 78600051,1,Conference(8600051|q) -exten => 78600052,1,Conference(8600052|q) -...continue through 78600100... -exten => 68600051,1,Conference(8600051|Lq) -exten => 68600052,1,Conference(8600052|Lq) -...continue through 68600100... - NOTE: If you want to do DTMF passthru with app_conference bee sure to add the "i" and "t" flags to the 8600XX lines: Conference(8600051|it) @@ -2601,16 +2576,22 @@ exten => 8372,3,AGI(agi-VDADautoREMINDER.agi,${EXTEN}) exten => 8372,4,AGI(agi-VDADautoREMINDER.agi,${EXTEN}) exten => 8372,5,Hangup -### OPTIONAL IAX Load Balance extens to allow for Overflow and Balanced VDAD -### In this setup, the serverIP is the prefix followed by agent conf_exten -### If you have more than 1 server doing VICIDIAL outbound, these lines are -### REQUIRED for Load Balancing to work properly -### server 1 extens: +; MANDITORY VDAD extens: +; In this setup, the serverIP is the prefix followed by agent conf_exten +; These lines are REQUIRED for VICIDIAL to work properly +; local server extens: + exten => _010*010*010*015*8600XXX,1,Goto(default,${EXTEN:16},1) + exten => _010*010*010*015*8600XXX*.,1,Goto(default,${EXTEN:16},1) + exten => _010*010*010*015*78600XXX,1,Goto(default,${EXTEN:16},1) + exten => _010*010*010*015*78600XXX*.,1,Goto(default,${EXTEN:16},1) + exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi) + exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi) + +; OPTIONAL server 2 extens, needed for load balancing: exten => _010*010*010*016*8600XXX,1,Dial(${TRUNKIAX2}/${EXTEN:16},55,o) - exten => _010*010*010*016*8600XXX,2,Hangup -### server 2 extens: - exten => _010*010*010*015*8600XXX,1,Dial(${TRUNKIAX1}/${EXTEN:16},55,o) - exten => _010*010*010*015*8600XXX,2,Hangup + exten => _010*010*010*016*8600XXX*.,1,Dial(${TRUNKIAX2}/${EXTEN:16},55,o) + exten => _010*010*010*016*78600XXX,1,Dial(${TRUNKIAX2}/${EXTEN:16},55,o) + exten => _010*010*010*016*78600XXX*.,1,Dial(${TRUNKIAX2}/${EXTEN:16},55,o) SUBPHASE 6.3: adding entries to your MySQL "asterisk" database for vicidial diff --git a/docs/conf_examples/extensions.conf.sample b/docs/conf_examples/extensions.conf.sample index 29b54e04..cff0824b 100644 --- a/docs/conf_examples/extensions.conf.sample +++ b/docs/conf_examples/extensions.conf.sample @@ -323,6 +323,7 @@ exten => _*NXXNXXXXXX*3429,3,Answer exten => _*NXXNXXXXXX*3429,4,Dial,sip/spa2000&sip/spa2001|30|to exten => _*NXXNXXXXXX*3429,5,Voicemail,u2000 +; BE SURE TO CHANGE THESE FOR YOUR IP ADDRESS! exten => _010*010*010*015*8600XXX,1,Goto(default,${EXTEN:16},1) exten => _010*010*010*015*8600XXX*.,1,Goto(default,${EXTEN:16},1) exten => _010*010*010*015*78600XXX,1,Goto(default,${EXTEN:16},1) diff --git a/docs/conf_examples/extensions.conf.sample-1.4 b/docs/conf_examples/extensions.conf.sample-1.4 index 50b9bd5e..116d1738 100644 --- a/docs/conf_examples/extensions.conf.sample-1.4 +++ b/docs/conf_examples/extensions.conf.sample-1.4 @@ -322,6 +322,7 @@ exten => _*NXXNXXXXXX*3429,3,Answer exten => _*NXXNXXXXXX*3429,4,Dial,sip/spa2000&sip/spa2001|30|to exten => _*NXXNXXXXXX*3429,5,Voicemail,u2000 +; BE SURE TO CHANGE THESE FOR YOUR IP ADDRESS! exten => _010*010*010*015*8600XXX,1,Goto(default,${EXTEN:16},1) exten => _010*010*010*015*8600XXX*.,1,Goto(default,${EXTEN:16},1) exten => _010*010*010*015*78600XXX,1,Goto(default,${EXTEN:16},1) diff --git a/install.pl b/install.pl index 3a4c86c7..1fb1d03b 100644 --- a/install.pl +++ b/install.pl @@ -8,7 +8,8 @@ # CHANGES # 71004-1155 - Added FTP and REPORT connection variables # 71012-1251 - Added PATHDONEmonitor setting -# +# 71121-1048 - Added -p flag to mkdir to not show errors +# ############################################ # install.pl - puts server files in the right places and creates conf file @@ -1801,16 +1802,16 @@ print "\nSTARTING ASTGUICLIENT INSTALLATION PHASE...\n"; if ($WEBONLY < 1) { print "Creating $PATHhome/LEADS_IN/DONE directories...\n"; - `mkdir $PATHhome/libs`; - `mkdir $PATHhome/libs/Asterisk`; - `mkdir $PATHhome/LEADS_IN`; - `mkdir $PATHhome/LEADS_IN/DONE`; + `mkdir -p $PATHhome/libs`; + `mkdir -p $PATHhome/libs/Asterisk`; + `mkdir -p $PATHhome/LEADS_IN`; + `mkdir -p $PATHhome/LEADS_IN/DONE`; `chmod -R 0766 $PATHhome/LEADS_IN`; print "Creating $PATHmonitor directories...\n"; - `mkdir $PATHmonitor`; - `mkdir $PATHDONEmonitor`; - `mkdir $PATHDONEmonitor/ORIG`; + `mkdir -p $PATHmonitor`; + `mkdir -p $PATHDONEmonitor`; + `mkdir -p $PATHDONEmonitor/ORIG`; `chmod -R 0766 $PATHmonitor`; `chmod -R 0766 $PATHDONEmonitor`; @@ -1841,12 +1842,12 @@ if ($WEBONLY < 1) if ($NOWEB < 1) { print "Creating $PATHweb web directories...\n"; - `mkdir $PATHweb/agc/`; - `mkdir $PATHweb/astguiclient/`; - `mkdir $PATHweb/vicidial/`; - `mkdir $PATHweb/vicidial/ploticus/`; - `mkdir $PATHweb/vicidial/agent_reports/`; - `mkdir $PATHweb/vicidial/server_reports/`; + `mkdir -p $PATHweb/agc/`; + `mkdir -p $PATHweb/astguiclient/`; + `mkdir -p $PATHweb/vicidial/`; + `mkdir -p $PATHweb/vicidial/ploticus/`; + `mkdir -p $PATHweb/vicidial/agent_reports/`; + `mkdir -p $PATHweb/vicidial/server_reports/`; print "Copying web files...\n"; `cp -f -R ./www/* $PATHweb/`;