From: horse69 Date: Mon, 29 Oct 2012 02:24:07 +0000 (+0000) Subject: git-svn-id: https://svn.code.sf.net/p/freetel/code@880 01035d8c-6547-0410-b346-abe4f9... X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=b070573444ea2242261f3d207730db3e2935dda9;p=freetel-svn-tracking.git git-svn-id: https://svn.code.sf.net/p/freetel/code@880 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/mini-asterisk-gui2/voiplines.js b/mini-asterisk-gui2/voiplines.js index 8d698fa2..3ef8a18d 100644 --- a/mini-asterisk-gui2/voiplines.js +++ b/mini-asterisk-gui2/voiplines.js @@ -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 ;