From: horse69 Date: Wed, 17 Oct 2012 23:52:36 +0000 (+0000) Subject: git-svn-id: https://svn.code.sf.net/p/freetel/code@772 01035d8c-6547-0410-b346-abe4f9... X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=309cb416eb85c8683d77ed93e6760ccdd7295dc1;p=freetel-svn-tracking.git git-svn-id: https://svn.code.sf.net/p/freetel/code@772 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/mini-asterisk-gui2/install_gui2.sh b/mini-asterisk-gui2/install_gui2.sh index 8abaf7bf..43549053 100755 --- a/mini-asterisk-gui2/install_gui2.sh +++ b/mini-asterisk-gui2/install_gui2.sh @@ -19,7 +19,6 @@ rm gui2.tar.gz wget -O gui2.tar.gz http://freetel.svn.sourceforge.net/viewvc/freetel/mini-asterisk-gui2/?view=tar -#mv index.html?view=tar mag2.tar.gz echo "" diff --git a/mini-asterisk-gui2/phones.js b/mini-asterisk-gui2/phones.js index bf38dee5..43009933 100644 --- a/mini-asterisk-gui2/phones.js +++ b/mini-asterisk-gui2/phones.js @@ -230,12 +230,21 @@ function onClickUpdateReception() { } var arg2 = "/cgi-bin/setring.cgi?" + arg; - downloadUrl(arg2,GenericReturn); + downloadUrl(arg2,OnSetringReturn); - downloadUrl("/cgi-bin/asterisk.cgi?dialplan reload",GenericReturn); } +function OnSetringReturn(doc,status) { + loadHtmlTextFile(doc, function(line) { + //parseSipShowPeers(line); + } + ); + + downloadUrl("/cgi-bin/asterisk.cgi?dialplan reload",GenericReturn); + //initialisePage(); +} + function onClickUpdateOutgoing() { // get the arguments from the form selected_out[] diff --git a/mini-asterisk-gui2/todo 2012_10.txt b/mini-asterisk-gui2/todo 2012_10.txt index d1e2218b..e66221a0 100644 --- a/mini-asterisk-gui2/todo 2012_10.txt +++ b/mini-asterisk-gui2/todo 2012_10.txt @@ -26,4 +26,29 @@ new config page ntp select region new login page - makes a cookie based on \ No newline at end of file + makes a cookie based on + + +***************************************************************************** + +Oct 18 2012 + + +Phones page + + Reception update fail : Daisy chain url calls + + internet fping 8.8.8.8 + +Network page + + Bad dns .... Try fping 8.8.8.8 instead? + ....try fping dns check before internet fping + .... maybe nslookup + fping 8.8.8.8 ? + + two crosses dns and internet? + + fping dns + if ok fping google + else fail report \ No newline at end of file