git-svn-id: https://svn.code.sf.net/p/freetel/code@717 01035d8c-6547-0410-b346-abe4f9...
authorhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Mon, 17 Sep 2012 21:47:05 +0000 (21:47 +0000)
committerhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Mon, 17 Sep 2012 21:47:05 +0000 (21:47 +0000)
mini-asterisk-gui2/install_gui2.sh
mini-asterisk-gui2/todo notes

index 1ffa742afe318e34dd750832f799500b83aaf9d8..8abaf7bf5b283691c88abae8e581ba2b7b3bf405 100755 (executable)
@@ -1,5 +1,6 @@
 # Script to install GUI2 to IP04
-# (Original gui left intact)
+# Original gui left intact
+# New gui at 192.168.1.30/gui2/phones.html
 # Developement Edition
 # Ian Roberts
 # Sept 2012
@@ -7,7 +8,7 @@
 # check we are on an IP0x box
 echo "must be root directory on IP0x"
 echo ""
-
+cd /
 
 # remove old copy if exists
 
@@ -56,14 +57,23 @@ cp mini-asterisk-gui2/cgi-bin/*.* /www/cgi-bin
 
 ipkg install fping
 
+
 # check extension.conf 60xx lines have mini_ext tags
 
+cp mini-asterisk-gui2/etc/asterisk/extensions.conf /etc/asterisk/extensions.conf
 
 # check lighttpd installed
 # check cgi support in lighttpd
 
-#Uncomment cgi support in /etc/lighttpd.conf 
-#Restart lighttpd
+cp mini-asterisk-gui2/etc/lighttpd.conf /etc/lighttpd.conf
+
+# webserver index should point browser at gui2 login
+
+# restart the http server
+/etc/init.d/lighttpd stop
+/etc/init.d/lighttpd start
+
+
 echo ""
 echo "Point your browser at 192.168.1.30/gui2/phones.html"
 
index 5ccf59825de4ff244482e2801aa8185ab27fbb8b..1e0b00a735a326831564cdb9f4988ec8721ce4bf 100644 (file)
@@ -17,6 +17,8 @@ http://svn.astfin.org/software/baps/trunk/mini-asterisk-gui.mk
         2. Uncomment s_#cgi.assign.*_cgi.assign
         3. Add in end bracket
        then /etc/init.d/lighttpd restart
+       
+       kiss. just copy the corrected conf file from the sourceforge archive.
 
 2.  install script fix :add mini_ext comments to 60xx numbers 
 ------------------------------------------