Call Flow Summary add name, application, link, and a new summary style. Controlled by summary_style setting.

This commit is contained in:
FusionPBX 2023-10-12 23:58:11 -06:00 committed by GitHub
parent 4dbd4e10a3
commit d5f39cf0b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 662 additions and 407 deletions

View File

@ -46,6 +46,7 @@
$apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and bridge_enabled = 'true'";
$apps[$x]['destinations'][$y]['order_by'] = "bridge_name asc";
$apps[$x]['destinations'][$y]['field']['bridge_uuid'] = "bridge_uuid";
$apps[$x]['destinations'][$y]['field']['uuid'] = "bridge_uuid";
$apps[$x]['destinations'][$y]['field']['name'] = "bridge_name";
$apps[$x]['destinations'][$y]['field']['description'] = "bridge_description";
$apps[$x]['destinations'][$y]['field']['destination'] = "bridge_destination";

View File

@ -35,7 +35,7 @@
$apps[$x]['destinations'][$y]['type'] = "sql";
$apps[$x]['destinations'][$y]['label'] = "call_centers";
$apps[$x]['destinations'][$y]['name'] = "call_centers";
$apps[$x]['destinations'][$y]['sql'] = "select queue_name as name, queue_extension as destination, queue_extension as extension, queue_description as description from v_call_center_queues";
$apps[$x]['destinations'][$y]['sql'] = "select call_center_queue_uuid, call_center_queue_uuid as uuid, queue_name as name, queue_extension as destination, queue_extension as extension, queue_description as description from v_call_center_queues";
$apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' ";
$apps[$x]['destinations'][$y]['order_by'] = "queue_name asc";
$apps[$x]['destinations'][$y]['field']['name'] = "queue_name";

View File

@ -34,7 +34,7 @@
$apps[$x]['destinations'][$y]['type'] = "sql";
$apps[$x]['destinations'][$y]['label'] = "call_flows";
$apps[$x]['destinations'][$y]['name'] = "call_flows";
$apps[$x]['destinations'][$y]['sql'] = "select call_flow_name as name, call_flow_uuid as uuid, call_flow_extension as destination, call_flow_context as context from v_call_flows ";
$apps[$x]['destinations'][$y]['sql'] = "select call_flow_name as name, call_flow_uuid, call_flow_uuid as uuid, call_flow_extension as destination, call_flow_context as context from v_call_flows ";
$apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and call_flow_enabled = 'true' ";
$apps[$x]['destinations'][$y]['order_by'] = "call_flow_name asc";
$apps[$x]['destinations'][$y]['field']['call_flow_uuid'] = "call_flow_uuid";
@ -49,7 +49,7 @@
$apps[$x]['destinations'][$y]['type'] = "sql";
$apps[$x]['destinations'][$y]['label'] = "call_flows";
$apps[$x]['destinations'][$y]['name'] = "call_flows";
$apps[$x]['destinations'][$y]['sql'] = "select call_flow_name as name, call_flow_uuid as uuid, call_flow_extension as extension, call_flow_feature_code as destination, call_flow_context as context from v_call_flows ";
$apps[$x]['destinations'][$y]['sql'] = "select call_flow_name as name, call_flow_uuid, call_flow_uuid as uuid, call_flow_extension as extension, call_flow_feature_code as destination, call_flow_context as context from v_call_flows ";
$apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and call_flow_enabled = 'true' ";
$apps[$x]['destinations'][$y]['order_by'] = "call_flow_extension asc";
$apps[$x]['destinations'][$y]['field']['uuid'] = "uuid";

View File

@ -37,6 +37,7 @@
$apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and conference_center_enabled = 'true' ";
$apps[$x]['destinations'][$y]['order_by'] = "conference_center_name asc";
$apps[$x]['destinations'][$y]['field']['conference_center_uuid'] = "conference_center_uuid";
$apps[$x]['destinations'][$y]['field']['uuid'] = "conference_center_uuid";
$apps[$x]['destinations'][$y]['field']['name'] = "conference_center_name";
$apps[$x]['destinations'][$y]['field']['destination'] = "conference_center_extension";
$apps[$x]['destinations'][$y]['field']['extension'] = "conference_center_extension";

View File

@ -37,6 +37,7 @@
$apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and conference_enabled = 'true' ";
$apps[$x]['destinations'][$y]['order_by'] = "conference_name asc";
$apps[$x]['destinations'][$y]['field']['conference_uuid'] = "conference_uuid";
$apps[$x]['destinations'][$y]['field']['uuid'] = "conference_uuid";
$apps[$x]['destinations'][$y]['field']['name'] = "conference_name";
$apps[$x]['destinations'][$y]['field']['destination'] = "conference_extension";
$apps[$x]['destinations'][$y]['field']['extension'] = "conference_extension";

View File

@ -34,7 +34,7 @@
$apps[$x]['destinations'][$y]['type'] = "sql";
$apps[$x]['destinations'][$y]['label'] = "destinations";
$apps[$x]['destinations'][$y]['name'] = "destinations";
$apps[$x]['destinations'][$y]['sql'] = "select destination_uuid, destination_number, destination_context, destination_description from v_destinations ";
$apps[$x]['destinations'][$y]['sql'] = "select destination_uuid, destination_uuid as uuid, destination_number, destination_context, destination_description from v_destinations ";
$apps[$x]['destinations'][$y]['where'] = "where (domain_uuid = '\${domain_uuid}' or domain_uuid is null) and (destination_type = 'outbound' or destination_type = 'local') and destination_enabled = 'true' ";
$apps[$x]['destinations'][$y]['order_by'] = "destination_number asc";
$apps[$x]['destinations'][$y]['field']['destination_uuid'] = "destination_uuid";

View File

@ -1632,30 +1632,6 @@ $text['label-break']['zh-cn'] = "休息";
$text['label-break']['ja-jp'] = "壊す";
$text['label-break']['ko-kr'] = "부서지다";
$text['label-application']['en-us'] = "Application";
$text['label-application']['en-gb'] = "Application";
$text['label-application']['ar-eg'] = "التطبيق";
$text['label-application']['de-at'] = "Anwendung";
$text['label-application']['de-ch'] = "Anwendung";
$text['label-application']['de-de'] = "Anwendung";
$text['label-application']['es-cl'] = "Aplicación";
$text['label-application']['es-mx'] = "Aplicación";
$text['label-application']['fr-ca'] = "Application";
$text['label-application']['fr-fr'] = "Application";
$text['label-application']['he-il'] = "אפליקציה";
$text['label-application']['it-it'] = "Applicazione";
$text['label-application']['nl-nl'] = "Toepassing";
$text['label-application']['pl-pl'] = "Aplikacja";
$text['label-application']['pt-br'] = "Aplicação";
$text['label-application']['pt-pt'] = "Aplicação";
$text['label-application']['ro-ro'] = "Aplicație";
$text['label-application']['ru-ru'] = "Приложение";
$text['label-application']['sv-se'] = "Applikation";
$text['label-application']['uk-ua'] = "Додаток";
$text['label-application']['zh-cn'] = "应用";
$text['label-application']['ja-jp'] = "応用";
$text['label-application']['ko-kr'] = "애플리케이션";
$text['label-action_2']['en-us'] = "Action 2";
$text['label-action_2']['en-gb'] = "Action 2";
$text['label-action_2']['ar-eg'] = "الإجراء 2";

View File

@ -34,7 +34,7 @@
$apps[$x]['destinations'][$y]['type'] = "sql";
$apps[$x]['destinations'][$y]['label'] = "extensions";
$apps[$x]['destinations'][$y]['name'] = "extensions";
$apps[$x]['destinations'][$y]['sql'] = "select extension_uuid, extension, number_alias, user_context as context, description from v_extensions ";
$apps[$x]['destinations'][$y]['sql'] = "select extension_uuid, extension_uuid as uuid, extension, number_alias, effective_caller_id_name as name, user_context as context, description from v_extensions ";
$apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and enabled = 'true' ";
$apps[$x]['destinations'][$y]['order_by'] = "number_alias, extension asc";
$apps[$x]['destinations'][$y]['field']['extension_uuid'] = "extension_uuid";

View File

@ -36,6 +36,8 @@
$apps[$x]['destinations'][$y]['name'] = "fax";
$apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' ";
$apps[$x]['destinations'][$y]['order_by'] = "fax_extension asc";
$apps[$x]['destinations'][$y]['field']['fax_uuid'] = "fax_uuid";
$apps[$x]['destinations'][$y]['field']['uuid'] = "fax_uuid";
$apps[$x]['destinations'][$y]['field']['name'] = "fax_name";
$apps[$x]['destinations'][$y]['field']['destination'] = "fax_extension";
$apps[$x]['destinations'][$y]['field']['extension'] = "fax_extension";

View File

@ -37,6 +37,7 @@
$apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and ivr_menu_enabled = 'true' ";
$apps[$x]['destinations'][$y]['order_by'] = "ivr_menu_extension asc";
$apps[$x]['destinations'][$y]['field']['ivr_menu_uuid'] = "ivr_menu_uuid";
$apps[$x]['destinations'][$y]['field']['uuid'] = "ivr_menu_uuid";
$apps[$x]['destinations'][$y]['field']['name'] = "ivr_menu_name";
$apps[$x]['destinations'][$y]['field']['destination'] = "ivr_menu_extension";
$apps[$x]['destinations'][$y]['field']['extension'] = "ivr_menu_extension";

View File

@ -37,6 +37,7 @@
$apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and ring_group_enabled = 'true' ";
$apps[$x]['destinations'][$y]['order_by'] = "ring_group_extension asc";
$apps[$x]['destinations'][$y]['field']['ring_group_uuid'] = "ring_group_uuid";
$apps[$x]['destinations'][$y]['field']['uuid'] = "ring_group_uuid";
$apps[$x]['destinations'][$y]['field']['name'] = "ring_group_name";
$apps[$x]['destinations'][$y]['field']['destination'] = "ring_group_extension";
$apps[$x]['destinations'][$y]['field']['extension'] = "ring_group_extension";
@ -132,7 +133,6 @@
$y++;
$apps[$x]['permissions'][$y]['name'] = "ring_group_domain";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "ring_group_all";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";

View File

@ -34,7 +34,7 @@
$apps[$x]['destinations'][$y]['type'] = "sql";
$apps[$x]['destinations'][$y]['label'] = "time_conditions";
$apps[$x]['destinations'][$y]['name'] = "time_conditions";
$apps[$x]['destinations'][$y]['sql'] = "select dialplan_name as name, dialplan_number as destination, dialplan_number as extension, dialplan_context as context, dialplan_description as description from v_dialplans ";
$apps[$x]['destinations'][$y]['sql'] = "select dialplan_uuid as time_condition_uuid, dialplan_uuid as uuid, dialplan_name as name, dialplan_number as destination, dialplan_number as extension, dialplan_context as context, dialplan_description as description from v_dialplans ";
$apps[$x]['destinations'][$y]['where'] = "where (domain_uuid = '\${domain_uuid}' or domain_uuid is null) and app_uuid = '4b821450-926b-175a-af93-a03c441818b1' and dialplan_enabled = 'true' ";
$apps[$x]['destinations'][$y]['order_by'] = "dialplan_number asc";
$apps[$x]['destinations'][$y]['field']['context'] = "context";

View File

@ -34,12 +34,14 @@
$apps[$x]['destinations'][$y]['type'] = "sql";
$apps[$x]['destinations'][$y]['label'] = "voicemails";
$apps[$x]['destinations'][$y]['name'] = "voicemails";
$apps[$x]['destinations'][$y]['sql'] = "select voicemail_uuid, voicemail_id as destination, '*99' || voicemail_id as extension, voicemail_description as description from v_voicemails";
$apps[$x]['destinations'][$y]['sql'] = "select voicemail_uuid, voicemail_uuid as uuid, voicemail_id as destination, '*99' || voicemail_id as extension, voicemail_description as description from v_voicemails";
$apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and voicemail_enabled = 'true' ";
$apps[$x]['destinations'][$y]['order_by'] = "voicemail_id asc ";
$apps[$x]['destinations'][$y]['field']['uuid'] = "voicemail_uuid";
$apps[$x]['destinations'][$y]['field']['voicemail_uuid'] = "voicemail_uuid";
$apps[$x]['destinations'][$y]['field']['destination'] = "voicemail_id";
$apps[$x]['destinations'][$y]['field']['extension'] = "voicemail_id";
$apps[$x]['destinations'][$y]['field']['name'] = "voicemail_description";
$apps[$x]['destinations'][$y]['field']['description'] = "voicemail_description";
$apps[$x]['destinations'][$y]['select_value']['dialplan'] = "transfer:*99\${destination} XML \${context}";
$apps[$x]['destinations'][$y]['select_value']['ivr'] = "menu-exec-app:transfer *99\${destination} XML \${context}";

View File

@ -354,6 +354,14 @@
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Limit allowed range of addresses for CDR over HTTP POST.";
$y++;
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "7b9a5a95-a964-4fa1-b1b6-7641ca478405";
$apps[$x]['default_settings'][$y]['default_setting_category'] = "cdr";
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "summary_style";
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
$apps[$x]['default_settings'][$y]['default_setting_value'] = "horizontal";
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Options: horizontal, vertical";
$y++;
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "9d6ba316-a954-476b-9d8c-4520c3c69d2c";
$apps[$x]['default_settings'][$y]['default_setting_category'] = "dashboard";
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "missed_calls_chart_main_background_color";

View File

@ -168,269 +168,269 @@ $text['title-advanced_search']['zh-cn'] = "高级搜索";
$text['title-advanced_search']['ja-jp'] = "高度な検索";
$text['title-advanced_search']['ko-kr'] = "고급 검색";
$text['table-time']['en-us'] = "Time";
$text['table-time']['en-gb'] = "Time";
$text['table-time']['ar-eg'] = "وقت";
$text['table-time']['de-at'] = "Zeit";
$text['table-time']['de-ch'] = "Zeit";
$text['table-time']['de-de'] = "Zeit";
$text['table-time']['es-cl'] = "Tiempo";
$text['table-time']['es-mx'] = "Tiempo";
$text['table-time']['fr-ca'] = "Temps";
$text['table-time']['fr-fr'] = "Temps";
$text['table-time']['he-il'] = "זְמַן";
$text['table-time']['it-it'] = "Tempo";
$text['table-time']['nl-nl'] = "Tijd";
$text['table-time']['pl-pl'] = "Czas";
$text['table-time']['pt-br'] = "Tempo";
$text['table-time']['pt-pt'] = "Tempo";
$text['table-time']['ro-ro'] = "Timp";
$text['table-time']['ru-ru'] = "Время";
$text['table-time']['sv-se'] = "Tid";
$text['table-time']['uk-ua'] = "Час";
$text['table-time']['zh-cn'] = "时间";
$text['table-time']['ja-jp'] = "時間";
$text['table-time']['ko-kr'] = "시간";
$text['label-time']['en-us'] = "Time";
$text['label-time']['en-gb'] = "Time";
$text['label-time']['ar-eg'] = "وقت";
$text['label-time']['de-at'] = "Zeit";
$text['label-time']['de-ch'] = "Zeit";
$text['label-time']['de-de'] = "Zeit";
$text['label-time']['es-cl'] = "Tiempo";
$text['label-time']['es-mx'] = "Tiempo";
$text['label-time']['fr-ca'] = "Temps";
$text['label-time']['fr-fr'] = "Temps";
$text['label-time']['he-il'] = "זְמַן";
$text['label-time']['it-it'] = "Tempo";
$text['label-time']['nl-nl'] = "Tijd";
$text['label-time']['pl-pl'] = "Czas";
$text['label-time']['pt-br'] = "Tempo";
$text['label-time']['pt-pt'] = "Tempo";
$text['label-time']['ro-ro'] = "Timp";
$text['label-time']['ru-ru'] = "Время";
$text['label-time']['sv-se'] = "Tid";
$text['label-time']['uk-ua'] = "Час";
$text['label-time']['zh-cn'] = "时间";
$text['label-time']['ja-jp'] = "時間";
$text['label-time']['ko-kr'] = "시간";
$text['table-name']['en-us'] = "Name";
$text['table-name']['en-gb'] = "Name";
$text['table-name']['ar-eg'] = "اسم";
$text['table-name']['de-at'] = "Name";
$text['table-name']['de-ch'] = "Name";
$text['table-name']['de-de'] = "Name";
$text['table-name']['es-cl'] = "Nombre";
$text['table-name']['es-mx'] = "Nombre";
$text['table-name']['fr-ca'] = "Nom";
$text['table-name']['fr-fr'] = "Nom";
$text['table-name']['he-il'] = "שֵׁם";
$text['table-name']['it-it'] = "Nome";
$text['table-name']['nl-nl'] = "Naam";
$text['table-name']['pl-pl'] = "Nazwa";
$text['table-name']['pt-br'] = "Nome";
$text['table-name']['pt-pt'] = "Nome";
$text['table-name']['ro-ro'] = "Nume";
$text['table-name']['ru-ru'] = "Имя";
$text['table-name']['sv-se'] = "Namn";
$text['table-name']['uk-ua'] = "Назва";
$text['table-name']['zh-cn'] = "姓名";
$text['table-name']['ja-jp'] = "名前";
$text['table-name']['ko-kr'] = "이름";
$text['label-name']['en-us'] = "Name";
$text['label-name']['en-gb'] = "Name";
$text['label-name']['ar-eg'] = "اسم";
$text['label-name']['de-at'] = "Name";
$text['label-name']['de-ch'] = "Name";
$text['label-name']['de-de'] = "Name";
$text['label-name']['es-cl'] = "Nombre";
$text['label-name']['es-mx'] = "Nombre";
$text['label-name']['fr-ca'] = "Nom";
$text['label-name']['fr-fr'] = "Nom";
$text['label-name']['he-il'] = "שֵׁם";
$text['label-name']['it-it'] = "Nome";
$text['label-name']['nl-nl'] = "Naam";
$text['label-name']['pl-pl'] = "Nazwa";
$text['label-name']['pt-br'] = "Nome";
$text['label-name']['pt-pt'] = "Nome";
$text['label-name']['ro-ro'] = "Nume";
$text['label-name']['ru-ru'] = "Имя";
$text['label-name']['sv-se'] = "Namn";
$text['label-name']['uk-ua'] = "Назва";
$text['label-name']['zh-cn'] = "姓名";
$text['label-name']['ja-jp'] = "名前";
$text['label-name']['ko-kr'] = "이름";
$text['table-missed']['en-us'] = "Missed";
$text['table-missed']['en-gb'] = "Missed";
$text['table-missed']['ar-eg'] = "مٌفتَقد";
$text['table-missed']['de-at'] = "Verpasst";
$text['table-missed']['de-ch'] = "Verpasst";
$text['table-missed']['de-de'] = "Verpasst";
$text['table-missed']['es-cl'] = "Perdidas";
$text['table-missed']['es-mx'] = "Perdidas";
$text['table-missed']['fr-ca'] = "Perdus";
$text['table-missed']['fr-fr'] = "Perdus";
$text['table-missed']['he-il'] = "החמצה";
$text['table-missed']['it-it'] = "Perse";
$text['table-missed']['nl-nl'] = "gemist";
$text['table-missed']['pl-pl'] = "Nieodebrane";
$text['table-missed']['pt-br'] = "Perdidas";
$text['table-missed']['pt-pt'] = "Perdidas";
$text['table-missed']['ro-ro'] = "ratat";
$text['table-missed']['ru-ru'] = "Пропущщеные";
$text['table-missed']['sv-se'] = "Missat";
$text['table-missed']['uk-ua'] = "Пропущений";
$text['table-missed']['zh-cn'] = "错过了";
$text['table-missed']['ja-jp'] = "逃した";
$text['table-missed']['ko-kr'] = "놓친";
$text['label-missed']['en-us'] = "Missed";
$text['label-missed']['en-gb'] = "Missed";
$text['label-missed']['ar-eg'] = "مٌفتَقد";
$text['label-missed']['de-at'] = "Verpasst";
$text['label-missed']['de-ch'] = "Verpasst";
$text['label-missed']['de-de'] = "Verpasst";
$text['label-missed']['es-cl'] = "Perdidas";
$text['label-missed']['es-mx'] = "Perdidas";
$text['label-missed']['fr-ca'] = "Perdus";
$text['label-missed']['fr-fr'] = "Perdus";
$text['label-missed']['he-il'] = "החמצה";
$text['label-missed']['it-it'] = "Perse";
$text['label-missed']['nl-nl'] = "gemist";
$text['label-missed']['pl-pl'] = "Nieodebrane";
$text['label-missed']['pt-br'] = "Perdidas";
$text['label-missed']['pt-pt'] = "Perdidas";
$text['label-missed']['ro-ro'] = "ratat";
$text['label-missed']['ru-ru'] = "Пропущщеные";
$text['label-missed']['sv-se'] = "Missat";
$text['label-missed']['uk-ua'] = "Пропущений";
$text['label-missed']['zh-cn'] = "错过了";
$text['label-missed']['ja-jp'] = "逃した";
$text['label-missed']['ko-kr'] = "놓친";
$text['table-minutes']['en-us'] = "Minutes";
$text['table-minutes']['en-gb'] = "Minutes";
$text['table-minutes']['ar-eg'] = "دقائق";
$text['table-minutes']['de-at'] = "Minuten";
$text['table-minutes']['de-ch'] = "Minuten";
$text['table-minutes']['de-de'] = "Minuten";
$text['table-minutes']['es-cl'] = "Minutos";
$text['table-minutes']['es-mx'] = "Minutos";
$text['table-minutes']['fr-ca'] = "Minutes";
$text['table-minutes']['fr-fr'] = "Minutes";
$text['table-minutes']['he-il'] = "דקות";
$text['table-minutes']['it-it'] = "Minuti";
$text['table-minutes']['nl-nl'] = "Minuten";
$text['table-minutes']['pl-pl'] = "Ilość minut";
$text['table-minutes']['pt-br'] = "Minutos";
$text['table-minutes']['pt-pt'] = "Minutos";
$text['table-minutes']['ro-ro'] = "Minute";
$text['table-minutes']['ru-ru'] = "Минут";
$text['table-minutes']['sv-se'] = "Minuter";
$text['table-minutes']['uk-ua'] = "Хвилини";
$text['table-minutes']['zh-cn'] = "分钟";
$text['table-minutes']['ja-jp'] = "";
$text['table-minutes']['ko-kr'] = "";
$text['label-minutes']['en-us'] = "Minutes";
$text['label-minutes']['en-gb'] = "Minutes";
$text['label-minutes']['ar-eg'] = "دقائق";
$text['label-minutes']['de-at'] = "Minuten";
$text['label-minutes']['de-ch'] = "Minuten";
$text['label-minutes']['de-de'] = "Minuten";
$text['label-minutes']['es-cl'] = "Minutos";
$text['label-minutes']['es-mx'] = "Minutos";
$text['label-minutes']['fr-ca'] = "Minutes";
$text['label-minutes']['fr-fr'] = "Minutes";
$text['label-minutes']['he-il'] = "דקות";
$text['label-minutes']['it-it'] = "Minuti";
$text['label-minutes']['nl-nl'] = "Minuten";
$text['label-minutes']['pl-pl'] = "Ilość minut";
$text['label-minutes']['pt-br'] = "Minutos";
$text['label-minutes']['pt-pt'] = "Minutos";
$text['label-minutes']['ro-ro'] = "Minute";
$text['label-minutes']['ru-ru'] = "Минут";
$text['label-minutes']['sv-se'] = "Minuter";
$text['label-minutes']['uk-ua'] = "Хвилини";
$text['label-minutes']['zh-cn'] = "分钟";
$text['label-minutes']['ja-jp'] = "";
$text['label-minutes']['ko-kr'] = "";
$text['table-hours']['en-us'] = "Hours";
$text['table-hours']['en-gb'] = "Hours";
$text['table-hours']['ar-eg'] = "ساعات";
$text['table-hours']['de-at'] = "Stunden";
$text['table-hours']['de-ch'] = "Stunden";
$text['table-hours']['de-de'] = "Stunden";
$text['table-hours']['es-cl'] = "Horas";
$text['table-hours']['es-mx'] = "Horas";
$text['table-hours']['fr-ca'] = "Heures";
$text['table-hours']['fr-fr'] = "Heures";
$text['table-hours']['he-il'] = "שעה (ות";
$text['table-hours']['it-it'] = "Ore";
$text['table-hours']['nl-nl'] = "Uur";
$text['table-hours']['pl-pl'] = "Godziny";
$text['table-hours']['pt-br'] = "Horas ";
$text['table-hours']['pt-pt'] = "Horas";
$text['table-hours']['ro-ro'] = "Ore";
$text['table-hours']['ru-ru'] = "Часов";
$text['table-hours']['sv-se'] = "Timmar";
$text['table-hours']['uk-ua'] = "Години";
$text['table-hours']['zh-cn'] = "小时";
$text['table-hours']['ja-jp'] = "時間";
$text['table-hours']['ko-kr'] = "시간";
$text['label-hours']['en-us'] = "Hours";
$text['label-hours']['en-gb'] = "Hours";
$text['label-hours']['ar-eg'] = "ساعات";
$text['label-hours']['de-at'] = "Stunden";
$text['label-hours']['de-ch'] = "Stunden";
$text['label-hours']['de-de'] = "Stunden";
$text['label-hours']['es-cl'] = "Horas";
$text['label-hours']['es-mx'] = "Horas";
$text['label-hours']['fr-ca'] = "Heures";
$text['label-hours']['fr-fr'] = "Heures";
$text['label-hours']['he-il'] = "שעה (ות";
$text['label-hours']['it-it'] = "Ore";
$text['label-hours']['nl-nl'] = "Uur";
$text['label-hours']['pl-pl'] = "Godziny";
$text['label-hours']['pt-br'] = "Horas ";
$text['label-hours']['pt-pt'] = "Horas";
$text['label-hours']['ro-ro'] = "Ore";
$text['label-hours']['ru-ru'] = "Часов";
$text['label-hours']['sv-se'] = "Timmar";
$text['label-hours']['uk-ua'] = "Години";
$text['label-hours']['zh-cn'] = "小时";
$text['label-hours']['ja-jp'] = "時間";
$text['label-hours']['ko-kr'] = "시간";
$text['table-end']['en-us'] = "End";
$text['table-end']['en-gb'] = "End";
$text['table-end']['ar-eg'] = "نهاية";
$text['table-end']['de-at'] = "Ende";
$text['table-end']['de-ch'] = "Ende";
$text['table-end']['de-de'] = "Ende";
$text['table-end']['es-cl'] = "Fin";
$text['table-end']['es-mx'] = "Fin";
$text['table-end']['fr-ca'] = "Fin";
$text['table-end']['fr-fr'] = "Fin";
$text['table-end']['he-il'] = "סוֹף";
$text['table-end']['it-it'] = "Fine";
$text['table-end']['nl-nl'] = "Einde";
$text['table-end']['pl-pl'] = "Koniec";
$text['table-end']['pt-br'] = "Fim";
$text['table-end']['pt-pt'] = "Fim";
$text['table-end']['ro-ro'] = "Sfârşit";
$text['table-end']['ru-ru'] = "Конец";
$text['table-end']['sv-se'] = "Slut";
$text['table-end']['uk-ua'] = "Кінець";
$text['table-end']['zh-cn'] = "结尾";
$text['table-end']['ja-jp'] = "終わり";
$text['table-end']['ko-kr'] = "";
$text['label-end']['en-us'] = "End";
$text['label-end']['en-gb'] = "End";
$text['label-end']['ar-eg'] = "نهاية";
$text['label-end']['de-at'] = "Ende";
$text['label-end']['de-ch'] = "Ende";
$text['label-end']['de-de'] = "Ende";
$text['label-end']['es-cl'] = "Fin";
$text['label-end']['es-mx'] = "Fin";
$text['label-end']['fr-ca'] = "Fin";
$text['label-end']['fr-fr'] = "Fin";
$text['label-end']['he-il'] = "סוֹף";
$text['label-end']['it-it'] = "Fine";
$text['label-end']['nl-nl'] = "Einde";
$text['label-end']['pl-pl'] = "Koniec";
$text['label-end']['pt-br'] = "Fim";
$text['label-end']['pt-pt'] = "Fim";
$text['label-end']['ro-ro'] = "Sfârşit";
$text['label-end']['ru-ru'] = "Конец";
$text['label-end']['sv-se'] = "Slut";
$text['label-end']['uk-ua'] = "Кінець";
$text['label-end']['zh-cn'] = "结尾";
$text['label-end']['ja-jp'] = "終わり";
$text['label-end']['ko-kr'] = "";
$text['table-download']['en-us'] = "Number";
$text['table-download']['en-gb'] = "Number";
$text['table-download']['ar-eg'] = "رقم";
$text['table-download']['de-at'] = "Nummer";
$text['table-download']['de-ch'] = "Nummer";
$text['table-download']['de-de'] = "Nummer";
$text['table-download']['es-cl'] = "Número";
$text['table-download']['es-mx'] = "Número";
$text['table-download']['fr-ca'] = "Numéro";
$text['table-download']['fr-fr'] = "Numéro";
$text['table-download']['he-il'] = "מספר";
$text['table-download']['it-it'] = "Numero";
$text['table-download']['nl-nl'] = "Nummer";
$text['table-download']['pl-pl'] = "Numer";
$text['table-download']['pt-br'] = "Número";
$text['table-download']['pt-pt'] = "Número";
$text['table-download']['ro-ro'] = "Număr";
$text['table-download']['ru-ru'] = "Номер";
$text['table-download']['sv-se'] = "Nummer";
$text['table-download']['uk-ua'] = "Скачати";
$text['table-download']['zh-cn'] = "数字";
$text['table-download']['ja-jp'] = "番号";
$text['table-download']['ko-kr'] = "숫자";
$text['label-download']['en-us'] = "Number";
$text['label-download']['en-gb'] = "Number";
$text['label-download']['ar-eg'] = "رقم";
$text['label-download']['de-at'] = "Nummer";
$text['label-download']['de-ch'] = "Nummer";
$text['label-download']['de-de'] = "Nummer";
$text['label-download']['es-cl'] = "Número";
$text['label-download']['es-mx'] = "Número";
$text['label-download']['fr-ca'] = "Numéro";
$text['label-download']['fr-fr'] = "Numéro";
$text['label-download']['he-il'] = "מספר";
$text['label-download']['it-it'] = "Numero";
$text['label-download']['nl-nl'] = "Nummer";
$text['label-download']['pl-pl'] = "Numer";
$text['label-download']['pt-br'] = "Número";
$text['label-download']['pt-pt'] = "Número";
$text['label-download']['ro-ro'] = "Număr";
$text['label-download']['ru-ru'] = "Номер";
$text['label-download']['sv-se'] = "Nummer";
$text['label-download']['uk-ua'] = "Скачати";
$text['label-download']['zh-cn'] = "数字";
$text['label-download']['ja-jp'] = "番号";
$text['label-download']['ko-kr'] = "숫자";
$text['table-direction']['en-us'] = "Direction";
$text['table-direction']['en-gb'] = "Direction";
$text['table-direction']['ar-eg'] = "اتجاه";
$text['table-direction']['de-at'] = "Richtung";
$text['table-direction']['de-ch'] = "Richtung";
$text['table-direction']['de-de'] = "Richtung";
$text['table-direction']['es-cl'] = "Dirección";
$text['table-direction']['es-mx'] = "Dirección";
$text['table-direction']['fr-ca'] = "Direction";
$text['table-direction']['fr-fr'] = "Direction";
$text['table-direction']['he-il'] = "כיוון";
$text['table-direction']['it-it'] = "Direzione";
$text['table-direction']['nl-nl'] = "Richting";
$text['table-direction']['pl-pl'] = "Kierunek";
$text['table-direction']['pt-br'] = "Direção";
$text['table-direction']['pt-pt'] = "Direcção";
$text['table-direction']['ro-ro'] = "Direcţie";
$text['table-direction']['ru-ru'] = "Направление";
$text['table-direction']['sv-se'] = "Riktning";
$text['table-direction']['uk-ua'] = "Напрям";
$text['table-direction']['zh-cn'] = "方向";
$text['table-direction']['ja-jp'] = "方向";
$text['table-direction']['ko-kr'] = "방향";
$text['label-direction']['en-us'] = "Direction";
$text['label-direction']['en-gb'] = "Direction";
$text['label-direction']['ar-eg'] = "اتجاه";
$text['label-direction']['de-at'] = "Richtung";
$text['label-direction']['de-ch'] = "Richtung";
$text['label-direction']['de-de'] = "Richtung";
$text['label-direction']['es-cl'] = "Dirección";
$text['label-direction']['es-mx'] = "Dirección";
$text['label-direction']['fr-ca'] = "Direction";
$text['label-direction']['fr-fr'] = "Direction";
$text['label-direction']['he-il'] = "כיוון";
$text['label-direction']['it-it'] = "Direzione";
$text['label-direction']['nl-nl'] = "Richting";
$text['label-direction']['pl-pl'] = "Kierunek";
$text['label-direction']['pt-br'] = "Direção";
$text['label-direction']['pt-pt'] = "Direcção";
$text['label-direction']['ro-ro'] = "Direcţie";
$text['label-direction']['ru-ru'] = "Направление";
$text['label-direction']['sv-se'] = "Riktning";
$text['label-direction']['uk-ua'] = "Напрям";
$text['label-direction']['zh-cn'] = "方向";
$text['label-direction']['ja-jp'] = "方向";
$text['label-direction']['ko-kr'] = "방향";
$text['table-days']['en-us'] = "Days";
$text['table-days']['en-gb'] = "Days";
$text['table-days']['ar-eg'] = "أيام";
$text['table-days']['de-at'] = "Tage";
$text['table-days']['de-ch'] = "Tage";
$text['table-days']['de-de'] = "Tage";
$text['table-days']['es-cl'] = "Días";
$text['table-days']['es-mx'] = "Días";
$text['table-days']['fr-ca'] = "Jours";
$text['table-days']['fr-fr'] = "Jours";
$text['table-days']['he-il'] = "ימים";
$text['table-days']['it-it'] = "Giorni";
$text['table-days']['nl-nl'] = "Dagen";
$text['table-days']['pl-pl'] = "Dni";
$text['table-days']['pt-br'] = "Dias";
$text['table-days']['pt-pt'] = "Dias";
$text['table-days']['ro-ro'] = "Zile";
$text['table-days']['ru-ru'] = "Дни";
$text['table-days']['sv-se'] = "Dagar";
$text['table-days']['uk-ua'] = "Дні";
$text['table-days']['zh-cn'] = "";
$text['table-days']['ja-jp'] = "日々";
$text['table-days']['ko-kr'] = "";
$text['label-days']['en-us'] = "Days";
$text['label-days']['en-gb'] = "Days";
$text['label-days']['ar-eg'] = "أيام";
$text['label-days']['de-at'] = "Tage";
$text['label-days']['de-ch'] = "Tage";
$text['label-days']['de-de'] = "Tage";
$text['label-days']['es-cl'] = "Días";
$text['label-days']['es-mx'] = "Días";
$text['label-days']['fr-ca'] = "Jours";
$text['label-days']['fr-fr'] = "Jours";
$text['label-days']['he-il'] = "ימים";
$text['label-days']['it-it'] = "Giorni";
$text['label-days']['nl-nl'] = "Dagen";
$text['label-days']['pl-pl'] = "Dni";
$text['label-days']['pt-br'] = "Dias";
$text['label-days']['pt-pt'] = "Dias";
$text['label-days']['ro-ro'] = "Zile";
$text['label-days']['ru-ru'] = "Дни";
$text['label-days']['sv-se'] = "Dagar";
$text['label-days']['uk-ua'] = "Дні";
$text['label-days']['zh-cn'] = "";
$text['label-days']['ja-jp'] = "日々";
$text['label-days']['ko-kr'] = "";
$text['table-date']['en-us'] = "Date";
$text['table-date']['en-gb'] = "Date";
$text['table-date']['ar-eg'] = "تاريخ";
$text['table-date']['de-at'] = "Datum";
$text['table-date']['de-ch'] = "Datum";
$text['table-date']['de-de'] = "Datum";
$text['table-date']['es-cl'] = "Fecha";
$text['table-date']['es-mx'] = "Fecha";
$text['table-date']['fr-ca'] = "Date";
$text['table-date']['fr-fr'] = "Date";
$text['table-date']['he-il'] = "תַאֲרִיך";
$text['table-date']['it-it'] = "Data";
$text['table-date']['nl-nl'] = "Datum";
$text['table-date']['pl-pl'] = "Data";
$text['table-date']['pt-br'] = "Data";
$text['table-date']['pt-pt'] = "Data";
$text['table-date']['ro-ro'] = "Data";
$text['table-date']['ru-ru'] = "Дата";
$text['table-date']['sv-se'] = "Datum";
$text['table-date']['uk-ua'] = "Дата";
$text['table-date']['zh-cn'] = "日期";
$text['table-date']['ja-jp'] = "日にち";
$text['table-date']['ko-kr'] = "날짜";
$text['label-date']['en-us'] = "Date";
$text['label-date']['en-gb'] = "Date";
$text['label-date']['ar-eg'] = "تاريخ";
$text['label-date']['de-at'] = "Datum";
$text['label-date']['de-ch'] = "Datum";
$text['label-date']['de-de'] = "Datum";
$text['label-date']['es-cl'] = "Fecha";
$text['label-date']['es-mx'] = "Fecha";
$text['label-date']['fr-ca'] = "Date";
$text['label-date']['fr-fr'] = "Date";
$text['label-date']['he-il'] = "תַאֲרִיך";
$text['label-date']['it-it'] = "Data";
$text['label-date']['nl-nl'] = "Datum";
$text['label-date']['pl-pl'] = "Data";
$text['label-date']['pt-br'] = "Data";
$text['label-date']['pt-pt'] = "Data";
$text['label-date']['ro-ro'] = "Data";
$text['label-date']['ru-ru'] = "Дата";
$text['label-date']['sv-se'] = "Datum";
$text['label-date']['uk-ua'] = "Дата";
$text['label-date']['zh-cn'] = "日期";
$text['label-date']['ja-jp'] = "日にち";
$text['label-date']['ko-kr'] = "날짜";
$text['table-calls-per-minute']['en-us'] = "Calls Per Min";
$text['table-calls-per-minute']['en-gb'] = "Calls Per Min";
$text['table-calls-per-minute']['ar-eg'] = "المكالمات في الدقيقة";
$text['table-calls-per-minute']['de-at'] = "Anrufe pro Min";
$text['table-calls-per-minute']['de-ch'] = "Anrufe pro Min";
$text['table-calls-per-minute']['de-de'] = "Anrufe pro Min";
$text['table-calls-per-minute']['es-cl'] = "Llamadas por minutos";
$text['table-calls-per-minute']['es-mx'] = "Llamadas por minutos";
$text['table-calls-per-minute']['fr-ca'] = "Appels par minute";
$text['table-calls-per-minute']['fr-fr'] = "Appels par minute";
$text['table-calls-per-minute']['he-il'] = "שיחות לדקה";
$text['table-calls-per-minute']['it-it'] = "Chiamate al Minuto";
$text['table-calls-per-minute']['nl-nl'] = "Oproepen per minuut";
$text['table-calls-per-minute']['pl-pl'] = "Ilość rozmów na minutę";
$text['table-calls-per-minute']['pt-br'] = "Chamadas por minuto";
$text['table-calls-per-minute']['pt-pt'] = "Chamadas por minuto";
$text['table-calls-per-minute']['ro-ro'] = "Apeluri pe minut";
$text['table-calls-per-minute']['ru-ru'] = "Вызовов в минуту";
$text['table-calls-per-minute']['sv-se'] = "Samtal Per Minut";
$text['table-calls-per-minute']['uk-ua'] = "Дзвінки за хвилину";
$text['table-calls-per-minute']['zh-cn'] = "每分钟通话次数";
$text['table-calls-per-minute']['ja-jp'] = "1分あたりの通話数";
$text['table-calls-per-minute']['ko-kr'] = "분당 통화";
$text['label-calls-per-minute']['en-us'] = "Calls Per Min";
$text['label-calls-per-minute']['en-gb'] = "Calls Per Min";
$text['label-calls-per-minute']['ar-eg'] = "المكالمات في الدقيقة";
$text['label-calls-per-minute']['de-at'] = "Anrufe pro Min";
$text['label-calls-per-minute']['de-ch'] = "Anrufe pro Min";
$text['label-calls-per-minute']['de-de'] = "Anrufe pro Min";
$text['label-calls-per-minute']['es-cl'] = "Llamadas por minutos";
$text['label-calls-per-minute']['es-mx'] = "Llamadas por minutos";
$text['label-calls-per-minute']['fr-ca'] = "Appels par minute";
$text['label-calls-per-minute']['fr-fr'] = "Appels par minute";
$text['label-calls-per-minute']['he-il'] = "שיחות לדקה";
$text['label-calls-per-minute']['it-it'] = "Chiamate al Minuto";
$text['label-calls-per-minute']['nl-nl'] = "Oproepen per minuut";
$text['label-calls-per-minute']['pl-pl'] = "Ilość rozmów na minutę";
$text['label-calls-per-minute']['pt-br'] = "Chamadas por minuto";
$text['label-calls-per-minute']['pt-pt'] = "Chamadas por minuto";
$text['label-calls-per-minute']['ro-ro'] = "Apeluri pe minut";
$text['label-calls-per-minute']['ru-ru'] = "Вызовов в минуту";
$text['label-calls-per-minute']['sv-se'] = "Samtal Per Minut";
$text['label-calls-per-minute']['uk-ua'] = "Дзвінки за хвилину";
$text['label-calls-per-minute']['zh-cn'] = "每分钟通话次数";
$text['label-calls-per-minute']['ja-jp'] = "1分あたりの通話数";
$text['label-calls-per-minute']['ko-kr'] = "분당 통화";
$text['option-yesterday']['en-us'] = "Yesterday";
$text['option-yesterday']['en-gb'] = "Yesterday";
@ -2304,6 +2304,54 @@ $text['label-caller_id_number']['zh-cn'] = "来电号码";
$text['label-caller_id_number']['ja-jp'] = "発信者番号";
$text['label-caller_id_number']['ko-kr'] = "발신자 번호";
$text['label-outbound_caller_id_number']['en-us'] = "Outbound Caller ID Number";
$text['label-outbound_caller_id_number']['en-gb'] = "Outbound Caller ID Number";
$text['label-outbound_caller_id_number']['ar-eg'] = "رقم هوية المتصل";
$text['label-outbound_caller_id_number']['de-at'] = "Ausgehende Anruferkennung (Nummer)";
$text['label-outbound_caller_id_number']['de-ch'] = "Ausgehende Anruferkennung (Nummer)";
$text['label-outbound_caller_id_number']['de-de'] = "Ausgehende Anruferkennung (Nummer)";
$text['label-outbound_caller_id_number']['es-cl'] = "Número de Caller ID Saliente";
$text['label-outbound_caller_id_number']['es-mx'] = "Número de Caller ID Saliente";
$text['label-outbound_caller_id_number']['fr-ca'] = "Numéro d'identification de l'appelant sortant";
$text['label-outbound_caller_id_number']['fr-fr'] = "Numéro d'identification de l'appelant sortant";
$text['label-outbound_caller_id_number']['he-il'] = "מספר זיהוי מתקשר יוצא";
$text['label-outbound_caller_id_number']['it-it'] = "ID Numero Chiamante Esterno";
$text['label-outbound_caller_id_number']['nl-nl'] = "Uitgaand CID nummer";
$text['label-outbound_caller_id_number']['pl-pl'] = "Numer prezentowany w rozmowach wychodzacych ";
$text['label-outbound_caller_id_number']['pt-br'] = "Número de ID de Saída";
$text['label-outbound_caller_id_number']['pt-pt'] = "Número público";
$text['label-outbound_caller_id_number']['ro-ro'] = "Număr ID apelant de ieșire";
$text['label-outbound_caller_id_number']['ru-ru'] = "Идентификатор (Caller ID) номера вызывающего абонента";
$text['label-outbound_caller_id_number']['sv-se'] = "Utgående Nummerpresentation";
$text['label-outbound_caller_id_number']['uk-ua'] = "Вихідний номер ідентифікатора абонента";
$text['label-outbound_caller_id_number']['zh-cn'] = "外拨来电显示号码";
$text['label-outbound_caller_id_number']['ja-jp'] = "発信者ID番号";
$text['label-outbound_caller_id_number']['ko-kr'] = "아웃바운드 발신자 ID 번호";
$text['label-outbound_caller_id_name']['en-us'] = "Outbound Caller ID Name";
$text['label-outbound_caller_id_name']['en-gb'] = "Outbound Caller ID Name";
$text['label-outbound_caller_id_name']['ar-eg'] = "اسم معرف المتصل الصادر";
$text['label-outbound_caller_id_name']['de-at'] = "Ausgehende Anruferkennung (Name)";
$text['label-outbound_caller_id_name']['de-ch'] = "Ausgehende Anruferkennung (Name)";
$text['label-outbound_caller_id_name']['de-de'] = "Ausgehende Anruferkennung (Name)";
$text['label-outbound_caller_id_name']['es-cl'] = "Nombre de Caller ID Saliente";
$text['label-outbound_caller_id_name']['es-mx'] = "Nombre de Caller ID Saliente";
$text['label-outbound_caller_id_name']['fr-ca'] = "Nom de l'appelant sortant";
$text['label-outbound_caller_id_name']['fr-fr'] = "Nom de l'appelant sortant";
$text['label-outbound_caller_id_name']['he-il'] = "שם פרטי Caller ID";
$text['label-outbound_caller_id_name']['it-it'] = "ID Nome Chiamante Esterno";
$text['label-outbound_caller_id_name']['nl-nl'] = "Uitgaand CID Naam";
$text['label-outbound_caller_id_name']['pl-pl'] = "Nazwa prezentowana w rozmowach wychodzacych";
$text['label-outbound_caller_id_name']['pt-br'] = "Nome de ID de Saída";
$text['label-outbound_caller_id_name']['pt-pt'] = "Nome público";
$text['label-outbound_caller_id_name']['ro-ro'] = "Nume ID apelant de ieșire";
$text['label-outbound_caller_id_name']['ru-ru'] = "Идентификатор (Caller ID) имени вызывающего абонента";
$text['label-outbound_caller_id_name']['sv-se'] = "Utgående Namnpresentation";
$text['label-outbound_caller_id_name']['uk-ua'] = "Ім'я користувача";
$text['label-outbound_caller_id_name']['zh-cn'] = "出站来电显示名称";
$text['label-outbound_caller_id_name']['ja-jp'] = "発信者ID名";
$text['label-outbound_caller_id_name']['ko-kr'] = "아웃바운드 발신자 ID 이름";
$text['label-caller_destination']['en-us'] = "Caller Destination";
$text['label-caller_destination']['en-gb'] = "Caller Destination";
$text['label-caller_destination']['ar-eg'] = "وجهة المتصل";

View File

@ -857,3 +857,4 @@
//show the footer
require_once "resources/footer.php";
?>

View File

@ -46,6 +46,76 @@
$uuid = $_REQUEST["id"];
}
//get the destination select list
$destination = new destinations;
$destination_array = $destination->get('dialplan');
//get the next ordinal id for the array
$id = count($destination_array);
//get the destinations from the database
$sql = "select * from v_destinations ";
$sql .= "where (domain_uuid = :domain_uuid or domain_uuid is null) ";
$parameters['domain_uuid'] = $_SESSION['domain_uuid'];
$database = new database;
$destinations = $database->select($sql, $parameters, 'all');
if (!empty($destinations)) {
foreach($destinations as $row) {
$destination_array['destinations'][$id]['application'] = 'destinations';
$destination_array['destinations'][$id]['destination_uuid'] = $row["destination_uuid"];
$destination_array['destinations'][$id]['uuid'] = $row["destination_uuid"];
$destination_array['destinations'][$id]['dialplan_uuid'] = $row["dialplan_uuid"];
$destination_array['destinations'][$id]['destination_type'] = $row["destination_type"];
$destination_array['destinations'][$id]['destination_prefix'] = $row["destination_prefix"];
$destination_array['destinations'][$id]['destination_number'] = $row["destination_number"];
$destination_array['destinations'][$id]['extension'] = $row["destination_prefix"] . $row["destination_number"];
$destination_array['destinations'][$id]['destination_trunk_prefix'] = $row["destination_trunk_prefix"];
$destination_array['destinations'][$id]['destination_area_code'] = $row["destination_area_code"];
$destination_array['destinations'][$id]['context'] = $row["destination_context"];
$destination_array['destinations'][$id]['label'] = $row["destination_description"];
$destination_array['destinations'][$id]['destination_enabled'] = $row["destination_enabled"];
$destination_array['destinations'][$id]['name'] = $row["destination_description"];
$destination_array['destinations'][$id]['description'] = $row["destination_description"];
//$destination_array[$id]['destination_caller_id_name'] = $row["destination_caller_id_name"];
//$destination_array[$id]['destination_caller_id_number'] = $row["destination_caller_id_number"];
$id++;
}
}
unset($sql, $parameters, $row);
//add a function to return the find_app
function find_app($destination_array, $detail_action) {
$result = '';
if (!empty($destination_array)) {
foreach($destination_array as $application => $row) {
if (!empty($row)) {
foreach ($row as $key => $value) {
if ($application == 'destinations') {
if ('+'.$value['destination_prefix'].$value['destination_number'] == $detail_action
or $value['destination_prefix'].$value['destination_number'] == $detail_action
or $value['destination_number'] == $detail_action
or $value['destination_trunk_prefix'].$value['destination_number'] == $detail_action
or '+'.$value['destination_prefix'].$value['destination_area_code'].$value['destination_number'] == $detail_action
or $value['destination_prefix'].$value['destination_area_code'].$value['destination_number'] == $detail_action
or $value['destination_area_code'].$value['destination_number'] == $detail_action) {
if (file_exists($_SERVER["PROJECT_ROOT"]."/app/".$application."/app_languages.php")) {
$value['application'] = $application;
return $value;
}
}
}
if ($value['extension'] == $detail_action) {
if (file_exists($_SERVER["PROJECT_ROOT"]."/app/".$application."/app_languages.php")) {
$value['application'] = $application;
return $value;
}
}
}
}
}
}
}
//get the cdr string from the database
$sql = "select * from v_xml_cdr ";
if (permission_exists('xml_cdr_all')) {
@ -60,10 +130,17 @@
$database = new database;
$row = $database->select($sql, $parameters, 'row');
if (!empty($row) && is_array($row) && @sizeof($row) != 0) {
$caller_id_name = trim($row["caller_id_name"]);
$caller_id_number = trim($row["caller_id_number"]);
$caller_destination = trim($row["caller_destination"]);
$destination_number = trim($row["destination_number"]);
$duration = trim($row["billsec"]);
$start_stamp = trim($row["start_stamp"]);
$xml_string = trim($row["xml"] ?? '');
$json_string = trim($row["json"]);
$direction = trim($row["direction"]);
$call_direction = trim($row["direction"]);
//$status = trim($row["status"]);
}
unset($sql, $parameters, $row);
@ -129,129 +206,200 @@
echo "<br />\n";
echo "<br />\n";
//detail summary
//get the variables
$xml_cdr_uuid = urldecode($array["variables"]["uuid"]);
$language = urldecode($array["variables"]["language"] ?? '');
$start_epoch = urldecode($array["variables"]["start_epoch"]);
$start_stamp = urldecode($array["variables"]["start_stamp"]);
$start_uepoch = urldecode($array["variables"]["start_uepoch"]);
$answer_stamp = urldecode($array["variables"]["answer_stamp"] ?? '');
$answer_epoch = urldecode($array["variables"]["answer_epoch"]);
$answer_uepoch = urldecode($array["variables"]["answer_uepoch"]);
$end_epoch = urldecode($array["variables"]["end_epoch"]);
$end_uepoch = urldecode($array["variables"]["end_uepoch"]);
$end_stamp = urldecode($array["variables"]["end_stamp"]);
$duration = urldecode($array["variables"]["duration"]);
$mduration = urldecode($array["variables"]["mduration"]);
$billsec = urldecode($array["variables"]["billsec"]);
$billmsec = urldecode($array["variables"]["billmsec"]);
$bridge_uuid = urldecode($array["variables"]["bridge_uuid"] ?? '');
$read_codec = urldecode($array["variables"]["read_codec"] ?? '');
$write_codec = urldecode($array["variables"]["write_codec"] ?? '');
$remote_media_ip = urldecode($array["variables"]["remote_media_ip"] ?? '');
$hangup_cause = urldecode($array["variables"]["hangup_cause"]);
$hangup_cause_q850 = urldecode($array["variables"]["hangup_cause_q850"]);
if (!isset($array["callflow"][0])) {
$tmp = $array["callflow"];
unset($array["callflow"]);
$array["callflow"][0] = $tmp;
}
$x = 0;
if (!empty($array["callflow"])) foreach ($array["callflow"] as $row) {
if ($x == 0) {
$destination_number = urldecode($row["caller_profile"]["destination_number"]);
$context = urldecode($row["caller_profile"]["context"]);
$network_addr = urldecode($row["caller_profile"]["network_addr"]);
}
$caller_id_name = urldecode($row["caller_profile"]["caller_id_name"]);
$caller_id_number = urldecode($row["caller_profile"]["caller_id_number"]);
//get the variables
$xml_cdr_uuid = urldecode($array["variables"]["uuid"]);
$language = urldecode($array["variables"]["language"] ?? '');
$start_epoch = urldecode($array["variables"]["start_epoch"]);
$start_stamp = urldecode($array["variables"]["start_stamp"]);
$start_uepoch = urldecode($array["variables"]["start_uepoch"]);
$answer_stamp = urldecode($array["variables"]["answer_stamp"] ?? '');
$answer_epoch = urldecode($array["variables"]["answer_epoch"]);
$answer_uepoch = urldecode($array["variables"]["answer_uepoch"]);
$end_epoch = urldecode($array["variables"]["end_epoch"]);
$end_uepoch = urldecode($array["variables"]["end_uepoch"]);
$end_stamp = urldecode($array["variables"]["end_stamp"]);
//$duration = urldecode($array["variables"]["duration"]);
$mduration = urldecode($array["variables"]["mduration"]);
$billsec = urldecode($array["variables"]["billsec"]);
$billmsec = urldecode($array["variables"]["billmsec"]);
$bridge_uuid = urldecode($array["variables"]["bridge_uuid"] ?? '');
$read_codec = urldecode($array["variables"]["read_codec"] ?? '');
$write_codec = urldecode($array["variables"]["write_codec"] ?? '');
$remote_media_ip = urldecode($array["variables"]["remote_media_ip"] ?? '');
$hangup_cause = urldecode($array["variables"]["hangup_cause"]);
$hangup_cause_q850 = urldecode($array["variables"]["hangup_cause_q850"]);
$network_address = urldecode($array["variables"]["network_address"]);
$outbound_caller_id_name = urldecode($array["variables"]["outbound_caller_id_name"]);
$outbound_caller_id_number = urldecode($array["variables"]["outbound_caller_id_number"]);
$call_flow_summary[$x]["destination_number"] = urldecode($row["caller_profile"]["destination_number"]);
if (isset($row["times"]["profile_created_time"])) {
$tmp_start_stamp = urldecode($row["times"]["profile_created_time"]) / 1000000;
}
if ($x == 0) {
if (isset($row["times"]["hangup_time"])) {
$tmp_end_stamp = urldecode($row["times"]["hangup_time"]) / 1000000;
}
}
else {
if (isset($row["times"]["transfer_time"])) {
$tmp_end_stamp = urldecode($row["times"]["transfer_time"]) / 1000000;
}
}
$call_flow_summary[$x]["start_stamp"] = date("Y-m-d H:i:s", (int) $tmp_start_stamp);
$call_flow_summary[$x]["end_stamp"] = date("Y-m-d H:i:s", (int) $tmp_end_stamp);
$call_flow_summary[$x]["duration"] = gmdate("G:i:s", (int) $tmp_end_stamp - (int) $tmp_start_stamp);
$x++;
}
unset($x);
//normalize the array
if (!isset($array["callflow"][0])) {
$tmp = $array["callflow"];
unset($array["callflow"]);
$array["callflow"][0] = $tmp;
}
//reverse the array to put events in chronological order
$array["callflow"] = array_reverse($array["callflow"]);
//add the final call flow destination to the call flow array
if ($call_direction == 'inbound' || $call_direction == 'local') {
$i = count($array["callflow"]);
if (!empty($array["callflow"]) && $array["callflow"][$i-1]["destination_number"] != $destination_number) {
$array["callflow"][$i]["caller_profile"]["destination_number"] = $destination_number;
$array["callflow"][$i]["caller_profile"]["network_addr"] = $network_address;
$array["callflow"][$i]["caller_profile"]["caller_id_name"] = $caller_id_name;
$array["callflow"][$i]["caller_profile"]["caller_id_number"] = $caller_id_number;
$array["callflow"][$i]["times"]["profile_created_time"] = ($end_epoch - $duration) * 1000000;
$array["callflow"][$i]["times"]["end_stamp"] = $end_epoch * 1000000;
$array["callflow"][$i]["times"]["hangup_time"] = $end_epoch * 1000000;
}
}
//build the call summary array
$x = 0;
if (!empty($array["callflow"])) foreach ($array["callflow"] as $row) {
if ($x == 0) {
$context = urldecode($row["caller_profile"]["context"]);
$network_addr = urldecode($row["caller_profile"]["network_addr"]);
}
$caller_id_name = urldecode($row["caller_profile"]["caller_id_name"]);
$caller_id_number = urldecode($row["caller_profile"]["caller_id_number"]);
$call_flow_destination_number = urldecode($row["caller_profile"]["destination_number"]);
$call_flow_summary[$x]["destination_number"] = $call_flow_destination_number;
if (isset($row["times"]["profile_created_time"])) {
$tmp_start_stamp = urldecode($row["times"]["profile_created_time"]) / 1000000;
}
$tmp_end_stamp_formatted = '';
if (isset($array["callflow"][$x+1]["times"]["profile_created_time"])) {
$tmp_end_stamp = urldecode($array["callflow"][$x+1]["times"]["profile_created_time"]) / 1000000;
$tmp_end_stamp_formatted = date("Y-m-d H:i:s", (int) $tmp_end_stamp);
}
elseif (isset($row["times"]["hangup_time"])) {
$tmp_end_stamp = urldecode($row["times"]["hangup_time"]) / 1000000;
$tmp_end_stamp_formatted = date("Y-m-d H:i:s", (int) $tmp_end_stamp);
}
//if (isset($row["times"]["transfer_time"])) {
// $tmp_end_stamp = urldecode($row["times"]["transfer_time"]) / 1000000;
// $tmp_end_stamp = date("Y-m-d H:i:s", (int) $tmp_end_stamp);
//}
$call_flow_summary[$x]["start_stamp"] = date("Y-m-d H:i:s", (int) $tmp_start_stamp);
$call_flow_summary[$x]["end_stamp"] = $tmp_end_stamp_formatted;
$call_flow_summary[$x]["duration"] = gmdate("G:i:s", (int) $tmp_end_stamp - (int) $tmp_start_stamp);
unset($tmp_end_stamp, $tmp_start_stamp, $tmp_end_stamp_formatted);
$x++;
}
unset($x);
//set the year, month and date
$tmp_year = date("Y", strtotime($start_stamp));
$tmp_month = date("M", strtotime($start_stamp));
$tmp_day = date("d", strtotime($start_stamp));
//set the row style
$c = 0;
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
//build the summary array
$summary_array = array();
$summary_array['direction'] = escape($direction);
$summary_array['caller_id_name'] = escape($caller_id_name);
$summary_array['caller_id_number'] = escape($caller_id_number);
if ($call_direction == 'outbound') {
$summary_array['outbound_caller_id_name'] = escape($outbound_caller_id_name);
$summary_array['outbound_caller_id_number'] = escape($outbound_caller_id_number);
}
$summary_array['caller_destination'] = escape($caller_destination);
$summary_array['destination'] = escape($destination_number);
$summary_array['start'] = escape($start_stamp);
$summary_array['end'] = escape($end_stamp);
$summary_array['duration'] = escape(gmdate("G:i:s", (int)$duration));
//$summary_array['status'] = escape($status);
if (permission_exists('xml_cdr_hangup_cause')) {
$summary_array['hangup_cause'] = escape($hangup_cause);
}
//show the content
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo "<td align='left'><b>".$text['label-summary']."</b>&nbsp;</td>\n";
echo "<td></td>\n";
echo " <td align='left'><b>".$text['label-summary']."</b>&nbsp;</td>\n";
echo " <td></td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo "<th>".$text['table-direction']."</th>\n";
//echo "<th>Language</th>\n";
//echo "<th>Context</th>\n";
echo "<th>".$text['table-name']."</th>\n";
echo "<th>".$text['table-download']."</th>\n";
echo "<th>".$text['label-destination']."</th>\n";
echo "<th>".$text['label-start']."</th>\n";
echo "<th>".$text['table-end']."</th>\n";
echo "<th>".$text['label-duration']."</th>\n";
echo "<th>".$text['label-status']."</th>\n";
echo "</tr>\n";
if ($_SESSION['cdr']['summary_style']['text'] == 'vertical') {
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo "<th width='30%'>".$text['label-name']."</th>\n";
echo "<th width='70%'>".$text['label-value']."</th>\n";
echo "</tr>\n";
if (is_array($summary_array)) {
foreach($summary_array as $name => $value) {
echo "<tr >\n";
echo " <td valign='top' align='left' class='".$row_style[$c]."'>".$text['label-'.$name]."&nbsp;</td>\n";
echo " <td valign='top' align='left' class='".$row_style[$c]."'>".$value."&nbsp;</td>\n";
echo "</tr>\n";
$c = $c ? 0 : 1;
}
}
echo "</table>";
echo "<br /><br />\n";
}
echo "<tr >\n";
echo " <td valign='top' class='".$row_style[$c]."'><a href='xml_cdr_details.php?id=".urlencode($uuid)."'>".escape($direction)."</a></td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$language."</td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$context."</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>";
if (file_exists($_SESSION['switch']['recordings']['dir'].'/'.$_SESSION['domain_name'].'/archive/'.$tmp_year.'/'.$tmp_month.'/'.$tmp_day.'/'.$uuid.'.wav')) {
//echo " <a href=\"../recordings/recordings.php?a=download&type=rec&t=bin&filename=".base64_encode('archive/'.$tmp_year.'/'.$tmp_month.'/'.$tmp_day.'/'.$uuid.'.wav')."\">\n";
//echo " </a>";
if ($_SESSION['cdr']['summary_style']['text'] == 'horizontal') {
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<th>".$text['label-direction']."</th>\n";
//echo "<th>Language</th>\n";
//echo "<th>Context</th>\n";
echo "<th>".$text['label-name']."</th>\n";
echo "<th>".$text['label-number']."</th>\n";
echo "<th>".$text['label-destination']."</th>\n";
echo "<th>".$text['label-start']."</th>\n";
echo "<th>".$text['label-end']."</th>\n";
echo "<th>".$text['label-duration']."</th>\n";
echo "<th>".$text['label-status']."</th>\n";
echo "</tr>\n";
echo " <a href=\"javascript:void(0);\" onclick=\"window.open('../recordings/recording_play.php?a=download&type=moh&filename=".urlencode('archive/'.$tmp_year.'/'.$tmp_month.'/'.$tmp_day.'/'.$uuid.'.wav')."', 'play',' width=420,height=40,menubar=no,status=no,toolbar=no')\">\n";
//$tmp_file_array = explode("\.",$file);
echo $caller_id_name.' ';
echo " </a>";
echo "<tr >\n";
echo " <td valign='top' class='".$row_style[$c]."'><a href='xml_cdr_details.php?id=".urlencode($uuid)."'>".escape($direction)."</a></td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$language."</td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$context."</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>";
if (file_exists($_SESSION['switch']['recordings']['dir'].'/'.$_SESSION['domain_name'].'/archive/'.$tmp_year.'/'.$tmp_month.'/'.$tmp_day.'/'.$uuid.'.wav')) {
//echo " <a href=\"../recordings/recordings.php?a=download&type=rec&t=bin&filename=".base64_encode('archive/'.$tmp_year.'/'.$tmp_month.'/'.$tmp_day.'/'.$uuid.'.wav')."\">\n";
//echo " </a>";
echo " <a href=\"javascript:void(0);\" onclick=\"window.open('../recordings/recording_play.php?a=download&type=moh&filename=".urlencode('archive/'.$tmp_year.'/'.$tmp_month.'/'.$tmp_day.'/'.$uuid.'.wav')."', 'play',' width=420,height=40,menubar=no,status=no,toolbar=no')\">\n";
//$tmp_file_array = explode("\.",$file);
echo $caller_id_name.' ';
echo " </a>";
}
else {
echo $caller_id_name.' ';
}
echo " </td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>";
if (file_exists($_SESSION['switch']['recordings']['dir'].'/'.$_SESSION['domain_name'].'/archive/'.$tmp_year.'/'.$tmp_month.'/'.$tmp_day.'/'.$uuid.'.wav')) {
echo " <a href=\"../recordings/recordings.php?a=download&type=rec&t=bin&filename=".urlencode('archive/'.$tmp_year.'/'.$tmp_month.'/'.$tmp_day.'/'.$uuid.'.wav')."\">\n";
echo escape($caller_id_number).' ';
echo " </a>";
}
else {
echo escape($caller_id_number).' ';
}
echo " </td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".escape($destination_number)."</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".escape($start_stamp)."</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".escape($end_stamp)."</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".escape(gmdate("G:i:s", (int)$duration))."</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".escape($hangup_cause)."</td>\n";
echo "</table>";
echo "<br /><br />\n";
}
else {
echo $caller_id_name.' ';
}
echo " </td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>";
if (file_exists($_SESSION['switch']['recordings']['dir'].'/'.$_SESSION['domain_name'].'/archive/'.$tmp_year.'/'.$tmp_month.'/'.$tmp_day.'/'.$uuid.'.wav')) {
echo " <a href=\"../recordings/recordings.php?a=download&type=rec&t=bin&filename=".urlencode('archive/'.$tmp_year.'/'.$tmp_month.'/'.$tmp_day.'/'.$uuid.'.wav')."\">\n";
echo escape($caller_id_number).' ';
echo " </a>";
}
else {
echo escape($caller_id_number).' ';
}
echo " </td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".escape($destination_number)."</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".escape($start_stamp)."</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".escape($end_stamp)."</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".escape(gmdate("G:i:s", (int)$duration))."</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".escape($hangup_cause)."</td>\n";
echo "</table>";
echo "<br /><br />\n";
echo "</table>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
@ -263,19 +411,37 @@
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo "<th>".$text['label-destination']."</th>\n";
echo "<th>".$text['label-name']."</th>\n";
echo "<th>".$text['label-application']."</th>\n";
echo "<th>".$text['label-start']."</th>\n";
echo "<th>".$text['table-end']."</th>\n";
echo "<th>".$text['label-end']."</th>\n";
echo "<th>".$text['label-duration']."</th>\n";
echo "</tr>\n";
foreach (array_reverse($call_flow_summary) as $row) {
//show the call flow summary
foreach ($call_flow_summary as $row) {
//get the application array
$app = find_app($destination_array, $row["destination_number"]);
//get the application translation
$language2 = new text;
$text2 = $language2->get($_SESSION['domain']['language']['code'], 'app/'.$app['application']);
$label_application = trim($text2['title-'.$app['application']]);
$label_name = $app['name'];
//show the call flow details
echo "<tr >\n";
echo " <td valign='top' class='".$row_style[$c]."'>".escape($row["destination_number"])."</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'><a href=\"/app/".$app['application']."/".$destination->singular($app['application'])."_edit.php?id=".$app['uuid']."\">".escape($row["destination_number"])."</a></td>\n";
echo " <td valign='top' class='".$row_style[$c]."'><a href=\"/app/".$app['application']."/".$destination->singular($app['application'])."_edit.php?id=".$app['uuid']."\">".escape($label_name)."</a></td>\n";
echo " <td valign='top' class='".$row_style[$c]."'><a href=\"/app/".$app['application']."/".$app['application'].".php\">".escape($label_application)."</a></td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".escape($row["start_stamp"])."</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".escape($row["end_stamp"])."</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".escape($row["duration"])."</td>\n";
echo "</tr>\n";
//alternate $c
$c = $c ? 0 : 1;
}
echo "</table>";

View File

@ -275,13 +275,13 @@
//show the results
echo "<table class='list'>\n";
echo "<tr class='list-header'>\n";
echo " <th>".$text['table-hours']."</th>\n";
echo " <th>".$text['table-date']."</th>\n";
echo " <th class='no-wrap'>".$text['table-time']."</th>\n";
echo " <th>".$text['label-hours']."</th>\n";
echo " <th>".$text['label-date']."</th>\n";
echo " <th class='no-wrap'>".$text['label-time']."</th>\n";
echo " <th>Volume</th>\n";
echo " <th>".$text['table-minutes']."</th>\n";
echo " <th>".$text['table-calls-per-minute']."</th>\n";
echo " <th class='center'>".$text['table-missed']."</th>\n";
echo " <th>".$text['label-minutes']."</th>\n";
echo " <th>".$text['label-calls-per-minute']."</th>\n";
echo " <th class='center'>".$text['label-missed']."</th>\n";
echo " <th>ASR</th>\n";
echo " <th title='".$text['description-aloc']."'>".$text['label-aloc']."</th>\n";
echo "</tr>\n";
@ -301,13 +301,13 @@
echo " </td>\n";
echo "</tr>\n";
echo "<tr class='list-header'>\n";
echo " <th class='no-wrap'>".$text['table-days']."</th>\n";
echo " <th class='no-wrap'>".$text['table-date']."</th>\n";
echo " <th class='no-wrap'>".$text['table-time']."</th>\n";
echo " <th class='no-wrap'>".$text['label-days']."</th>\n";
echo " <th class='no-wrap'>".$text['label-date']."</th>\n";
echo " <th class='no-wrap'>".$text['label-time']."</th>\n";
echo " <th>Volume</th>\n";
echo " <th>".$text['table-minutes']."</th>\n";
echo " <th class='no-wrap'>".$text['table-calls-per-minute']."</th>\n";
echo " <th class='center'>".$text['table-missed']."</th>\n";
echo " <th>".$text['label-minutes']."</th>\n";
echo " <th class='no-wrap'>".$text['label-calls-per-minute']."</th>\n";
echo " <th class='center'>".$text['label-missed']."</th>\n";
echo " <th>ASR</th>\n";
echo " <th>ALOC</th>\n";
echo "</tr>\n";

View File

@ -1951,6 +1951,54 @@ $text['button-play']['zh-cn'] = "玩";
$text['button-play']['ja-jp'] = "遊ぶ";
$text['button-play']['ko-kr'] = "놀다";
$text['label-application']['en-us'] = "Application";
$text['label-application']['en-gb'] = "Application";
$text['label-application']['ar-eg'] = "التطبيق";
$text['label-application']['de-at'] = "Anwendung";
$text['label-application']['de-ch'] = "Anwendung";
$text['label-application']['de-de'] = "Anwendung";
$text['label-application']['es-cl'] = "Aplicación";
$text['label-application']['es-mx'] = "Aplicación";
$text['label-application']['fr-ca'] = "Application";
$text['label-application']['fr-fr'] = "Application";
$text['label-application']['he-il'] = "אפליקציה";
$text['label-application']['it-it'] = "Applicazione";
$text['label-application']['nl-nl'] = "Toepassing";
$text['label-application']['pl-pl'] = "Aplikacja";
$text['label-application']['pt-br'] = "Aplicação";
$text['label-application']['pt-pt'] = "Aplicação";
$text['label-application']['ro-ro'] = "Aplicație";
$text['label-application']['ru-ru'] = "Приложение";
$text['label-application']['sv-se'] = "Applikation";
$text['label-application']['uk-ua'] = "Додаток";
$text['label-application']['zh-cn'] = "应用";
$text['label-application']['ja-jp'] = "応用";
$text['label-application']['ko-kr'] = "애플리케이션";
$text['label-applications']['en-us'] = "Applications";
$text['label-applications']['en-gb'] = "Applications";
$text['label-applications']['ar-eg'] = "التطبيقات";
$text['label-applications']['de-at'] = "Anwendungen";
$text['label-applications']['de-ch'] = "Anwendungen";
$text['label-applications']['de-de'] = "Anwendungen";
$text['label-applications']['es-cl'] = "Aplicaciiones";
$text['label-applications']['es-mx'] = "Aplicaciiones";
$text['label-applications']['fr-ca'] = "Applications";
$text['label-applications']['fr-fr'] = "Applications";
$text['label-applications']['he-il'] = "אפליקציות";
$text['label-applications']['it-it'] = "Applicazioni";
$text['label-applications']['nl-nl'] = "Toepassing";
$text['label-applications']['pl-pl'] = "Aplikacje";
$text['label-applications']['pt-br'] = "Aplicações";
$text['label-applications']['pt-pt'] = "Aplicações";
$text['label-applications']['ro-ro'] = "Aplicații";
$text['label-applications']['ru-ru'] = "Приложения";
$text['label-applications']['sv-se'] = "Applikationer";
$text['label-applications']['uk-ua'] = "Додаток";
$text['label-applications']['zh-cn'] = "应用";
$text['label-applications']['ja-jp'] = "アプリケーション";
$text['label-applications']['ko-kr'] = "애플리케이션";
$text['label-installed']['en-us'] = "Installed";
$text['label-installed']['en-gb'] = "Installed";
$text['label-installed']['ar-eg'] = "المثبتة";