git-svn-id: https://svn.code.sf.net/p/freetel/code@832 01035d8c-6547-0410-b346-abe4f9...
authorhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 27 Oct 2012 22:18:46 +0000 (22:18 +0000)
committerhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 27 Oct 2012 22:18:46 +0000 (22:18 +0000)
mini-asterisk-gui2/voiplines.html
mini-asterisk-gui2/voiplines.js

index c6f1686b797cf2db21a80a2a71a54c12c60ee024..b0141483d3fa563690126ca1116ac370bd1c1660 100644 (file)
@@ -42,6 +42,7 @@
       <tr id="tt_user"><td>User:</td><td><input type="text" name="user" id="user" value=""/></td></tr>
       <tr id="tt_pass"><td >Password:</td><td><input type="password" name="pass" id="pass" value=""/></td></tr>
       <tr id="tt_host"><td >Host:</td><td><input type="text" name="host" id="host" value=""/></td></tr>
+         <tr><td colspan="2">Voip Line Status:</td><td> </td><td><div id="voiplinestatus"></div></td></tr>
       <tr><td colspan="2">Sometimes it takes a few seconds to connect
                           your Voip Line.  After clicking OK refresh
                           your browser to update Voip Line status.
index f2c7d6424cf5c6e1e694b8c949afca65823b8542..20952725c917f2673bab33f24c0e1a1b9e9037e1 100644 (file)
@@ -21,7 +21,7 @@ function initialise() {
 function initialisePage() {
     // 
     
-    var icon = '<img src="tick.png" alt="Analog Phone OK" />';
/*   var icon = '<img src="tick.png" alt="Analog Phone OK" />';
     var html = '';
 
     html += '<table align="right" width=600>';
@@ -38,11 +38,14 @@ function initialisePage() {
     html += '</table>';
 
  //   document.getElementById("voiplines").innerHTML += html;
-
+*/
 }
 
 function onClickApply() {
 
+//take username, password and host. Insert to file. Restart sip.
+
+
 }