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

index 5c02d0ffcc41bbadb27d791f6e429bf382756b6e..8739fea3370756a77dacf02d54ab152341a42852 100644 (file)
              <option value="JAZMIN">Jazmin</option>
         </select>
          </td></tr>
+      <tr><td> </td><td><div id=info></div> </td></tr>
       <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>&nbsp;</td></tr>
          <tr><td colspan="2">Voip Line Status:</td><td> </td><td><div id="voiplinestatus"></div></td></tr>
-      <tr><td colspan="2"><div id=info></div> </td></tr>
       <tr><td>&nbsp;</td></tr>
       <tr><td colspan="2">Sometimes it takes a few seconds to connect
                           your Voip Line.  After clicking OK refresh
index 08b85b263e813fdcbc5c2b27a6ae094d3de20146..3ea29f84e7232db75ff209720c19da183f313e01 100644 (file)
@@ -67,16 +67,19 @@ function changeProvider() {
                document.getElementById('user').value = "sipnat";
                document.getElementById('host').value = "sipnathost";
                document.getElementById('pass').value = "xxxxxx";
+               document.getElementById('info').textContent = "You reach your ITSP via a NAT router ...most common";
        } else if (selection == "SIP" ) {
            // fill sip
                document.getElementById('user').value = "sip";
                document.getElementById('host').value = "siphost";
                document.getElementById('pass').value = "xxxxxx";               
+               document.getElementById('info').textContent = "No NAT router between your Phone system and your ITSP";
        } else if (selection == "JAZMIN" ) {
                // fill jazmin
                document.getElementById('user').value = "jazmin";
                document.getElementById('host').value = "jazminhost";
                document.getElementById('pass').value = "xxxxxx";               
+               document.getElementById('info').textContent = "Jazmin are a South Australian ITSP";
        } else {
                // something weird happened
        }