mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
* Initial commit of websockets * Move app_menu to the active_calls websockets * Fix hangup function * Remove connection wait-state on web socket server so events can process * Add timestamp and debug level to console for service debug output * Remove debug exit * Fix typo for ws_client instead of ws_server * Update app_config.php * Fix typo and remove empty function * Remove call to empty function * Fix the menu to point to the correct location * Remove Logging Class * Rename service file * Rename service file * Fix the in progress browser request * Fix browser reload and implement 'active_calls' default values * Add apply_filter function * Create new permission_filter object * In progress active calls now use filter * Add invalid_uuid_exception class * add event_key_filter to honor user permissions * add and_link and or_link for filters * Fix disconnected subscriber and add filters to honor permissions * Add $key and $value for filter * define a service name * catch throwable instead of exception * Add $key and $value for filter and allow returning null * Update permission checks when loading page * Add apply_filter function to honor subscriber permissions * Add create_filter_chain_for function to honor subscriber permissions * Add apply_filter function to honor subscriber permissions * Add apply_filter function to honor subscriber permissions * create interface to allow filterable payload * create interface to define functions required for websocket services * Pass in service class when creating a service token * Allow key/name and return null for filter * Adjust subscriber exceptions to return the ID of the subscriber * Add event filter to filter chain * Add command line options for ip and port for websockets and switch * update service to use is_a syntax * initial commit of base class for websockets system services * initial commit of the system cpu status service * remove extra line feed * fix path on active_calls * initial proof of concept for cpu status updated by websockets * Allow returning null * Use default settings to set the interval for cpu status broadcast * Improve the CPU percent function for Linux systems * Show more debug information * Allow child processes to re-connect to the web socket service * Fix websockets as plural instead of singular * Add class name list-row * Update active_calls.php * Update active_calls.php * Update websocket_client.js * Update app_config.php * Update app_menu.php * Update debian-websockets.service * Update debian-active_calls.service --------- Co-authored-by: FusionPBX <markjcrane@gmail.com>
38 lines
2.0 KiB
PHP
38 lines
2.0 KiB
PHP
<?php
|
|
/*
|
|
$y=0;
|
|
$apps[$x]['menu'][$y]['title']['en-us'] = "Active Calls";
|
|
$apps[$x]['menu'][$y]['title']['en-gb'] = "Active Calls";
|
|
$apps[$x]['menu'][$y]['title']['ar-eg'] = "الدعوات النشطة";
|
|
$apps[$x]['menu'][$y]['title']['de-at'] = "Aktive Gespräche";
|
|
$apps[$x]['menu'][$y]['title']['de-ch'] = "Aktive Anrufe";
|
|
$apps[$x]['menu'][$y]['title']['de-de'] = "Aktive Gespräche";
|
|
$apps[$x]['menu'][$y]['title']['es-cl'] = "Llamadas Activas";
|
|
$apps[$x]['menu'][$y]['title']['es-mx'] = "Llamadas activas";
|
|
$apps[$x]['menu'][$y]['title']['fr-ca'] = "Appels actifs";
|
|
$apps[$x]['menu'][$y]['title']['fr-fr'] = "Appels en cours";
|
|
$apps[$x]['menu'][$y]['title']['he-il'] = "שיחות פעילות";
|
|
$apps[$x]['menu'][$y]['title']['it-it'] = "Chiamate Attive";
|
|
$apps[$x]['menu'][$y]['title']['ka-ge'] = "აქტიური ზარები";
|
|
$apps[$x]['menu'][$y]['title']['nl-nl'] = "Aktieve gesprekken";
|
|
$apps[$x]['menu'][$y]['title']['pl-pl'] = "Aktywne połączenia";
|
|
$apps[$x]['menu'][$y]['title']['pt-br'] = "Chamadas ativas";
|
|
$apps[$x]['menu'][$y]['title']['pt-pt'] = "Chamadas Activas";
|
|
$apps[$x]['menu'][$y]['title']['ro-ro'] = "Apeluri active";
|
|
$apps[$x]['menu'][$y]['title']['ru-ru'] = "Активные вызовы";
|
|
$apps[$x]['menu'][$y]['title']['sv-se'] = "Aktiva samtal";
|
|
$apps[$x]['menu'][$y]['title']['uk-ua'] = "Активні дзвінки";
|
|
$apps[$x]['menu'][$y]['title']['zh-cn'] = "主动通话";
|
|
$apps[$x]['menu'][$y]['title']['ja-jp'] = "アクティブ コール";
|
|
$apps[$x]['menu'][$y]['title']['ko-kr'] = "활성 통화";
|
|
$apps[$x]['menu'][$y]['uuid'] = "eba3d07f-dd5c-6b7b-6880-493b44113ade";
|
|
$apps[$x]['menu'][$y]['parent_uuid'] = "0438b504-8613-7887-c420-c837ffb20cb1";
|
|
$apps[$x]['menu'][$y]['category'] = "internal";
|
|
$apps[$x]['menu'][$y]['icon'] = "";
|
|
$apps[$x]['menu'][$y]['path'] = "/app/active_calls/active_calls.php";
|
|
$apps[$x]['menu'][$y]['order'] = "";
|
|
$apps[$x]['menu'][$y]['groups'][] = "superadmin";
|
|
$apps[$x]['menu'][$y]['groups'][] = "admin";
|
|
$y++;
|
|
*/
|