2006-04-14_snapshot
git-svn-id: svn://192.168.202.10@3 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
+69
-31
@@ -1,4 +1,4 @@
|
||||
Asterisk/astguiclient install from scratch. v.1.1.10 2006-03-17
|
||||
Asterisk/astguiclient install from scratch. v.1.1.10 2006-04-06
|
||||
By the astGUIclient group astguiclient@eflo.net
|
||||
|
||||
**** IMPORTANT - In order for vicidial/astguiclient to function correctly please
|
||||
@@ -264,14 +264,15 @@ for the mirrors list, you will want to select at least 4 mirrors
|
||||
- enter for the next 2 prompts
|
||||
3. Once you see the cpan> prompt you can begin installing modules
|
||||
4. If you've never installed cpan before you should probably install the
|
||||
following modules first:
|
||||
following modules first: (say YES if asked to install prerequisites)
|
||||
- install MD5
|
||||
- install Digest::MD5 (say YES when asked to install prerequisites)
|
||||
- install Digest::MD5
|
||||
- install Digest::SHA1
|
||||
- install readline (just hit Enter when it asks for operator)
|
||||
- install Bundle::CPAN
|
||||
- reload cpan
|
||||
- then you can install other modules:
|
||||
- install Net::MySQL
|
||||
- install O/OY/OYAMA/Net-MySQL-0.08.tar.gz
|
||||
- install Net::Telnet
|
||||
- install Time::HiRes
|
||||
- install OLE::Storage_Lite (needed for super list loader Excel)
|
||||
@@ -448,30 +449,33 @@ that can be displayed real-time on a web page. *OPTIONAL*
|
||||
|
||||
8. Go to http://ploticus.sourceforge.net/ and download the package
|
||||
- to install this directly on the command line type:
|
||||
NOTE: you may have to edit the Makefile to remove X11 if you don't have it
|
||||
- cd /usr/local
|
||||
- wget http://ploticus.sourceforge.net/download/pl232src.tar.gz
|
||||
- gunzip pl232src.tar.gz
|
||||
- tar xvf pl232src.tar
|
||||
- cd pl232src
|
||||
- cd src/
|
||||
- cd pl232src/src/
|
||||
- make clean
|
||||
- make
|
||||
- make install
|
||||
- you are done
|
||||
NOTE: for the graphics to work on the AST_server_performance page you will
|
||||
need the 'pl' script to be linked or copied into your htdocs/vicidial/ploticus directory
|
||||
|
||||
|
||||
mysql is a fast database system that is very easy to integrate with any
|
||||
MySQL is a fast database system that is very easy to integrate with any
|
||||
application. You can either install it on the local Asterisk system or have one
|
||||
somewhere on your network. For our purposes, we are creating an Asterisk
|
||||
installation that is self contained and needs no other local servers to operate,
|
||||
so we will need to install mysql on this machine.
|
||||
*OPTIONAL* (only install MySQL locally if you don't want to use an installation
|
||||
on another machine)
|
||||
NOTE: a minimum of MySQL 4.0.X is required
|
||||
|
||||
9. Go to http://www.mysql.com/ and download the mysql package
|
||||
- to install this directly on the command line type:
|
||||
- cd /usr/local
|
||||
- wget http://mirror.services.wisc.edu/mysql/Downloads/MySQL-4.0/mysql-4.0.26.tar.gz
|
||||
- wget http://mirror.trouble-free.net/mysql_mirror/Downloads/MySQL-4.0/mysql-4.0.26.tar.gz
|
||||
- gunzip mysql-4.0.26.tar.gz
|
||||
- tar xvf mysql-4.0.26.tar
|
||||
- cd mysql-4.0.26
|
||||
@@ -487,8 +491,26 @@ on another machine)
|
||||
- cp support-files/my-medium.cnf /etc/my.cnf
|
||||
- /usr/local/mysql/bin/mysqld_safe --user=mysql &
|
||||
- you are done
|
||||
- NOTE: if you use MySQL version 4.1.12 or greater:
|
||||
(http://mirror.services.wisc.edu/mysql/Downloads/MySQL-4.1/mysql-4.1.15.tar.gz)
|
||||
|
||||
***** NOTE: if you use MySQL version 4.0.X: *****
|
||||
(http://mirror.trouble-free.net/mysql_mirror/Downloads/MySQL-4.0/mysql-4.0.26.tar.gz)
|
||||
Then you need to make sure that you use the 0.08 version of the Net::MySQL
|
||||
perl module. This can be found in the astguiclient release zip file in the
|
||||
libs/Net folder(MySQL.pm). Here are instructions on how to replace the
|
||||
0.09 version of MySQL.pm with the 0.08 version which is MySQL 4.0.X compatible:
|
||||
- cpan
|
||||
- install O/OY/OYAMA/Net-MySQL-0.08.tar.gz
|
||||
or you can use the version included with the astguiclient release:
|
||||
- locate -u
|
||||
- locate MySQL.pm (replace the path below with the path you find)
|
||||
- mv /usr/lib/perl5/site_perl/5.8.6/Net/MySQL.pm MySQL.pm-old
|
||||
- cp /home/cron/astguiclient_1.1.10/libs/Net/MySQL.pm /usr/lib/perl5/site_perl/5.8.6/Net/MySQL.pm
|
||||
If you do not do this, then you will see MySQL authentication errors on your
|
||||
Asterisk server.
|
||||
|
||||
***** NOTE: if you use MySQL version 4.1.12 or greater: *****
|
||||
(http://mirror.services.wisc.edu/mysql/Downloads/MySQL-4.1/mysql-4.1.18.tar.gz)
|
||||
If you are using the 0.08 version of the Net::MySQL perl module with 4.1.X
|
||||
Then you need to make sure that you use the SET PASSWORD ... OLD_PASSWORD to
|
||||
allow the older client libraries to connect to the MySQL server, or you can
|
||||
start your mysqld server with the "-old-passwords" option. If you do not do
|
||||
@@ -606,11 +628,11 @@ this loaded on your system.
|
||||
14. Go to http://subversion.tigris.org to download the most recent source version
|
||||
- to install this directly on the command line type:
|
||||
- cd /usr/local
|
||||
- wget http://subversion.tigris.org/tarballs/subversion-1.1.4.tar.gz
|
||||
- gunzip subversion-1.1.4.tar.gz
|
||||
- tar xvf subversion-1.1.4.tar
|
||||
- cd subversion-1.1.4
|
||||
- ./configure
|
||||
- wget http://subversion.tigris.org/downloads/subversion-1.3.0.tar.gz
|
||||
- gunzip subversion-1.3.0.tar.gz
|
||||
- tar xvf subversion-1.3.0.tar
|
||||
- cd subversion-1.3.0
|
||||
- ./configure --enable-ssl --with-neon
|
||||
- make
|
||||
- make install
|
||||
|
||||
@@ -620,10 +642,10 @@ PHASE 4: INSTALLING ASTERISK
|
||||
|
||||
OK, all the prep work is done, now it's time to start having fun with Asterisk.
|
||||
There are four basic ways to install Asterisk, an official release(at the time of
|
||||
this writing the official releases are 1.2.4 and 1.0.10), the CVS_v1-0 branch(1.0
|
||||
this writing the official releases are 1.2.6 and 1.0.10), the CVS_v1-0 branch(1.0
|
||||
with bug fixes not yet packaged and released) and the SVN_DEV version(development
|
||||
branch). Because there are bugs that affect astGUIclient in releases 1.0.8 and
|
||||
1.0.9, we recommend using Asterisk 1.2.4 or 1.0.10. These instructions are how we
|
||||
1.0.9, we recommend using Asterisk 1.2.6 or 1.0.10. 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.
|
||||
|
||||
@@ -638,13 +660,17 @@ with the following patch:
|
||||
- mkdir /usr/src/asterisk
|
||||
- cd /usr/src/asterisk
|
||||
A. if you want 1.2 release (reliable with new features):
|
||||
- wget http://ftp.digium.com/pub/asterisk/old-releases/asterisk-1.2.4.tar.gz
|
||||
- wget http://ftp.digium.com/pub/zaptel/zaptel-1.2.4.tar.gz
|
||||
- wget http://ftp.digium.com/pub/asterisk/asterisk-1.2.6.tar.gz
|
||||
or older 1.2.4 release
|
||||
- wget http://ftp.digium.com/pub/asterisk/old-releases/asterisk-1.2.4.tar.gz
|
||||
- wget http://ftp.digium.com/pub/zaptel/zaptel-1.2.5.tar.gz
|
||||
or older 1.2.4 release
|
||||
- wget http://ftp.digium.com/pub/zaptel/zaptel-1.2.4.tar.gz
|
||||
- wget http://ftp.digium.com/pub/libpri/libpri-1.2.2.tar.gz
|
||||
- gunzip asterisk-1.2.4.tar.gz
|
||||
- tar xvf asterisk-1.2.4.tar
|
||||
- gunzip zaptel-1.2.4.tar.gz
|
||||
- tar xvf zaptel-1.2.4.tar
|
||||
- gunzip asterisk-1.2.6.tar.gz
|
||||
- tar xvf asterisk-1.2.6.tar
|
||||
- gunzip zaptel-1.2.5.tar.gz
|
||||
- tar xvf zaptel-1.2.5.tar
|
||||
- gunzip libpri-1.2.2.tar.gz
|
||||
- tar xvf libpri-1.2.2.tar
|
||||
B. If you want latest 1.0 tree stable release:
|
||||
@@ -679,7 +705,7 @@ with the following patch:
|
||||
edit this line at the top and just add a hash # in front of it as shown:
|
||||
#PBX_LIBS+=$(shell $(CROSS_COMPILE_BIN)gtk-config --cflags >/dev/null 2>/dev/null && echo "pbx_gtkconsole.so")
|
||||
|
||||
- cd ./zaptel-1.2.4
|
||||
- cd ./zaptel-1.2.5
|
||||
- make clean
|
||||
- make
|
||||
- make install
|
||||
@@ -687,7 +713,7 @@ with the following patch:
|
||||
- make clean
|
||||
- make
|
||||
- make install
|
||||
- cd ../asterisk-1.2.4
|
||||
- cd ../asterisk-1.2.6
|
||||
- (1.2 tree) If you want to include Answering Machine Detection ability
|
||||
you will need to download app_amd.c and amd.conf and alter the
|
||||
apps/Makefile to compile it properly
|
||||
@@ -745,6 +771,7 @@ configure it.
|
||||
|
||||
NOTES: If you want to install zttool diagnostics you may need the newt package installed:
|
||||
http://www.freedomphones.net/files/newt-0.51.6.tar.gz
|
||||
ln -s /usr/lib/libnewt.so.0.51.6 /usr/lib/libnewt.so.0.51
|
||||
then go to your zaptel folder and do 'make zttool'
|
||||
|
||||
Digium/Clone X100P EXAMPLE:
|
||||
@@ -816,7 +843,7 @@ channels, we will use the following settings for zaptel.conf:
|
||||
FOR A PRI YOU WOULD USE SOMETHING LIKE THIS:
|
||||
span=2,2,0,esf,b8zs
|
||||
bchan=25-47
|
||||
dchan=25-47
|
||||
dchan=48
|
||||
|
||||
2. edit zapata.conf
|
||||
- vi /etc/asterisk/zapata.conf
|
||||
@@ -1176,6 +1203,17 @@ exten => i,1,Playback(invalid) ; "That's not valid, try again"
|
||||
exten => 8500,1,VoicemailMain
|
||||
exten => 8500,2,Goto(s,6)
|
||||
|
||||
; ASTERISK AGENTS LOGINS FOR QUEUES (NOT part of VICIDIAL)
|
||||
; the following assumes phone agent login and exten are 3 digits and the same
|
||||
; also assumes that 3-digit login is present in agents.conf and queueus.conf
|
||||
;Agent Logout then stay onhook, DIAL 54 + 3-digit ID
|
||||
exten => _54XXX,1,AgentCallbackLogin(||)
|
||||
; the following are used to login and logout of Asterisk Queues from phone
|
||||
;Agent Login then stay offhook on the phone, DIAL 55 + 3-digit ID
|
||||
exten => _55XXX,1,AgentLogin(${EXTEN:1})
|
||||
;Agent Login then stay onhook, phones will ring, DIAL 56 + 3-digit ID
|
||||
exten => _56XXX,1,AgentCallbackLogin(||${EXTEN:1}@default)
|
||||
|
||||
######------ END extensions.conf example ------######
|
||||
|
||||
### OPTIONAL IAX trunk extensions entries for long distance dialing over IAX
|
||||
@@ -1344,13 +1382,13 @@ VICIDIAL components to the system. (NOTE: make sure you have added the user "cro
|
||||
SUBPHASE 6.0: putting the files in place
|
||||
|
||||
1. Go to http://astguiclient.sf.net/ and download the latest astguiclient
|
||||
package(as of this writing it is 1.1.9)
|
||||
package(as of this writing it is 1.1.10)
|
||||
- to install this directly on the command line type:
|
||||
- cd /home/cron
|
||||
- mkdir astguiclient
|
||||
- cd astguiclient
|
||||
- wget http://unc.dl.sourceforge.net/sourceforge/astguiclient/astguiclient_1.1.9.zip
|
||||
- unzip astguiclient_1.1.9.zip
|
||||
- wget http://internap.dl.sourceforge.net/sourceforge/astguiclient/astguiclient_1.1.10.zip
|
||||
- unzip astguiclient_1.1.10.zip
|
||||
- chmod 0755 install_server_files.pl
|
||||
- perl install_server_files.pl
|
||||
- cd ../
|
||||
@@ -1401,7 +1439,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.2');
|
||||
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.6');
|
||||
|
||||
insert into server_updater values('10.10.10.15','');
|
||||
|
||||
@@ -1975,7 +2013,7 @@ exten => 8320,4,Hangup
|
||||
|
||||
; this is used to allow the GUI to send you directly into voicemail
|
||||
; don't forget to set GUI variable $voicemail_exten to this extension
|
||||
exten => 8501,1,VoicemailMain(s${CALLERID})
|
||||
exten => 8501,1,VoicemailMain(s${CALLERIDNUM})
|
||||
exten => 8501,2,Hangup
|
||||
|
||||
; this is used to allow the GUI to send live calls directly into voicemail
|
||||
|
||||
Reference in New Issue
Block a user