From a170c0fd42438114fe05e5c70ffa326e464b66e7 Mon Sep 17 00:00:00 2001 From: horse69 Date: Wed, 5 Sep 2012 08:33:41 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/freetel/code@664 01035d8c-6547-0410-b346-abe4f91aad63 --- mini-asterisk-gui2/cgi-bin/setring.cgi | 2 +- mini-asterisk-gui2/devel notes.txt | 41 ++++++++++++++++++++++++++ mini-asterisk-gui2/install notes.txt | 36 ++++++---------------- mini-asterisk-gui2/phones.js | 15 +++++----- 4 files changed, 58 insertions(+), 36 deletions(-) create mode 100644 mini-asterisk-gui2/devel notes.txt 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 += ""; -- 2.25.1