From: horse69 Date: Sun, 28 Oct 2012 22:15:56 +0000 (+0000) Subject: git-svn-id: https://svn.code.sf.net/p/freetel/code@861 01035d8c-6547-0410-b346-abe4f9... X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=b05b041b9ed772dbfb2c3d0068e54a23b450d55b;p=freetel-svn-tracking.git git-svn-id: https://svn.code.sf.net/p/freetel/code@861 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/mini-asterisk-gui2/voiplines.js b/mini-asterisk-gui2/voiplines.js index f60e77e4..16d375ca 100644 --- a/mini-asterisk-gui2/voiplines.js +++ b/mini-asterisk-gui2/voiplines.js @@ -111,7 +111,7 @@ function registerReturn(doc,status) { // username=usersip username=trev // need to switch keywords based on selection - var url = '/cgi-bin/setline.cgi?file=/etc/asterisk/sip.conf&this=usersip&that="' + document.getElementById('user').value + '"'; + var url = '/cgi-bin/setline.cgi?file=/etc/asterisk/sip.conf&this=usersip&that=' + document.getElementById('user').value ; downloadUrl(url,usernameReturn); } @@ -150,7 +150,7 @@ function hostReturn(doc,status) { // exten => _1.,1,Dial(SIP/voip/${EXTEN:1}) becomes exten => _1.,1,Dial(SIP/trev/${EXTEN:1}) - var url = '/cgi-bin/setline.cgi?file=/etc/asterisk/extension.conf&this=voip&that="' + document.getElementById('user').value + '"'; + var url = '/cgi-bin/setline.cgi?file=/etc/asterisk/extensions.conf&this=voip&that="' + document.getElementById('user').value + '"'; downloadUrl(url,extReturn); }