From 83c3ce1578d04bbe570baf64f87dcff20e0ce9fe Mon Sep 17 00:00:00 2001 From: mattf Date: Fri, 18 Aug 2006 18:51:23 +0000 Subject: [PATCH] update to SCRATCH_INSTALL for new versions, dnsmgr.conf and binfone config git-svn-id: svn://192.168.202.10@190 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_1-X/trunk/docs/SCRATCH_INSTALL.txt | 69 ++++++++++++++++---------- 1 file changed, 42 insertions(+), 27 deletions(-) diff --git a/agc_1-X/trunk/docs/SCRATCH_INSTALL.txt b/agc_1-X/trunk/docs/SCRATCH_INSTALL.txt index 4bcc2b39..4c0e475a 100644 --- a/agc_1-X/trunk/docs/SCRATCH_INSTALL.txt +++ b/agc_1-X/trunk/docs/SCRATCH_INSTALL.txt @@ -1,4 +1,4 @@ -Asterisk/astguiclient install from scratch. v.1.1.12 2006-06-22 +Asterisk/astguiclient install from scratch. v.1.1.12 2006-08-18 By the astGUIclient group astguiclient@eflo.net **** IMPORTANT - In order for vicidial/astguiclient to function correctly please @@ -240,10 +240,10 @@ user. The home directory should be /home/cron/ for this new user. SUBPHASE 3.1: Installing Perl Modules -NOTE - you can install ActiveState http://www.activestate.com perl for faster -executing code that uses less processor time, but it is not required. Here's -the source for ActiveState Perl 5.6: (it's free) - http://downloads.activestate.com/ActivePerl/src/5.6/AP638_source.tgz +NOTE - you can install ActiveState http://www.activestate.com perl which may +improve performance, but it is not required. Here's the source for ActiveState +Perl 5.8: (it's free) + http://downloads.activestate.com/ActivePerl/src/5.8/AP817_source.tgz I hope to add the lengthy steps for installing it as your default perl on your server but I need some time and a free machine to do that. @@ -399,12 +399,12 @@ the time is the same on our client computers and our servers. 6. Go to http://www.ntp.org/ and download the ntpd package - to install this directly on the command line type: - cd /usr/local - - wget http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.2.tar.gz + - wget http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.2p3.tar.gz If you get compilation errors here try 4.1.2: - wget http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.1.2.tar.gz - - gunzip ntp-stable-4.2.0a-20060224.tar.gz - - tar xvf ntp-stable-4.2.0a-20060224.tar - - cd ntp-4.2.0 + - gunzip ntp-4.2.2p3.tar.gz + - tar xvf ntp-4.2.2p3.tar.gz + - cd ntp-4.2.2p3 - ./configure - make - make install @@ -442,10 +442,10 @@ they are using. *OPTIONAL* 8. Go to http://www.ex-parrot.com/~pdw/iftop/ and download the package - to install this directly on the command line type: - cd /usr/local - - wget http://www.tcpdump.org/release/libpcap-0.8.3.tar.gz - - gunzip libpcap-0.8.3.tar.gz - - tar xvf libpcap-0.8.3.tar - - cd libpcap-0.8.3 + - wget http://www.tcpdump.org/release/libpcap-0.9.4.tar.gz + - gunzip libpcap-0.9.4.tar.gz + - tar xvf libpcap-0.9.4.tar + - cd libpcap-0.9.4 - ./configure - make - make install @@ -564,7 +564,7 @@ updated on your system, so we're going to install a new version now. - make - make install - cd /usr/local - - wget http://gulus.usherbrooke.ca/pub/appl/ssh/OpenSSH/portable/openssh-4.3p2.tar.gz + - wget http://mirror.mcs.anl.gov/openssh/portable/openssh-4.3p2.tar.gz - gunzip openssh-4.3p2.tar.gz - tar xvf openssh-4.3p2.tar - cd openssh-4.3p2 @@ -602,18 +602,18 @@ installation on another machine) Go to http://www.php.net/ and download the php unix source code - to install this directly on the command line type: - cd /usr/local - - wget http://apache.secsup.org/dist/httpd/httpd-2.0.58.tar.gz - - gunzip httpd-2.0.58.tar.gz - - tar xvf httpd-2.0.58.tar - - wget http://us2.php.net/distributions/php-4.4.2.tar.gz + - wget http://apache.secsup.org/dist/httpd/httpd-2.0.59.tar.gz + - gunzip httpd-2.0.59.tar.gz + - tar xvf httpd-2.0.59.tar + - wget http://us2.php.net/distributions/php-4.4.4.tar.gz NOTE: PHP 5.1.1 has also been tested with this release - - gunzip php-4.4.2.tar.gz - - tar xvf php-4.4.2.tar - - cd httpd-2.0.58 + - gunzip php-4.4.4.tar.gz + - tar xvf php-4.4.4.tar + - cd httpd-2.0.59 - ./configure --enable-so --with-apxs2 - make - make install - - cd ../php-4.4.2 + - cd ../php-4.4.4 - ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql - make - make install @@ -659,10 +659,10 @@ this loaded on your system. 15. 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/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 + - wget http://subversion.tigris.org/downloads/subversion-1.3.2.tar.gz + - gunzip subversion-1.3.2.tar.gz + - tar xvf subversion-1.3.2.tar + - cd subversion-1.3.2 - ./configure --enable-ssl --with-neon - make - make install @@ -1049,6 +1049,10 @@ This works for most customers. Folks that want inbound then also sign up for DIDs, each of which has its own IAX username. (Which is the 10 digit DID). Each username has its own password which is managed through their web interface. +NOTE: If you will be using the G729 codec through binfone there is now a +dedicated G729 gateway that only handles G729 calls. Please use this address to +register to if you plan on using G729 as your codec: iax-g729.binfone.com + iax.conf: [general] register => 1112223333:PASSWORD@iax.binfone.com @@ -1076,6 +1080,12 @@ Each username has its own password which is managed through their web interface. exten => 1112223333,2,Dial(sip/gs102,55,o) exten => 1112223333,3,Hangup + dnsmgr.conf: # It is very helpful to enable dnsmgr + [general] + enable=yes ; enable creation of managed DNS lookups + refreshinterval=300 ; refresh managed DNS lookups every seconds + + ##### END EXAMPLE @@ -1273,7 +1283,12 @@ exten => _56XXX,1,AgentCallbackLogin(||${EXTEN:1}@default) exten => _010*010*010*015*8600XXX,2,Hangup -10. Now that you have configured Asterisk, it is time to try to start it for the +10. edit dnsmgr.conf: # It is very helpful to enable dnsmgr + [general] + enable=yes ; enable creation of managed DNS lookups + refreshinterval=300 ; refresh managed DNS lookups every seconds + +11. Now that you have configured Asterisk, it is time to try to start it for the first time. - First make sure that your T1 line(or other telco line) is connected to the digium card.