Changeset 1024

Show
Ignore:
Timestamp:
03/06/06 11:31:34 (6 years ago)
Author:
rcourtna
Message:

default admin user is admin/admin. Update INSTALL and CHANGES docs.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freepbx/CHANGES

    r1000 r1024  
    1111- Queue Static Agents can have penalties applied 
    1212- Using native music on hold support - no more mpg123!! 
     13- Default is to use freePBX database authentication.  New installs create a new user. 
    1314 
    14151.10.010 
  • trunk/freepbx/INSTALL

    r802 r1024  
    4848### 
    4949Download asterisk-perl from http://asterisk.gnuinter.net and install it 
    50  
    51 ###    
    52 Some linux distros have replaced the mpg123 application with another application, mpg321, and created a symbolic link to "mpg123", so it seems to work in the same way. Asterisk MusicOnHold only works with original mpg123. 
    53  
    54   Remove the mpg321 package installed by your distro,  
    55   or 
    56   Remove the symbolic links mpg123 located in /usr/bin and /usr/local/bin: 
    57   - rm /usr/bin/mpg123 
    58   - rm /usr/local/bin/mpg123  
    59    
    60   Then install mpg123 from http://www.mpg123.de 
    6150   
    6251### 
     
    6857  - vi +14 /etc/httpd/conf.d/php.conf (if you have it) 
    6958    LimitRequestBody 20000000 
    70      
    71   - might also need to set register_globals = on in the php.ini for displaying CDR logs in 
    72     the AMP interface 
    7359 
    7460### 
    7561Download the latest AMP files: 
    7662 
    77   - download the latest AMP tarball to /usr/src 
    78   - tar -zxvf AMP<version>.tar.gz 
    79  
    80 ### 
    81 Getting Asterisk and Zaptel from CVS or download the latest Asterisk and Zaptel source archives 
    82 (AMP uses the v1.0 branch) 
     63  - download the latest freePBX tarball to /usr/src 
     64  - tar -zxvf freepbx<version>.tar.gz 
     65 
     66### 
     67Getting Asterisk and Zaptel from SVN or download the latest Asterisk and Zaptel source archives 
     68(freePBX uses the v2.0 branch) 
    8369 
    8470  - cd /usr/src 
    85   - export CVS_RSH= 
    86   - export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot 
    87   - cvs login      (the password is: anoncvs) 
    88   - cvs checkout -r v1-0 zaptel libpri asterisk asterisk-addons asterisk-sounds 
    89  
    90 (As of 2005-11-02, AMP 010 has been tested with Asterisk 1.2 beta1) 
     71  - svn checkout http://svn.digium.com/svn/asterisk/branches/1.2 asterisk-1.2 
     72  - svn checkout http://svn.digium.com/svn/zaptel/branches/1.2 zaptel-1.2 
     73  - svn checkout http://svn.digium.com/svn/libpri/branches/1.2 libpri-1.2 
    9174 
    9275### 
     
    180163Run the "install" script to install all the AMP files:   
    181164 
    182   - /usr/src/AMP/install_amp 
    183    
    184 ### 
    185 Configure Flash Operator Panel for your zap channels: 
    186    
    187   - Modify lines 21+ of /var/www/html/admin/retrieve_op_conf_from_mysql.pl to reflect the number of zap channels you have 
    188      
    189  
     165  - /usr/src/freePBX/install_amp 
     166   
    190167### 
    191168Configure zaptel driver: 
     
    217194  of the zaptel module(s) not loaded yet. 
    218195 
    219  
    220  
    221         Detailed information with regard to Asterisk's configuration files can be found here: 
     196  Detailed information with regard to Asterisk's configuration files can be found here: 
    222197  http://voip-info.org/wiki-Asterisk+config+files 
    223198 
     
    231206  [channels] 
    232207  language=en 
     208  #include zapata_additional.conf 
    233209  context=from-pstn 
    234210  signalling=fxs_ks 
     
    249225  [channels] 
    250226  language=en 
     227  #include zapata_additional.conf 
    251228  context=from-pstn 
    252229  switchtype=national 
     
    278255    Group asterisk 
    279256     
    280   - If you wish to secure your AMP admin directory: 
    281    
    282     (change "/var/www/html" to reflect your web root): 
    283      
    284     #Password protect AMP admin   
    285     <Directory /var/www/html/admin> 
    286     AuthType Basic 
    287     AuthName "Restricted Area" 
    288     AuthUserFile /usr/local/apache/passwd/wwwpasswd 
    289     Require user wwwadmin 
    290     </Directory> 
    291  
    292     - and create the wwwpasswd file: 
    293  
    294     mkdir /usr/local/apache 
    295     mkdir /usr/local/apache/passwd 
    296     htpasswd -c /usr/local/apache/passwd/wwwpasswd wwwadmin 
    297  
    298257### 
    299258Amportal Control Script 
    300259 
    301   Version 1.10.004 of AMP provided a new control script. The functionality of which is to start, 
    302   stop or kill services in the AMP environment, or to set permissions on directories/files in the 
    303   AMP environment: 
     260  FreePBX's amportal control script starts, stops or kills services in the AMP environment, and sets permissions on directories/files in the 
     261  FreePBX environment: 
    304262 
    305263  [root@pbx root]# amportal 
     
    371329  - Point your browser to: 
    372330 
    373     http://[ip address] 
     331    http://[ip address]  (default login is admin/admin) 
    374332 
    375333If you notice any errors or updates that are needed to this document, please e-mail: 
  • trunk/freepbx/SQL/newinstall.sql

    r883 r1024  
    133133) TYPE=MyISAM; 
    134134 
    135  
     135INSERT INTO ampusers (username, password, extension_low, extension_high, deptname, sections) VALUES  
     136 ('admin','admin','','','','*'); 
     137  
    136138--  
    137139-- Table structure for table `iax` 
  • trunk/freepbx/SQL/newinstall.sqlite.sql

    r1004 r1024  
    133133) ; 
    134134 
     135INSERT INTO ampusers (username, password, extension_low, extension_high, deptname, sections) VALUES  
     136 ('admin','admin','','','','*'); 
    135137 
    136138--