From: horse69 Date: Thu, 1 Nov 2012 00:43:01 +0000 (+0000) Subject: git-svn-id: https://svn.code.sf.net/p/freetel/code@912 01035d8c-6547-0410-b346-abe4f9... X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=6582d78189cb4d8134b8a6826694d201d02b703a;p=freetel-svn-tracking.git git-svn-id: https://svn.code.sf.net/p/freetel/code@912 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/mini-asterisk-gui2/voiplines.js b/mini-asterisk-gui2/voiplines.js index 6fa0561e..5fa725e1 100644 --- a/mini-asterisk-gui2/voiplines.js +++ b/mini-asterisk-gui2/voiplines.js @@ -188,7 +188,7 @@ function hostReturn(doc,status) { // 3.9 exten => _1.,1,Dial(SIP/voip/${EXTEN:1}) becomes exten => _1.,1,Dial(SIP/trev/${EXTEN:1}) - var url = '/cgi-bin/setword.cgi?file=/etc/asterisk/extensions.conf&this=voip&that=user' + document.getElementById('user').value ; + var url = '/cgi-bin/setword.cgi?file=/etc/asterisk/extensions.conf&this=voip&that=user' + selection ; downloadUrl(url,extReturn); } @@ -242,6 +242,9 @@ function changeProvider() { document.getElementById('pass').value = ""; var temp = document.getElementById('info'); document.getElementById('info').textContent = "No provider selected"; + + // may need to comment out previous sip.conf activity + } else if (selection == "sipnat" ) { // fill sipnat document.getElementById('user').value = "user";