git-svn-id: https://svn.code.sf.net/p/freetel/code@880 01035d8c-6547-0410-b346-abe4f9...
authorhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Mon, 29 Oct 2012 02:24:07 +0000 (02:24 +0000)
committerhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Mon, 29 Oct 2012 02:24:07 +0000 (02:24 +0000)
mini-asterisk-gui2/voiplines.js

index 8d698fa20a4b037f8c3af70bf69476445412ba3b..3ef8a18db096da9be534f47db4c677eb1175c33f 100644 (file)
@@ -126,9 +126,9 @@ function registerReturn(doc,status) {
        }
        );
        
-       //          username=usersip                     username=trev
+       //   username=usersip                     username=trev
     //   need to switch keywords based on selection
-       var url = '/cgi-bin/setlinekey.cgi?file=/etc/asterisk/sip.conf&this=usersip&that=' 
+       var url = '/cgi-bin/setlinekey.cgi?file=/etc/asterisk/sip.conf&this=username&that=' 
                        + document.getElementById('user').value 
                        + '&key='+ selection + '-mini-asterisk';
 
@@ -141,7 +141,7 @@ function usernameReturn(doc,status) {
        }
        );
        
-       //          secret=passwordsip                   secret=password
+       //   secret=passwordsip                   secret=password
     //   need to switch keywords based on selection
        var url = '/cgi-bin/setword.cgi?file=/etc/asterisk/sip.conf&this=passwordsip&that=' + document.getElementById('pass').value ;
 
@@ -154,7 +154,7 @@ function passwordReturn(doc,status) {
        }
        );
        
-       //          host=hostsip                         host=192.168.1.30
+       //   host=hostsip                         host=192.168.1.30
     //   need to switch keywords based on selection
        var url = '/cgi-bin/setword.cgi?file=/etc/asterisk/sip.conf&this=hostsip&that=' + document.getElementById('host').value ;