From: drowe67 Date: Sat, 16 Jan 2010 07:54:28 +0000 (+0000) Subject: first pass at update_version X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=b70c7ef6280cf579cfdb39b86ac4e51a4d215628;p=freetel-svn-tracking.git first pass at update_version git-svn-id: https://svn.code.sf.net/p/freetel/code@125 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/easy-asterisk-gui/README.txt b/easy-asterisk-gui/README.txt index 7daace52..72422a2c 100644 --- a/easy-asterisk-gui/README.txt +++ b/easy-asterisk-gui/README.txt @@ -9,9 +9,9 @@ tip documentation and a learning curve of a few minutes. Analog ports and IP Phones are automatically detected, and no knowledge of Asterisk configuration is required. -Easy Asterisk is "unfeatured" - many of the Asterisk features are -hidden by the GUI. Instead it tries to make very basic, very common -Asterisk installations fast and simple, for example: +Easy Asterisk is "unfeatured" - many of the Asterisk features are not +available. Instead it tries to make very basic, very common Asterisk +installations fast and simple, for example: * An Asterisk server running on your home gateway/firewall/server. You want to connect a few IP Phones and make cheap phones calls @@ -23,8 +23,23 @@ Asterisk installations fast and simple, for example: * A small office that already has an old analog phone system. You want to keep your current analog lines for incoming calls, but install 8 IP Phones and use VOIP for outgoing calls. You know - enough to set up a DSL router but don't want to rely on some phone - or computer guy at $100/hr to maintain your phone system. + enough to set up a DSL router but don't want to rely on "the Phone + Guy" or "The Coumputer Guy" at $100/hr to maintain your phone + system. + +* You are a "Phone Guy" who doesn't understand Linux and Asterisk but + you want to install IP-PBXes. + +Status +------ + +Alpha. + +* Works on IP0X +* Not tested on x86. Several IP0X features are n/a for x86 and should be + disbaled when the x86 (or non-IP0X) platform is detected. +* Needs feedback from real users to see how useful the concept is and what + features need to be added. Implementation -------------- @@ -35,10 +50,11 @@ hardware but will also run on x86 and probably many other platforms. Easy Asterisk does not require a dedicated PC, you do not need to reformat a hard disk and install an ISO CD image. -It is implemented as a set of CGI scripts (shell, perl, java-script) -and pre-configured extensions.conf and sip.conf files. Only a basic -web server and microperl support are required, making it suitable for -small embedded platforms. No Perl libraries or CPAN are required. +It is implemented as a set of CGI scripts (shell, perl, client side +java-script) and pre-configured extensions.conf and sip.conf files. +Only a basic web server and microperl support are required, making it +suitable for small embedded platforms. No Perl libraries or CPAN are +required. Easy Asterisk is "unfeatured" - it hides many of the advanced Asterisk features in the interest of simple and fast configuration. However @@ -62,9 +78,10 @@ analog hardware. On the IP0X this happens automatically. Installation ------------ -Note: this process will overwrite your Asterisk extensions.conf and +Note: this process may overwrite your Asterisk extensions.conf and sip.conf files - back them up if you have an existing Asterisk -installation that you want to keep. +installation that you want to keep. The IP0X ipkg does attempt to +backup the modified conf files to *.bak but no guarantees.... However once easy-asterisk is installed it should honor any manual changes made to extensions.conf and sip.conf. @@ -77,7 +94,6 @@ IP0X Installation ------------------------------------------------------------------- root~> ipkg install easy-asterisk - root~> reboot ------------------------------------------------------------------- x86 Installation @@ -86,7 +102,8 @@ x86 Installation 1. You need a web server, Asterisk and some sort of Perl installed (very basic Perl installation is fine). Configure your web server to run CGIs (.sh and .pl) from /www (lighttpd config instructions - below). + below). Easy Asterisk expects all files (shell, perl, html etc) to + be in the same directory. The process below places the web files in /www, you may like to place the files somewhere else like /www/asterisk. One of the @@ -95,9 +112,13 @@ x86 Installation 2. Login as root to install the Easy Asterisk files: + Remember to backup your existing extensions.conf & sip.conf in + /etc/asterisk + ------------------------------------------------------------------- # cd ~ # svn co https://freetel.svn.sourceforge.net/svnroot/freetel/easy-asterisk-gui + # ./update_revision.sh # cp easy-asterisk-gui/etc/asterisk/* /etc/asterisk # cp easy-asterisk-gui/cgi-bin/* /www # cd /etc/asterisk diff --git a/easy-asterisk-gui/cgi-bin/about.sh b/easy-asterisk-gui/cgi-bin/about.sh index f0e18ae3..2d804ec7 100644 --- a/easy-asterisk-gui/cgi-bin/about.sh +++ b/easy-asterisk-gui/cgi-bin/about.sh @@ -40,7 +40,7 @@ cat <

About

EOF -echo ' Easy Asterisk $Revision: 122 $ ' | sed -n 's/\$//pg' +echo ' Easy Asterisk Revision: 122 ' echo '  ' echo ' Brought to you by the Free Telephony Project' echo ' ' diff --git a/easy-asterisk-gui/update_version.sh b/easy-asterisk-gui/update_version.sh new file mode 100644 index 00000000..a3ddab9a --- /dev/null +++ b/easy-asterisk-gui/update_version.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# update_revision.sh +# +# Sets correct Revision number in the about screen. Good idea to +# run this before installing + +ver=`svn info | grep Revision` +sed -i "s/Revision: ([0-9]*)/$ver/" $(EASY_SITE)/cgi-bin/about.sh