git-svn-id: https://svn.code.sf.net/p/freetel/code@678 01035d8c-6547-0410-b346-abe4f9...
authorhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Tue, 11 Sep 2012 23:37:50 +0000 (23:37 +0000)
committerhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Tue, 11 Sep 2012 23:37:50 +0000 (23:37 +0000)
mini-asterisk-gui2/admin.js
mini-asterisk-gui2/devel notes.txt
mini-asterisk-gui2/install notes.txt

index 76a8ccad705d1b7681d1d1e2de602cbfd68b6155..b64259c6fad4516acdf27073145057b5483eee14 100644 (file)
@@ -73,7 +73,7 @@ function onClickUpgrade() {
 
 function onClickReset() {
 
-       downloadUrl("/cgi-bin/reset.cgi",OnResetReturn);
+       downloadUrl("/cgi-bin/reset.cgi?arg=",OnResetReturn);
 
 //      if not x86 (developement environment)
 //     cp /etc/asterisk/extensions.conf.def /etc/asterisk/extensions.conf
@@ -86,7 +86,7 @@ function onClickReset() {
 
 function onClickRestart() {
 
-       downloadUrl("/cgi-bin/restart.cgi",OnRestartReturn);
+       downloadUrl("/cgi-bin/restart.cgi?arg=",OnRestartReturn);
 
 //      if not x86 (developement environment)
 //          reboot
index 0baca8f25b852e10c1a320c8d71fb75b04a361b5..8bebcc65c7cdab12149d99cec7775adccb6ff538 100644 (file)
@@ -154,8 +154,72 @@ Bad line/Bad HW detection
 
 
 ntp page
-       look at compiling ntp into an installable package.
+       ipkg install ntp
        setting times.
+       Configuring ntp?
+
+       root:~> ipkg files ntp
+       Package ntp (4.1.1-1) is installed on root and has the following files:
+       /bin/ntpd
+       /bin/ntpdate
+       /etc/init.d/ntp
+       /usr/doc/ntp.txt
+
+        NOTES:
+
+        1. Set the /etc/TZ file for your timezone
+
+        2. The TZ env variable in your shell will set the current
+           time zone.  This gets set automatically via /etc/profile
+           for console and ssh logins, but for some reason it is not
+           set in telnet logins (maybe because they currently don't
+           have a proper login).
+
+        3. List of magic TZ codes here (thanks Mike Taht):
+               http://wiki.openwrt.org/OpenWrtDocs/Configuration
+               (search on TZ)
+
+        4. It's a really good idea to install the login ipkg (ipkg install
+           login), otherwise TZ doesn't get set correctly at the start of
+           each telnet session.  Without login TZ gets set only on the
+           serial console and ssh logins.
+
+       http://souptonuts.sourceforge.net/readme_working_with_time.html
+
+            Hours From Greenwich Mean Time (GMT) Value            
+                                                                   
+             0 GMT Greenwich Mean Time                             
+             +1   ECT   European Central Time                      
+             +2   EET   European Eastern Time                      
+             +2   ART                                              
+             +3   EAT   Saudi Arabia                               
+             +3.5 MET   Iran                                       
+             +4   NET                                              
+             +5   PLT   West Asia                                  
+             +5.5 IST   India                                      
+             +6   BST   Central Asia                               
+             +7   VST   Bangkok                                    
+             +8   CTT   China                                      
+             +9   JST   Japan                                      
+             +9.5 ACT   Central Australia                          
+             +10  AET   Eastern Australia                          
+             +11  SST   Central Pacific                            
+             +12  NST   New Zealand                                
+             -11  MIT   Samoa                                      
+             -10  HST   Hawaii                                     
+             -9   AST   Alaska                                     
+             -8   PST   Pacific Standard Time                      
+             -7   PNT   Arizona                                    
+             -7   MST   Mountain Standard Time                     
+             -6   CST   Central Standard Time                      
+             -5   EST   Eastern Standard Time                      
+             -5   IET   Indiana East                               
+             -4   PRT   Atlantic Standard Time                     
+             -3.5 CNT   Newfoundland                               
+             -3   AGT   Eastern South America                      
+             -3   BET   Eastern South America                      
+             -1   CAT   Azores                                     
+
 
 
 Simple autoattendant
index b8f73cb7d4e47846cd23a64f723974914e327d47..f13c95ff28ace5adf053f8024d3cebe383a1ef87 100644 (file)
@@ -3,7 +3,8 @@ Ian Roberts
 Sept 2012
 
 0. ipkg install fping
-   ipkg install dropbear 
+   ipkg install dropbear
+   ipkg install ntp
 
 1. Uncomment cgi support in /etc/lighttpd.conf