git-svn-id: https://svn.code.sf.net/p/freetel/code@1010 01035d8c-6547-0410-b346-abe4f...
authorhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 17 Nov 2012 06:16:12 +0000 (06:16 +0000)
committerhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 17 Nov 2012 06:16:12 +0000 (06:16 +0000)
mini-asterisk-gui2/voiplines.js

index aafa1e06ab0ebf68847109f8100733ecceb08705..816bf9c1334e53c2012089fc65ba750575208d32 100644 (file)
@@ -473,19 +473,19 @@ function changeProvider() {
                document.getElementById('pass').value = "";
                document.getElementById('info').textContent = sipnone_info;
                
-       } else if (selection == "sipnat" ) {
+       } else if (sell == "sipnat" ) {
                // fill sipnat
                document.getElementById('user').value = sipnat_user;
                document.getElementById('host').value = sipnat_host;
                document.getElementById('pass').value = sipnat_secret;
                document.getElementById('info').textContent = sipnat_info;
-       } else if (selection == "sipnormal" ) {
+       } else if (sell == "sipnormal" ) {
            // fill sipnormal
                document.getElementById('user').value = sipnormal_user;
                document.getElementById('host').value = sipnormal_host;
                document.getElementById('pass').value = sipnormal_secret;               
                document.getElementById('info').textContent = sipnormal_info;
-       } else if (selection == "jazmin" ) {
+       } else if (sell == "jazmin" ) {
                // fill sipjazmin
                document.getElementById('user').value = sipjazmin_user;
                document.getElementById('host').value = sipjazmin_host;