Go to the source code of this file.
Functions | |
my_htmlentities ($text) | |
Protect HTML code : add escape chars. | |
clean_dev_data ($type, $dev, $forced) | |
Clean device status information : delete (obsolete) call information. | |
update_dev ($mode, $type, $dev, $ticket_a) | |
Update device status information : handle an event about the device. | |
parse_cnxid ($cnxid) | |
Parse "chantype/dev-chanid" string and extract fields. | |
update_dev_call ($mode, $cnxid, $ticket_a) | |
Update device status information : handle an event about a call related to the device. | |
run_session () | |
Elaborate aTinyMON display. | |
store_error ($err_type, $err_msg, $err_file, $err_line) | |
Store errors and syslog them. | |
display_errors () | |
Display errors that have been stored. | |
Variables | |
$app = "A Tinymon Real-Time monitoring application for Asterisk" | |
$version = "v0.26 - 2006" | |
$db = NULL |
Definition in file atinymon.php.
|
Protect HTML code : add escape chars.
Definition at line 30 of file atinymon.php. Referenced by display_errors(), and run_session(). |
|
Clean device status information : delete (obsolete) call information. In debug or demo mode, "now", i.e. reference for tickets obsolescence, is the timestamp of last ticket extracted from DB. Otherwise, "now" is current server time.
Definition at line 47 of file atinymon.php. Referenced by run_session(). |
|
Update device status information : handle an event about the device.
Definition at line 87 of file atinymon.php. Referenced by run_session(). |
|
Parse "chantype/dev-chanid" string and extract fields. This function analyses the input string and extracts the fields. It tries to make its best with < Z O M B I E > and suffixes alike, as well as with AsyncGoto/ and possibly other prefixes. Warnin : obviously, this simplification may involve a loss of information, or even worse, may generate incorrect information !
Definition at line 124 of file atinymon.php. Referenced by run_session(), and update_dev_call(). |
|
Update device status information : handle an event about a call related to the device. Device inherits from call event timestamp (update last time we heard about the device ... or about a related call).
Definition at line 146 of file atinymon.php. References parse_cnxid(). Referenced by run_session(). Here is the call graph for this function: ![]() |
|
Elaborate aTinyMON display.
Definition at line 181 of file atinymon.php. References $db, $status, $ui, $version, clean_dev_data(), display_errors(), my_htmlentities(), parse_cnxid(), update_dev(), and update_dev_call(). Here is the call graph for this function: ![]() |
|
Store errors and syslog them. We'll display them alltogether later. Definition at line 912 of file atinymon.php. |
|
Display errors that have been stored.
Definition at line 943 of file atinymon.php. References my_htmlentities(). Referenced by run_session(). Here is the call graph for this function: ![]() |
|
Definition at line 5 of file atinymon.php. |
|
Definition at line 6 of file atinymon.php. Referenced by run_session(). |
|
Definition at line 981 of file atinymon.php. Referenced by run_session(). |