first pass at update_version
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 16 Jan 2010 07:54:28 +0000 (07:54 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 16 Jan 2010 07:54:28 +0000 (07:54 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@125 01035d8c-6547-0410-b346-abe4f91aad63

easy-asterisk-gui/README.txt
easy-asterisk-gui/cgi-bin/about.sh
easy-asterisk-gui/update_version.sh [new file with mode: 0644]

index 7daace52a020f369d1647acd92076f105a7cf837..72422a2c39a9234e8812a46f4ee061d5df8d698a 100644 (file)
@@ -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
index f0e18ae336961a6d39a5ded816c277e69faa7299..2d804ec7dfd624c3fdc5fc7b6b10af362e374809 100644 (file)
@@ -40,7 +40,7 @@ cat <<EOF
     <table align="right" width=600>
       <tr><td align="left" valign="top"><h2>About</h2></td></tr>
 EOF
-echo '      <tr><td><strong>Easy Asterisk</strong> $Revision: 122 $</td></tr> ' | sed -n 's/\$//pg'
+echo '      <tr><td><strong>Easy Asterisk</strong> Revision: 122 </td></tr> '
 echo '      <tr><td>&nbsp;</td></tr>'
 echo '      <tr><td>Brought to you by the <a href="http://rowetel.com/ucasterisk/index.html">Free Telephony Project</a></td></tr>'
 echo '      <tr><td><a href="http://rowetel.com/ucasterisk/ip04.html"><img src="http://rowetel.com/images/ip04/ip04_case.jpg" border="0" /></a></td></tr>'
diff --git a/easy-asterisk-gui/update_version.sh b/easy-asterisk-gui/update_version.sh
new file mode 100644 (file)
index 0000000..a3ddab9
--- /dev/null
@@ -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