From 007f36d5e3276e13b81e6d79703e03816f20b98e Mon Sep 17 00:00:00 2001 From: horse69 Date: Sat, 27 Oct 2012 23:35:59 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/freetel/code@843 01035d8c-6547-0410-b346-abe4f91aad63 --- mini-asterisk-gui2/voiplines.html | 3 ++- mini-asterisk-gui2/voiplines.js | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/mini-asterisk-gui2/voiplines.html b/mini-asterisk-gui2/voiplines.html index 5c02d0ff..8739fea3 100644 --- a/mini-asterisk-gui2/voiplines.html +++ b/mini-asterisk-gui2/voiplines.html @@ -40,11 +40,12 @@ +
User: Password: Host: +   Voip Line Status:
-
  Sometimes it takes a few seconds to connect your Voip Line. After clicking OK refresh diff --git a/mini-asterisk-gui2/voiplines.js b/mini-asterisk-gui2/voiplines.js index 08b85b26..3ea29f84 100644 --- a/mini-asterisk-gui2/voiplines.js +++ b/mini-asterisk-gui2/voiplines.js @@ -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 } -- 2.25.1