with this security model and would appreciate any suggestions on how
to improve it.
-Mini Asterisk uses HTML, CSS, Javascript, CGI, Shell scripting, and
-Perl.
+Mini Asterisk uses the following technologies: HTML, CSS, Javascript,
+CGI, Shell scripting, Perl, Asterisk. But most of the work is done in
+shell script and HTML, with a little Perl for the text processing.
+
+The msh shell on the IP0X is fairly basic (no functions, several
+quirks). The shell script has been coded so that it runs OK on the
+IP0X, which is upwards compatable to x86.
[[install]]
Installation
my %ipad = (); # IP address of SIP device keyed on sip.conf names
open SIP, "sipshowpeers.txt";
-while (<SIP>) {
- if (/^([0-9]*)[\s\/].*(OK)/) {
+while (<SIP>) {
+
+ # just look for 4 digit extensions starting with 6 so we don't
+ # confuse with Voip Line
+
+ if (/^(6[0-9][0-9][0-9])[\s\/].*(OK)/) {
$sip{$1} = $2;
#print "'$1' '$2' $sip{$1}\n";
$e = $1;
}
print '<tr><td> </td></tr>';
-print "<tr><td onMouseOver=\"popUp(event,'phone_addipphone')\" onmouseout=\"popUp(event,'phone_addipphone')\">";
-print "<a href=\"ipphones.sh\">Add IP Phone</a></td><td></td><td></td><td><input type=\"submit\" value=\"Update Reception\"></td></tr>";
+print "<tr><td colspan=\"2\" onMouseOver=\"popUp(event,'phone_addipphone')\" onmouseout=\"popUp(event,'phone_addipphone')\">";
+print "<a href=\"ipphones.sh\">Add IP Phone</a></td><td></td><td><input type=\"submit\" value=\"Update Reception\"></td></tr>";
$tool_tip = "onMouseOver=\"popUp(event,'phone_lines')\" onmouseout=\"popUp(event,'phone_lines')\"";
<td valign="top">
<table align="right" width=600>
+ <col width="50" /><col width="150" />
<tr>
<td onMouseOver="popUp(event,'phone_system')" onmouseout="popUp(event,'phone_system')" colspan="4" align="left" valign="top"><h2>Phone System</h2></td>
</tr>