Changeset 14

Show
Ignore:
Timestamp:
10/15/04 10:42:50 (8 years ago)
Author:
rcourtna
Message:

*** empty log message ***

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/AMP/INSTALL

    r13 r14  
    1212  httpd (Apache) 
    1313  mysql 
     14  mysql-devel 
    1415  mysql-server 
    1516  php 
    1617  php-mysql 
    1718  openssl 
     19  openssl-devel 
    1820  kernel-source 
     21  perl 
     22  perl-CPAN 
     23  cvs 
     24  bison 
    1925 
    2026### Perl module Net::Telnet is required: 
     
    2228   perl -MCPAN -e "install Net::Telnet" 
    2329 
    24 ### 
    25 Download the latest AMP files from CVS: 
    26  
    27   - cd /usr/src 
    28   - cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/amportal login   [null password] 
    29   - cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/amportal co AMP 
    30    
    31    
    3230###    
    3331Some 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. 
     
    6058  - install it 
    6159 
     60### 
     61Download the latest AMP files from CVS: 
     62(alternatively, download the tarball and extract to /usr/src) 
     63 
     64  - cd /usr/src 
     65  - cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/amportal login   [null password] 
     66  - cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/amportal co AMP 
    6267 
    6368### 
     
    102107    - cp app_rxfax.c /usr/src/asterisk/apps/ 
    103108    - cp app_txfax.c /usr/src/asterisk/apps/ 
    104     - cp Makefile.patch /usr/src/asterisk/apps/ 
     109    - cp apps_makefile.patch /usr/src/asterisk/apps/ 
    105110 
    106111  - cd /usr/src/asterisk/apps 
    107   - patch < Makefile.patch 
     112  - patch < apps_makefile.patch 
    108113 
    109114     
     
    118123Building Asterisk and configuring it to run as a non-root user 
    119124 
    120   - Edit /usr/src/asterisk/Makefile such that
     125  - Edit /usr/src/asterisk/Makefile such that (~ line 122)
    121126 
    122127    ASTVARRUNDIR=$(INSTALL_PREFIX)/var/run/asterisk 
     
    172177### 
    173178Copy in all necessary Asterisk configuration files 
     179**Note - this script can be used to upgrade your configuration with newer verions of AMP 
    174180 
    175181  - cd /usr/src/AMP 
     
    278284   
    279285### 
    280 Start httpd and asterisk 
     286Start everything: 
    281287 
    282288  - As root run: 
     
    284290    service httpd start 
    285291 
    286   - As asterisk run: 
    287  
    288     safe_asterisk 
     292  - As root run: 
     293 
     294    su asterisk -c "export PATH=$PATH:/usr/sbin && export LD_LIBRARY_PATH=/usr/local/lib && /usr/sbin/safe_asterisk" 
     295     
     296  - As root run: 
     297   
     298    cd /var/www/html/panel; su asterisk -c /var/www/html/panel/safe_opserver & 
    289299 
    290300  - Point your browser to: 
    291301 
    292     http://[ip address]/admin 
    293  
    294  
     302    http://[ip address] 
     303 
     304 
  • trunk/AMP/SQL/newinstall.sql

    r4 r14  
    2828 
    2929INSERT INTO `admin` VALUES ('need_reload', 'false'); 
    30 INSERT INTO `admin` VALUES ('version','1.10RC2.0002'); 
     30INSERT INTO `admin` VALUES ('version','1.10.0002'); 
    3131-- -------------------------------------------------------- 
    3232 
  • trunk/AMP/amp_conf/astetc/vm_email.inc.template

    r8 r14  
    11; Change the email body, variables: VM_NAME, VM_DUR, VM_MSGNUM, VM_MAILBOX, VM_CALLERID, VM_DATE 
    22 
    3 emailbody=${VM_NAME},\n\nThere is a new voicemail in mailbox ${VM_MAILBOX}:\n\n\tFrom:\t${VM_CALLERID}\n\tLength:\t${VM_DUR} seconds\n\tDate:\t${VM_DATE}\n\nDial *98 to access your voicemail by phone.\nVisit http://courtnage.dyndns.org/cgi-bin/vmail.cgi?box=${VM_MAILBOX} to manage your voicemail with a web browser.\n 
     3emailbody=${VM_NAME},\n\nThere is a new voicemail in mailbox ${VM_MAILBOX}:\n\n\tFrom:\t${VM_CALLERID}\n\tLength:\t${VM_DUR} seconds\n\tDate:\t${VM_DATE}\n\nDial *98 to access your voicemail by phone.\nVisit http://192.168.1.101/cgi-bin/vmail.cgi?box=${VM_MAILBOX} to manage your voicemail with a web browser.\n 
    44 
    55 
  • trunk/AMP/amp_conf/htdocs/admin/cdr/lib/defines.php.template

    r7 r14  
    11<?php 
    22 
    3 define ("WEBROOT", "http://courtnage.dyndns.org/admin/cdr/"); 
     3define ("WEBROOT", "http://192.168.1.101/admin/cdr/"); 
    44define ("FSROOT", "/var/www/html/admin/cdr/"); 
    55 
  • trunk/AMP2-UseAmportal/INSTALL

    r13 r14  
    1212  httpd (Apache) 
    1313  mysql 
     14  mysql-devel 
    1415  mysql-server 
    1516  php 
    1617  php-mysql 
    1718  openssl 
     19  openssl-devel 
    1820  kernel-source 
     21  perl 
     22  perl-CPAN 
     23  cvs 
     24  bison 
    1925 
    2026### Perl module Net::Telnet is required: 
     
    2228   perl -MCPAN -e "install Net::Telnet" 
    2329 
    24 ### 
    25 Download the latest AMP files from CVS: 
    26  
    27   - cd /usr/src 
    28   - cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/amportal login   [null password] 
    29   - cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/amportal co AMP 
    30    
    31    
    3230###    
    3331Some 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. 
     
    6058  - install it 
    6159 
     60### 
     61Download the latest AMP files from CVS: 
     62(alternatively, download the tarball and extract to /usr/src) 
     63 
     64  - cd /usr/src 
     65  - cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/amportal login   [null password] 
     66  - cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/amportal co AMP 
    6267 
    6368### 
     
    102107    - cp app_rxfax.c /usr/src/asterisk/apps/ 
    103108    - cp app_txfax.c /usr/src/asterisk/apps/ 
    104     - cp Makefile.patch /usr/src/asterisk/apps/ 
     109    - cp apps_makefile.patch /usr/src/asterisk/apps/ 
    105110 
    106111  - cd /usr/src/asterisk/apps 
    107   - patch < Makefile.patch 
     112  - patch < apps_makefile.patch 
    108113 
    109114     
     
    118123Building Asterisk and configuring it to run as a non-root user 
    119124 
    120   - Edit /usr/src/asterisk/Makefile such that
     125  - Edit /usr/src/asterisk/Makefile such that (~ line 122)
    121126 
    122127    ASTVARRUNDIR=$(INSTALL_PREFIX)/var/run/asterisk 
     
    172177### 
    173178Copy in all necessary Asterisk configuration files 
     179**Note - this script can be used to upgrade your configuration with newer verions of AMP 
    174180 
    175181  - cd /usr/src/AMP 
     
    278284   
    279285### 
    280 Start httpd and asterisk 
     286Start everything: 
    281287 
    282288  - As root run: 
     
    284290    service httpd start 
    285291 
    286   - As asterisk run: 
    287  
    288     safe_asterisk 
     292  - As root run: 
     293 
     294    su asterisk -c "export PATH=$PATH:/usr/sbin && export LD_LIBRARY_PATH=/usr/local/lib && /usr/sbin/safe_asterisk" 
     295     
     296  - As root run: 
     297   
     298    cd /var/www/html/panel; su asterisk -c /var/www/html/panel/safe_opserver & 
    289299 
    290300  - Point your browser to: 
    291301 
    292     http://[ip address]/admin 
    293  
    294  
     302    http://[ip address] 
     303 
     304 
  • trunk/AMP2-UseAmportal/SQL/newinstall.sql

    r4 r14  
    2828 
    2929INSERT INTO `admin` VALUES ('need_reload', 'false'); 
    30 INSERT INTO `admin` VALUES ('version','1.10RC2.0002'); 
     30INSERT INTO `admin` VALUES ('version','1.10.0002'); 
    3131-- -------------------------------------------------------- 
    3232 
  • trunk/AMP2-UseAmportal/amp_conf/etc/asterisk/vm_email.inc.template

    r7 r14  
    11; Change the email body, variables: VM_NAME, VM_DUR, VM_MSGNUM, VM_MAILBOX, VM_CALLERID, VM_DATE 
    22 
    3 emailbody=${VM_NAME},\n\nThere is a new voicemail in mailbox ${VM_MAILBOX}:\n\n\tFrom:\t${VM_CALLERID}\n\tLength:\t${VM_DUR} seconds\n\tDate:\t${VM_DATE}\n\nDial *98 to access your voicemail by phone.\nVisit http://courtnage.dyndns.org/cgi-bin/vmail.cgi?box=${VM_MAILBOX} to manage your voicemail with a web browser.\n 
     3emailbody=${VM_NAME},\n\nThere is a new voicemail in mailbox ${VM_MAILBOX}:\n\n\tFrom:\t${VM_CALLERID}\n\tLength:\t${VM_DUR} seconds\n\tDate:\t${VM_DATE}\n\nDial *98 to access your voicemail by phone.\nVisit http://192.168.1.101/cgi-bin/vmail.cgi?box=${VM_MAILBOX} to manage your voicemail with a web browser.\n 
    44 
    55 
  • trunk/AMP2-UseAmportal/amp_conf/var/lib/asterisk/agi-bin/dialparties.agi

    r7 r14  
    1212# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1313# GNU General Public License for more details. 
     14# 
     15# Amended by Coalescent Systems Inc. Sept, 2004 
     16# to include support for DND, Call Waiting, and CF to external trunk 
     17# info@coalescentsystems.ca 
    1418 
    1519use Asterisk::AGI; 
  • trunk/AMP2-UseAmportal/amp_conf/var/www/html/admin/cdr/lib/defines.php.template

    r7 r14  
    11<?php 
    22 
    3 define ("WEBROOT", "http://courtnage.dyndns.org/admin/cdr/"); 
     3define ("WEBROOT", "http://192.168.1.101/admin/cdr/"); 
    44define ("FSROOT", "/var/www/html/admin/cdr/"); 
    55