svn version control
openssh communication with ip04
fping used to determine internet connection
- chrome has a very useful debugger .... ctrl-shift-i
+ chrome built-in debugger .... ctrl-shift-i
+ install validator extension
+ firefox install extensions firebug debugger and html validator
lighttpd minimal webserver
asterisk-1.4.11 when testing code around asterisk -r calls
needs to be installed (we need access to the conf files)
-<!DOCTYPE html>
-<html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>Mini Asterisk - Phones</title>
-<link rel="stylesheet" type="text/css" href="ministyle.css">
+<link rel="stylesheet" type="text/css" href="ministyle.css" />
<link rel="stylesheet" href="tooltip.css" type="text/css" />
<script type="text/javascript" src="minicommon.js"></script>
<script type="text/javascript" src="tooltip.js"></script>
<body onload="initialise()">
- <table align="center" width=800>
+ <table width="800">
<tr>
<td><div id="menu"></div></td>
<td><div id="phones_table"></div></td>
<td>
- <input name=update_recept type="button" style="width:100%" value="update reception" onClick="onClickUpdateReception()">
- <!input name=update_out type="button" style="width:100%" value="update outgoing" onClick="onClickUpdateOutgoing()">
+ <input name="update_recept" type="button" style="width:100%" value="update reception" onClick=onClickUpdateReception() />
+ <!--input name=update_out type="button" style="width:100%" value="update outgoing" onClick="onClickUpdateOutgoing()"-->
</td>
</tr>
html += "<td>" + analog_ext[i] + "</td>" + "<td>" + "Analog Phone" + "</td>";
html += "<td>Port" + i + "</td>";
- html += "<td>" + '<img src="tick.png" />' + "</td>";
+ html += "<td>" + '<img src="tick.png" alt="tick" />' + "</td>";
// the reception checkbox code
html += "<td>" + '<input name="selected_in[]" type="checkbox" ' ;
html += "<td>" + j + "</td>" + "<td>" + "IP Phone" + "</td>";
html += "<td>" + ip_ext[j] + "</td>";
- html += "<td>" + '<img src="tick.png" />' + "</td>";
+ html += "<td>" + '<img src="tick.png" alt="tick" />' + "</td>";
// the reception checkbox code
html += "<td>" + '<input name="selected_in[]" type="checkbox" ' ;
html += "<tr>";
html += "<td>" + "0" + "</td>" + "<td>" + "Analog Phone" + "</td>";
html += "<td>Port" + i + "</td>";
- html += "<td>" + '<img src="tick.png" />' + "</td>";
+ html += "<td>" + '<img src="tick.png" alt="tick" />' + "</td>";
// the outgoing radiobox code
/* html += "<td>" + '<input name="selected_out[]" type="radio" ' ;
Functionality work
-3. firefox broken update reception button
+3. firefox update reception button broken
+---------------------------------------------
+ Installed firebug debugger
+ Single step thru reception update code
+ phones.js line 209
+ var total = document.phones.elements['selected_in[]'].length;
+ appears to fail and crash out silently.
+ I cant see any phones element in the document
+
+ Start using html validator at http://validator.w3.org/check
+
+ Best practices at http://sixrevisions.com/web-standards/20-html-best-practices-you-should-follow/
+ Close my tags !
+ <img src="images/sample.jpg" alt="sample" />
+
check internet explorer too.
4. network page not working
+------------------------------
Also how fast can it detect the internet after change in gateway
Try to break internet with dns or gateway changes.
5. Outbound calls....
+-------------------------
Groups of people assigned to different outbound
Work with dialplans
Need to have a page where we set up groups of users.
6. ntp testing
+--------------------
try getting ntpclient rather than ntp?
try setting TZ in /etc/init.d/asterisk already done...just need reboot
web page for setting timezone (radio button and apply checkbox?)