git-svn-id: https://svn.code.sf.net/p/freetel/code@859 01035d8c-6547-0410-b346-abe4f9...
authorhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Sun, 28 Oct 2012 21:38:53 +0000 (21:38 +0000)
committerhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Sun, 28 Oct 2012 21:38:53 +0000 (21:38 +0000)
mini-asterisk-gui2/voiplines.js

index b8c58d74cd294bba55eba313a6e6e81abc550613..3d26f97a45d34163eacad15d0631e1d3d12106d2 100644 (file)
@@ -72,13 +72,14 @@ function onClickApply() {
        var user = "";
        var host = "";
        var passwd = "";
+       var selection = "";
        
        // 1. Save sip.conf     
        
-       
+       selection = document.getElementById('provider').value;
        user = document.getElementById('user').value;
        host = document.getElementById('host').value;
-       passwd = document.getElementById('pass').value
+       passwd = document.getElementById('pass').value;
        
        
        // 2. Update sip.conf