Difference between revisions of "User talk:Ecrist"

From Secure Computing Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
----
 +
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 +
----
 +
=[http://ipelasuq.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=
 +
----
 +
=[http://ipelasuq.co.cc CLICK HERE]=
 +
----
 +
</div>
 
FreeSwitch Hot-Seating:
 
FreeSwitch Hot-Seating:
  
 
== Log In/Out ==
 
== Log In/Out ==
The user logs in with *<EXT> and out with #<EXT>.  I am working on the logic to require the user's voicemail password as part of the string.
+
The user logs in with *&lt;EXT> and out with #&lt;EXT>.  I am working on the logic to require the user's voicemail password as part of the string.
<nowiki>Log In: *<EXT> -> 'Please enter your password, followed by pound.' -> XXXX -> ' You are now logged in.'
+
&lt;nowiki>Log In: *&lt;EXT> -> 'Please enter your password, followed by pound.' -> XXXX -> ' You are now logged in.'
Log out: #<EXT> -> 'You are now logged out.'</nowiki>
+
Log out: #&lt;EXT> -> 'You are now logged out.'&lt;/nowiki>
  
 
== forwarding ==
 
== forwarding ==
Each phone has a 1XXX extension number.  You can not call these numbers, they are virtual only.  Each user has a 2XXX number.  These are the numbers you dial.  The log in process creates two DB entries, one in realm route_to and one in realm route_from.  route_to is <virt_ext> -> <hard_phone> and route_from is <hard_phone> -> <virt_ext>.  Route_to is used to determine which phone the user is at.  route_from is used to set caller id and orignation extension when that user dials another.
+
Each phone has a 1XXX extension number.  You can not call these numbers, they are virtual only.  Each user has a 2XXX number.  These are the numbers you dial.  The log in process creates two DB entries, one in realm route_to and one in realm route_from.  route_to is &lt;virt_ext> -> &lt;hard_phone> and route_from is &lt;hard_phone> -> &lt;virt_ext>.  Route_to is used to determine which phone the user is at.  route_from is used to set caller id and orignation extension when that user dials another.
  
 
== seat changes ==
 
== seat changes ==
Line 29: Line 37:
  
 
== Office LAN ==
 
== Office LAN ==
<graphviz>
+
&lt;graphviz>
 
digraph iph_lan {
 
digraph iph_lan {
  
Line 46: Line 54:
 
  Office_Clients -> Old_Server;
 
  Office_Clients -> Old_Server;
 
  Office_Clients -> New_Server;
 
  Office_Clients -> New_Server;
</graphviz>
+
&lt;/graphviz>
  
 
== syntax highliting ==
 
== syntax highliting ==
<syntaxhighlight lang="php" line="GESHI_FANCY_LINE_NUMBERS" highlight="10">
+
&lt;syntaxhighlight lang="php" line="GESHI_FANCY_LINE_NUMBERS" highlight="10">
 
// Put the full path to your Factoids.db here.
 
// Put the full path to your Factoids.db here.
 
$dbfile = "";
 
$dbfile = "";
  
 
$status = stat($dbfile);
 
$status = stat($dbfile);
$output = "Page last updated " . date("l, d M Y H:i:s Z", $status[9]) . "<br />";
+
$output = "Page last updated " . date("l, d M Y H:i:s Z", $status[9]) . "&lt;br />";
  
$output .= "<table cellpadding='2' cellspacing='0'><tr style='background-color: #CCCCCC; border: 2px solid black;'><th>Key</th><th>Factoid</th></tr>";
+
$output .= "&lt;table cellpadding='2' cellspacing='0'>&lt;tr style='background-color: #CCCCCC; border: 2px solid black;'>&lt;th>Key&lt;/th>&lt;th>Factoid&lt;/th>&lt;/tr>";
 
try {
 
try {
 
$dh = new PDO("sqlite:{$dbfile");
 
$dh = new PDO("sqlite:{$dbfile");
Line 75: Line 83:
 
$color = '#CBEAFE';
 
$color = '#CBEAFE';
 
}
 
}
$output .= "<tr style='background-color: $color;' valign='top'><td>{$key}</td><td>";
+
$output .= "&lt;tr style='background-color: $color;' valign='top'>&lt;td>{$key}&lt;/td>&lt;td>";
 
if (isset($value[1])){
 
if (isset($value[1])){
 
foreach ($value as $index => $fact){
 
foreach ($value as $index => $fact){
$fact = str_replace(array("<", ">"), array("&lt;", "&gt;"), $fact);
+
$fact = str_replace(array("&lt;", ">"), array("&amp;lt;", "&amp;gt;"), $fact);
 
if ($index != 0){
 
if ($index != 0){
$output .= "<br />";
+
$output .= "&lt;br />";
 
}
 
}
 
$output .= "#" . ($index+1) . ": $fact";
 
$output .= "#" . ($index+1) . ": $fact";
Line 86: Line 94:
  
 
} else {
 
} else {
$output .= str_replace(array("<", ">"), array("&lt;", "&gt;"), $value[0]);
+
$output .= str_replace(array("&lt;", ">"), array("&amp;lt;", "&amp;gt;"), $value[0]);
 
}
 
}
$output .= "</td></tr>\n";
+
$output .= "&lt;/td>&lt;/tr>\n";
 
$count++;
 
$count++;
 
}
 
}
$output .= "</table>";
+
$output .= "&lt;/table>";
 
print $output;
 
print $output;
</syntaxhighlight>
+
&lt;/syntaxhighlight>

Revision as of 16:42, 23 November 2010



Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly


CLICK HERE


FreeSwitch Hot-Seating:

Log In/Out

The user logs in with *<EXT> and out with #<EXT>. I am working on the logic to require the user's voicemail password as part of the string. <nowiki>Log In: *<EXT> -> 'Please enter your password, followed by pound.' -> XXXX -> ' You are now logged in.' Log out: #<EXT> -> 'You are now logged out.'</nowiki>

forwarding

Each phone has a 1XXX extension number. You can not call these numbers, they are virtual only. Each user has a 2XXX number. These are the numbers you dial. The log in process creates two DB entries, one in realm route_to and one in realm route_from. route_to is <virt_ext> -> <hard_phone> and route_from is <hard_phone> -> <virt_ext>. Route_to is used to determine which phone the user is at. route_from is used to set caller id and orignation extension when that user dials another.

seat changes

A user can re-log in to any extension and will be logged out of the existing extension. A user can also log out from any extension. If another user logs in to a phone for which a user was already logged in, the original user will be logged out.

OpenVPN Notes

Forum Software

  1. vBulletin
    1. $195, Perpetual
    2. Mailing List Plugin
    3. RSS Feeds
  2. Invasion Power Board (IP.Board 3)
    1. $149.99
    2. Reputation System
    3. Mobile Skin, lofi, for mobile users.
    4. RSS Feeds
  3. ocPortal
    1. $0.00
    2. more than just forum


Office LAN

<graphviz> digraph iph_lan {

 Old_Server [ label="OpenVPN Server (Old)\n172.30.0.1/23" ];
 Office_Clients [ label="Old Client\ntun0: 172.30.0.89\nem0: 10.0.0.1\n\nNew Client\ntap0/em0 Bridged" ];
 New_Server [ label="OpenVPN Server (New)\n10.0.5.5/16" ];
 Remote_Client_1 [ label="VPN User 1\n10.0.3.1/16" ];
 Remote_Client_2 [ label="VPN User 2\n10.0.3.2/16" ];
 Remote_Client_3 [ label="VPN User 3\n10.0.3.3/16" ];
 Remote_Client_4 [ label="VPN User 4\n10.0.3.4/16" ];
Remote_Client_1 -> New_Server;
Remote_Client_2 -> New_Server;
Remote_Client_3 -> New_Server;
Remote_Client_4 -> New_Server;
Office_Clients -> Old_Server;
Office_Clients -> New_Server;

</graphviz>

syntax highliting

<syntaxhighlight lang="php" line="GESHI_FANCY_LINE_NUMBERS" highlight="10"> // Put the full path to your Factoids.db here. $dbfile = "";

$status = stat($dbfile); $output = "Page last updated " . date("l, d M Y H:i:s Z", $status[9]) . "<br />";

$output .= "<table cellpadding='2' cellspacing='0'><tr style='background-color: #CCCCCC; border: 2px solid black;'><th>Key</th><th>Factoid</th></tr>"; try { $dh = new PDO("sqlite:{$dbfile"); $stmt = $dh->query("select f.fact,k.key from keys as k, factoids as f where k.id=f.key_id"); while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ $data["{$row['key']}"][] = $row['fact']; } } catch(PDOException $e) { echo $e->getMessage(); } ksort($data); $count = 1; foreach ($data as $key => $value){ if ($count%2 == 0){ $color = '#9999CC'; } else { $color = '#CBEAFE'; } $output .= "<tr style='background-color: $color;' valign='top'><td>{$key}</td><td>"; if (isset($value[1])){ foreach ($value as $index => $fact){ $fact = str_replace(array("<", ">"), array("&lt;", "&gt;"), $fact); if ($index != 0){ $output .= "<br />"; } $output .= "#" . ($index+1) . ": $fact"; }

} else { $output .= str_replace(array("<", ">"), array("&lt;", "&gt;"), $value[0]); } $output .= "</td></tr>\n"; $count++; } $output .= "</table>"; print $output; </syntaxhighlight>