User talk:Ecrist

From Secure Computing Wiki
Revision as of 11:17, 12 November 2010 by Ecrist (Talk | contribs)

Jump to: navigation, search

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;