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
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
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.
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
# 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
#create directories if required
+
mkdir /www/gui2
mkdir /www/cgi-bin
# copy cgi to /www/cgi-bin
+
cp mini-asterisk-gui2/cgi-bin/*.* /www/cgi-bin
# check extension.conf 60xx lines have mini_ext tags
+# check lighttpd installed
# check cgi support in lighttpd
#Uncomment cgi support in /etc/lighttpd.conf