Difference between revisions of "User talk:Ecrist"

From Secure Computing Wiki
Jump to: navigation, search
m (Reverted edits by Ijakigyzi (talk) to last revision by Ecrist)
 
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 *&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.
+
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.
&lt;nowiki>Log In: *&lt;EXT> -> 'Please enter your password, followed by pound.' -> XXXX -> ' You are now logged in.'
+
<nowiki>Log In: *<EXT> -> 'Please enter your password, followed by pound.' -> XXXX -> ' You are now logged in.'
Log out: #&lt;EXT> -> 'You are now logged out.'&lt;/nowiki>
+
Log out: #<EXT> -> 'You are now logged out.'</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 &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.
+
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 ==
 
== seat changes ==
Line 37: Line 29:
  
 
== Office LAN ==
 
== Office LAN ==
&lt;graphviz>
+
<graphviz>
 
digraph iph_lan {
 
digraph iph_lan {
  
Line 54: Line 46:
 
  Office_Clients -> Old_Server;
 
  Office_Clients -> Old_Server;
 
  Office_Clients -> New_Server;
 
  Office_Clients -> New_Server;
&lt;/graphviz>
+
</graphviz>
  
 
== syntax highliting ==
 
== syntax highliting ==
&lt;syntaxhighlight lang="php" line="GESHI_FANCY_LINE_NUMBERS" highlight="10">
+
<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]) . "&lt;br />";
+
$output = "Page last updated " . date("l, d M Y H:i:s Z", $status[9]) . "<br />";
  
$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>";
+
$output .= "<table cellpadding='2' cellspacing='0'><tr style='background-color: #CCCCCC; border: 2px solid black;'><th>Key</th><th>Factoid</th></tr>";
 
try {
 
try {
 
$dh = new PDO("sqlite:{$dbfile");
 
$dh = new PDO("sqlite:{$dbfile");
Line 83: Line 75:
 
$color = '#CBEAFE';
 
$color = '#CBEAFE';
 
}
 
}
$output .= "&lt;tr style='background-color: $color;' valign='top'>&lt;td>{$key}&lt;/td>&lt;td>";
+
$output .= "<tr style='background-color: $color;' valign='top'><td>{$key}</td><td>";
 
if (isset($value[1])){
 
if (isset($value[1])){
 
foreach ($value as $index => $fact){
 
foreach ($value as $index => $fact){
$fact = str_replace(array("&lt;", ">"), array("&amp;lt;", "&amp;gt;"), $fact);
+
$fact = str_replace(array("<", ">"), array("&lt;", "&gt;"), $fact);
 
if ($index != 0){
 
if ($index != 0){
$output .= "&lt;br />";
+
$output .= "<br />";
 
}
 
}
 
$output .= "#" . ($index+1) . ": $fact";
 
$output .= "#" . ($index+1) . ": $fact";
Line 94: Line 86:
  
 
} else {
 
} else {
$output .= str_replace(array("&lt;", ">"), array("&amp;lt;", "&amp;gt;"), $value[0]);
+
$output .= str_replace(array("<", ">"), array("&lt;", "&gt;"), $value[0]);
 
}
 
}
$output .= "&lt;/td>&lt;/tr>\n";
+
$output .= "</td></tr>\n";
 
$count++;
 
$count++;
 
}
 
}
$output .= "&lt;/table>";
+
$output .= "</table>";
 
print $output;
 
print $output;
&lt;/syntaxhighlight>
+
</syntaxhighlight>

Latest revision as of 17:35, 26 November 2010

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. Log In: *<EXT> -> 'Please enter your password, followed by pound.' -> XXXX -> ' You are now logged in.' Log out: #<EXT> -> 'You are now logged out.'

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

syntax highliting

 1 // Put the full path to your Factoids.db here.
 2 $dbfile = "";
 3 
 4 $status = stat($dbfile);
 5 $output = "Page last updated " . date("l, d M Y H:i:s Z", $status[9]) . "<br />";
 6 
 7 $output .= "<table cellpadding='2' cellspacing='0'><tr style='background-color: #CCCCCC; border: 2px solid black;'><th>Key</th><th>Factoid</th></tr>";
 8 try {
 9 	$dh = new PDO("sqlite:{$dbfile");
10 	$stmt = $dh->query("select f.fact,k.key from keys as k, factoids as f where k.id=f.key_id");
11 	while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){
12 		$data["{$row['key']}"][] = $row['fact'];
13 	}
14 }
15 catch(PDOException $e) {
16 	echo $e->getMessage();
17 }
18 ksort($data);
19 $count = 1;
20 foreach ($data as $key => $value){
21 	if ($count%2 == 0){
22 		$color = '#9999CC';
23 	} else {
24 		$color = '#CBEAFE';
25 	}
26 	$output .= "<tr style='background-color: $color;' valign='top'><td>{$key}</td><td>";
27 	if (isset($value[1])){
28 		foreach ($value as $index => $fact){
29 			$fact = str_replace(array("<", ">"), array("&lt;", "&gt;"), $fact);
30 			if ($index != 0){
31 				$output .= "<br />";
32 			}
33 			$output .= "#" . ($index+1) . ": $fact";
34 		}
35 
36 	} else {
37 		$output .= str_replace(array("<", ">"), array("&lt;", "&gt;"), $value[0]);
38 	}
39 	$output .= "</td></tr>\n";
40 	$count++;
41 }
42 $output .= "</table>";
43 print $output;