git-svn-id: https://svn.code.sf.net/p/freetel/code@683 01035d8c-6547-0410-b346-abe4f9...
authorhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Thu, 13 Sep 2012 00:12:37 +0000 (00:12 +0000)
committerhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Thu, 13 Sep 2012 00:12:37 +0000 (00:12 +0000)
mini-asterisk-gui2/devel notes.txt
mini-asterisk-gui2/install notes.txt
mini-asterisk-gui2/install_gui2.sh

index 8bebcc65c7cdab12149d99cec7775adccb6ff538..32ecf1e3c9fc7f2f8a95251bf3059fbc565ae20c 100644 (file)
@@ -5,9 +5,10 @@ Sept 2012
 
 IP04 Environment
 
-       ssh root@192.168.1.30
+       telnet root@192.168.1.30
        ipkg install dropbear           (for ssh access to ip04)
        ipkg install fping 
+       ssh root@192.168.1.30
        url:   192.168.1.30
 
 
@@ -22,7 +23,7 @@ Packages
        lighttpd        minimal webserver
        asterisk-1.4.11 when testing code around asterisk -r calls
                        needs to be installed (we need access to the conf files)
-                       but doesn't have to be running.
+                       but doesn't have to be running unless testing sip stuff
 
 Source code
 
@@ -47,6 +48,7 @@ Asterisk Install
        see x86 instructions at http://www.rowetel.com/blog/?page_id=455
 
        IP04 runs 1.4.4-1 (2007) with zaptel-sport 1.4.3-2 on a 2.6.19-3 kernel (2006).
+
        You can ipkg install asterisk-1.4.20 (2008)
 
        Asterisk 1.4.22 (2008) changed from using zaptel-sport to dahdi.
index f13c95ff28ace5adf053f8024d3cebe383a1ef87..c62a67d60b8b59a0551e340aaefc9a95b5cfa46f 100644 (file)
@@ -2,18 +2,23 @@ IP04 GUI2 Install notes
 Ian Roberts 
 Sept 2012
 
+* I now have a script which automates this stuff
+See install_gui2.sh
+
 0. ipkg install fping
    ipkg install dropbear
    ipkg install ntp
 
-1. Uncomment cgi support in /etc/lighttpd.conf 
+1. Uncomment cgi support in /etc/lighttpd.conf and restart
 
-2. Add "; mini_ext" tags to files
+2. Add "; mini_ext" tags to 6000 numbers in
    /etc/asterisk/extensions.conf
    /etc/asterisk/extensions.conf.def
 
-3. copy main files to /www/mini-asterisk-gui2
+3. copy main files to /www/gui2
+   i want to leave the original gui intact while developing
 
 4. copy cgi-bin scripts into /www/cgi-bin
 
-5. point lighttpd at /www/mini-asterisk-gui2
+
+ point browser at 192.168.1.30/gui2/phones.html
index 386811fb8a340f774669e0e5ee9914b7b73d71d2..1ffa742afe318e34dd750832f799500b83aaf9d8 100755 (executable)
@@ -1,14 +1,15 @@
 # Script to install GUI2 to IP04
+# (Original gui left intact)
 # Developement Edition
 # Ian Roberts
 # Sept 2012
 
 # check we are on an IP0x box
-echo "must be root directory on IP04"
+echo "must be root directory on IP0x"
 echo ""
 
 
-# remove old copy
+# remove old copy if exists
 
 rm gui2.tar.gz
 
@@ -34,6 +35,7 @@ tar zxvf gui2.tar.gz
 
 
 #create directories if required
+
 mkdir /www/gui2
 mkdir /www/cgi-bin
 
@@ -46,6 +48,7 @@ cp mini-asterisk-gui2/*.css /www/gui2
 
 
 # copy cgi to /www/cgi-bin
+
 cp mini-asterisk-gui2/cgi-bin/*.* /www/cgi-bin
 
 
@@ -56,6 +59,7 @@ ipkg install fping
 # check extension.conf 60xx lines have mini_ext tags
 
 
+# check lighttpd installed
 # check cgi support in lighttpd
 
 #Uncomment cgi support in /etc/lighttpd.conf