Enhance - app_config.php cleanup for apps (#2633)
make spacing and layout consistent add all missing language tags fill missing en-us descriptions convert to $x$y$z usage for array filling add a default version number this is a by hand update
This commit is contained in:
@@ -5,20 +5,28 @@
|
||||
$apps[$x]['uuid'] = "a5788e9b-58bc-bd1b-df59-fff5d51253ab";
|
||||
$apps[$x]['category'] = "Switch";
|
||||
$apps[$x]['subcategory'] = "";
|
||||
$apps[$x]['version'] = "";
|
||||
$apps[$x]['version'] = "1.0";
|
||||
$apps[$x]['license'] = "Mozilla Public License 1.1";
|
||||
$apps[$x]['url'] = "http://www.fusionpbx.com";
|
||||
$apps[$x]['description']['en-us'] = "The IVR Menu plays a recording or a pre-defined phrase that presents the caller with options to choose from. Each option has a corresponding destination. The destinations can be extensions, voicemail, IVR menus, hunt groups, FAX extensions, and more.";
|
||||
$apps[$x]['description']['ar-eg'] = "";
|
||||
$apps[$x]['description']['de-at'] = "Anrufzentralen spielen eine Aufnahme oder vordefinierte Phrasen ab und bieten denm Anrufer verschieden Optionen zur Auswahl. Jede Option hat ei dazugehöriges Ziel. Diese können Nebenstellen, Autromatische Zentralen, Hunt Groups, Fax Nebenstellen und anderes sein.";
|
||||
$apps[$x]['description']['de-ch'] = "";
|
||||
$apps[$x]['description']['de-de'] = "Anrufzentralen spielen eine Aufnahme oder vordefinierte Phrasen ab und bieten denm Anrufer verschieden Optionen zur Auswahl. Jede Option hat ei dazugehöriges Ziel. Diese können Nebenstellen, Autromatische Zentralen, Hunt Groups, Fax Nebenstellen und anderes sein.";
|
||||
$apps[$x]['description']['es-cl'] = "El menú IVR reproduce una grabación o una frase predefinida que presenta opciones para elegir. Cada opción corresponde a un destino. Los destinos pueden ser extensiones, correo de voz, IVR, grupos, fax entre otros.";
|
||||
$apps[$x]['description']['es-mx'] = "";
|
||||
$apps[$x]['description']['de-de'] = "Anrufzentralen spielen eine Aufnahme oder vordefinierte Phrasen ab und bieten denm Anrufer verschieden Optionen zur Auswahl. Jede Option hat ei dazugehöriges Ziel. Diese können Nebenstellen, Autromatische Zentralen, Hunt Groups, Fax Nebenstellen und anderes sein.";
|
||||
$apps[$x]['description']['de-ch'] = "";
|
||||
$apps[$x]['description']['de-at'] = "Anrufzentralen spielen eine Aufnahme oder vordefinierte Phrasen ab und bieten denm Anrufer verschieden Optionen zur Auswahl. Jede Option hat ei dazugehöriges Ziel. Diese können Nebenstellen, Autromatische Zentralen, Hunt Groups, Fax Nebenstellen und anderes sein.";
|
||||
$apps[$x]['description']['fr-fr'] = "Le menu SVI joue un enregistrement ou une phrase prédéfinie permettant à l'appelant de faire un choix. Ce choix l'amenant sur une destination spécifique. Cette destination peut être une extension, une messagerie vocale, un IVR, un groupement, un FAX ...";
|
||||
$apps[$x]['description']['fr-ca'] = "";
|
||||
$apps[$x]['description']['fr-ch'] = "";
|
||||
$apps[$x]['description']['pt-pt'] = "O menu IVR toca uma gravação ou uma frase pré-definidos, que são apresentados ao chamador na forma de opções para escolher. Cada opção tem um destino correspondente. Os destinos podem ser extensões, correio de voz, outros IVRs, grupos, extensões de fax, etc.";
|
||||
$apps[$x]['description']['fr-fr'] = "Le menu SVI joue un enregistrement ou une phrase prédéfinie permettant à l'appelant de faire un choix. Ce choix l'amenant sur une destination spécifique. Cette destination peut être une extension, une messagerie vocale, un IVR, un groupement, un FAX ...";
|
||||
$apps[$x]['description']['he-il'] = "";
|
||||
$apps[$x]['description']['it-it'] = "";
|
||||
$apps[$x]['description']['nl-nl'] = "";
|
||||
$apps[$x]['description']['pl-pl'] = "";
|
||||
$apps[$x]['description']['pt-br'] = "";
|
||||
$apps[$x]['description']['pt-pt'] = "O menu IVR toca uma gravação ou uma frase pré-definidos, que são apresentados ao chamador na forma de opções para escolher. Cada opção tem um destino correspondente. Os destinos podem ser extensões, correio de voz, outros IVRs, grupos, extensões de fax, etc.";
|
||||
$apps[$x]['description']['ro-ro'] = "";
|
||||
$apps[$x]['description']['ru-ru'] = "";
|
||||
$apps[$x]['description']['sv-se'] = "";
|
||||
$apps[$x]['description']['uk-ua'] = "";
|
||||
|
||||
//destination details
|
||||
$y=0;
|
||||
@@ -33,17 +41,17 @@
|
||||
$apps[$x]['destinations'][$y]['select_value']['ivr'] = "menu-exec-app:transfer \${destination} XML \${context}";
|
||||
$apps[$x]['destinations'][$y]['select_label'] = "\${destination} \${name}";
|
||||
//if ($_SESSION['ivr_menu']['application']['text'] != "lua") {
|
||||
// $y++;
|
||||
// $apps[$x]['destinations'][$y]['type'] = "sql";
|
||||
// $apps[$x]['destinations'][$y]['label'] = "ivr_menus_sub";
|
||||
// $apps[$x]['destinations'][$y]['name'] = "ivr_menus";
|
||||
// $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']['name'] = "ivr_menu_name";
|
||||
// $apps[$x]['destinations'][$y]['field']['uuid'] = "ivr_menu_uuid";
|
||||
// $y++;
|
||||
// $apps[$x]['destinations'][$y]['type'] = "sql";
|
||||
// $apps[$x]['destinations'][$y]['label'] = "ivr_menus_sub";
|
||||
// $apps[$x]['destinations'][$y]['name'] = "ivr_menus";
|
||||
// $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']['name'] = "ivr_menu_name";
|
||||
// $apps[$x]['destinations'][$y]['field']['uuid'] = "ivr_menu_uuid";
|
||||
// //$apps[$x]['destinations'][$y]['select_value']['dialplan'] = "ivr:\${ivr_menu_uuid}";
|
||||
// $apps[$x]['destinations'][$y]['select_value']['ivr'] = "menu-sub:\${uuid}";
|
||||
// $apps[$x]['destinations'][$y]['select_label'] = "\${name}";
|
||||
// $apps[$x]['destinations'][$y]['select_value']['ivr'] = "menu-sub:\${uuid}";
|
||||
// $apps[$x]['destinations'][$y]['select_label'] = "\${name}";
|
||||
//}
|
||||
//menu-top
|
||||
//menu-exit
|
||||
@@ -87,30 +95,29 @@
|
||||
|
||||
//default settings
|
||||
$y=0;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = 'ce17d7af-650a-49c0-b3e4-3bb8c1dad566';
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = 'ivr_menu';
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = 'option_add_rows';
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = 'numeric';
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = '5';
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = 'true';
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = '';
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "ce17d7af-650a-49c0-b3e4-3bb8c1dad566";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "ivr_menu";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "option_add_rows";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "5";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = '74376817-89de-49e1-bddd-868a8ebb49ec';
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = 'ivr_menu';
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = 'option_edit_rows';
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = 'numeric';
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = '1';
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = 'true';
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = '';
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = '26984efd-2445-4ac9-b459-bb7bda4217c6';
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = 'limit';
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = 'ivr_menus';
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = 'numeric';
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = '3';
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = 'false';
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = '';
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "74376817-89de-49e1-bddd-868a8ebb49ec";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "ivr_menu";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "option_edit_rows";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "1";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "26984efd-2445-4ac9-b459-bb7bda4217c6";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "limit";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "ivr_menus";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "3";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "";
|
||||
|
||||
//schema details
|
||||
$y=0;
|
||||
@@ -247,7 +254,6 @@
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "ivr_menu_desc";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
$z++;
|
||||
|
||||
$y++;
|
||||
$apps[$x]['db'][$y]['table']['name'] = "v_ivr_menu_options";
|
||||
@@ -320,6 +326,5 @@
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "ivr_menu_options_desc";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
$z++;
|
||||
|
||||
?>
|
||||
?>
|
||||
Reference in New Issue
Block a user