User talk:Ecrist

From Secure Computing Wiki
Revision as of 17:42, 23 November 2010 by Ijakigyzi (Talk | contribs)

Jump to: navigation, search


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>