From: horse69 Date: Wed, 5 Sep 2012 08:33:41 +0000 (+0000) Subject: git-svn-id: https://svn.code.sf.net/p/freetel/code@664 01035d8c-6547-0410-b346-abe4f9... X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=a170c0fd42438114fe05e5c70ffa326e464b66e7;p=freetel-svn-tracking.git git-svn-id: https://svn.code.sf.net/p/freetel/code@664 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/mini-asterisk-gui2/cgi-bin/setring.cgi b/mini-asterisk-gui2/cgi-bin/setring.cgi index aa22a796..62758c66 100755 --- a/mini-asterisk-gui2/cgi-bin/setring.cgi +++ b/mini-asterisk-gui2/cgi-bin/setring.cgi @@ -37,7 +37,7 @@ sed -i "s_s,1,Dial(.*) ;; mini-asterisk_s,1,Dial($a) ;; mini-asterisk_" /etc/ast #reload extensions.conf -#asterisk -rx "dialplan reload" 2>/dev/null 1 > /dev/null +asterisk -rx "dialplan reload" 2>/dev/null 1 > /dev/null cat <" + "" + "Analog Phone" + ""; -// html += "Port" + i + "" +" "+"" + ""; -// html += "Port" + i + "" + '' + "" + ""; html += "Port" + i + ""; - //html += "(Reception)"; + + html += "" + '' + ""; // the reception checkbox code html += "" + '' + ""; html += ""; } } @@ -109,13 +107,14 @@ function initialisePage() { } } - // print out submit button - //doesn't work ... Only use static html buttons - html += ""; html += ""; html += "Add IP Phone"; html += ""; + + // print out submit button + //doesn't work ... Only use static html buttons + /* html += ""; html += ""; html += "";