Phone Systems - the PBXs that send ITFlow their calls (functions/phone.php), FusionPBX * the first kind. Each row says which it is, how many of its domains are linked to clients, how * many calls came in the last 30 days, and when it was last heard from. Its domains, and how to * set it up, are on its Domains page (phone_domains.php). Add and Edit are one window * (modals/phone/phone_system_edit.php); the rest are admin/post/phone.php. */ // Default Column Sortby Filter $sort = "phone_system_name"; $order = "ASC"; require_once "includes/inc_all_admin.php"; // The tables arrive with the 4.1.4 database update if (!phoneTablesReady()) { ?>
Phone Systems arrive with a database update - run it in Maintenance > Update first.
"phone_system_name $order", 'phone_system_kind' => "phone_system_kind $order, phone_system_name ASC", 'domains_linked' => "domains_linked $order, phone_system_name ASC", 'calls_month' => "calls_month $order, phone_system_name ASC", 'phone_system_heard_at' => "phone_system_heard_at IS NULL, phone_system_heard_at $order, phone_system_name ASC", ]; if (!isset($sortable_columns[$sort])) { $sort = 'phone_system_name'; } $sql = mysqli_query($mysqli, "SELECT SQL_CALC_FOUND_ROWS phone_systems.*, (SELECT COUNT(*) FROM phone_domains WHERE phone_domain_system_id = phone_system_id) AS domains_total, (SELECT COUNT(*) FROM phone_domains WHERE phone_domain_system_id = phone_system_id AND phone_domain_client_id > 0) AS domains_linked, (SELECT COUNT(*) FROM phone_calls WHERE phone_call_system_id = phone_system_id AND phone_call_started_at >= NOW() - INTERVAL 30 DAY) AS calls_month FROM phone_systems WHERE (phone_system_name LIKE '%$q%' OR phone_system_web_url LIKE '%$q%' OR phone_system_kind LIKE '%$q%') ORDER BY {$sortable_columns[$sort]}, phone_system_id ASC LIMIT $record_from, $record_to"); $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); $add_url = 'modals/phone/phone_system_add.php'; $csrf = $_SESSION['csrf_token']; ?>

Phone Systems

">
Unknown kind Off
of domains linked · calls
of linked Not yet
'phone systems', 'icon' => 'fa-phone-volume', 'text' => 'Add ' . escapeHtml(implode(' or ', array_column($kinds, 'name'))) . ' and set it up to tell ITFlow about its calls: each call is kept with the contact it was with, and its desk phones show who is calling - nothing is asked of its API or database.', 'actions' => [['label' => 'New Phone System', 'modal' => $add_url]], ]; ?>