git-svn-id: https://svn.code.sf.net/p/freetel/code@998 01035d8c-6547-0410-b346-abe4f9...
authorhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 17 Nov 2012 01:47:46 +0000 (01:47 +0000)
committerhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 17 Nov 2012 01:47:46 +0000 (01:47 +0000)
mini-asterisk-gui2/voiplines.js

index 1edf001630718d5f54faff9c92d31e3a5e46ebee..7a5f13f3a7c3b1993375b5ab06cd901ecc6842b5 100644 (file)
@@ -63,7 +63,7 @@ function initialisePage() {
        
        // sip info now loaded
 
-       if(sipregoline.indexOf(';') == 0) { 
+       if(siprego_line.indexOf(';') == 0) { 
                // commented out mean no rego selected
                selection = "none";
                document.getElementById('user').value = "";
@@ -71,7 +71,7 @@ function initialisePage() {
                document.getElementById('pass').value = "";
                document.getElementById('info').textContent = sipnone_info;
        } 
-       else if (sipregoline.indexOf(sipnat_user) != -1) {
+       else if (siprego.indexOf(sipnat_user) != -1) {
                // rego line has sipnat 
                selection = "sipnat";
                document.getElementById('user').value = sipnat_user;
@@ -79,7 +79,7 @@ function initialisePage() {
                document.getElementById('pass').value = sipnat_secret;
                document.getElementById('info').textContent = sipnat_info;
        }
-       else if (sipregoline.indexOf(sipnormal_user) != -1) {
+       else if (siprego.indexOf(sipnormal_user) != -1) {
                // rego line has sipnormal
                selection = "sipnormal";
                document.getElementById('user').value = sipnormal_user;
@@ -87,7 +87,7 @@ function initialisePage() {
                document.getElementById('pass').value = sipnormal_secret;
                document.getElementById('info').textContent = sipnormal_info;
        }
-       else if (sipregoline.indexOf(sipjazmin_user) != -1) {
+       else if (siprego.indexOf(sipjazmin_user) != -1) {
                // rego line has sipjazmin
                selection = "sipjazmin";
                document.getElementById('user').value = sipjazmin_user;