2012-06-04 16:58:40 +02:00
< ? php
2014-12-26 04:27:54 +01:00
2012-06-04 16:58:40 +02:00
//application details
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'name' ] = " Destinations " ;
$apps [ $x ][ 'uuid' ] = " 5ec89622-b19c-3559-64f0-afde802ab139 " ;
$apps [ $x ][ 'category' ] = " Switch " ;
$apps [ $x ][ 'subcategory' ] = " " ;
2020-08-27 06:00:05 +02:00
$apps [ $x ][ 'version' ] = " 1.1 " ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'license' ] = " Mozilla Public License 1.1 " ;
$apps [ $x ][ 'url' ] = " http://www.fusionpbx.com " ;
$apps [ $x ][ 'description' ][ 'en-us' ] = " Used to define external destination numbers. " ;
2020-03-20 21:47:13 +01:00
$apps [ $x ][ 'description' ][ 'en-gb' ] = " Used to define external destination numbers. " ;
2017-06-03 17:00:20 +02:00
$apps [ $x ][ 'description' ][ 'ar-eg' ] = " " ;
$apps [ $x ][ 'description' ][ 'de-at' ] = " Wird verwendet um externe Ziele zu definieren. " ;
$apps [ $x ][ 'description' ][ 'de-ch' ] = " " ;
$apps [ $x ][ 'description' ][ 'de-de' ] = " Wird verwendet um externe Ziele zu definieren. " ;
2014-02-13 21:15:59 +01:00
$apps [ $x ][ 'description' ][ 'es-cl' ] = " Utilizado para definir números de destino externos. " ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'description' ][ 'es-mx' ] = " Utilizado para definir numeros destinos externos. " ;
2013-09-30 18:16:32 +02:00
$apps [ $x ][ 'description' ][ 'fr-ca' ] = " Usé pour définir cibler nombres externe. " ;
2017-06-03 17:00:20 +02:00
$apps [ $x ][ 'description' ][ 'fr-fr' ] = " Défini les numéros externes. " ;
$apps [ $x ][ 'description' ][ 'he-il' ] = " " ;
$apps [ $x ][ 'description' ][ 'it-it' ] = " " ;
2019-11-20 23:16:17 +01:00
$apps [ $x ][ 'description' ][ 'nl-nl' ] = " Gebruikt om externe bestemmingen vast te leggen. " ;
2017-06-03 17:00:20 +02:00
$apps [ $x ][ 'description' ][ 'pl-pl' ] = " " ;
2019-11-28 19:08:30 +01:00
$apps [ $x ][ 'description' ][ 'pt-br' ] = " Usado para gerenciar números de destinos externos. " ;
2017-06-03 17:00:20 +02:00
$apps [ $x ][ 'description' ][ 'pt-pt' ] = " Utilizado para definir os números de destino externos. " ;
$apps [ $x ][ 'description' ][ 'ro-ro' ] = " " ;
$apps [ $x ][ 'description' ][ 'ru-ru' ] = " " ;
$apps [ $x ][ 'description' ][ 'sv-se' ] = " " ;
$apps [ $x ][ 'description' ][ 'uk-ua' ] = " " ;
2012-06-04 16:58:40 +02:00
2015-08-04 22:52:10 +02:00
//destination details
2017-02-16 06:20:16 +01:00
$y = 0 ;
2015-08-04 22:52:10 +02:00
$apps [ $x ][ 'destinations' ][ $y ][ 'type' ] = " sql " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'label' ] = " destinations " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'name' ] = " destinations " ;
2020-08-24 16:56:10 +02:00
$apps [ $x ][ 'destinations' ][ $y ][ 'sql' ] = " select destination_uuid, destination_number, destination_context, destination_description from v_destinations " ;
2018-06-22 02:02:27 +02:00
$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' " ;
2015-08-04 22:52:10 +02:00
$apps [ $x ][ 'destinations' ][ $y ][ 'order_by' ] = " destination_number asc " ;
2020-08-24 16:56:10 +02:00
$apps [ $x ][ 'destinations' ][ $y ][ 'field' ][ 'destination_uuid' ] = " destination_uuid " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'field' ][ 'destination_number' ] = " destination_number " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'field' ][ 'destination_context' ] = " destination_context " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'field' ][ 'destination_description' ] = " destination_description " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'select_value' ][ 'dialplan' ] = " transfer: \$ { destination_number} XML \$ { destination_context} " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'select_value' ][ 'ivr' ] = " menu-exec-app:transfer \$ { destination_number} XML \$ { destination_context} " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'select_value' ][ 'user_contact' ] = " loopback/ \$ { destination_number} " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'select_label' ] = " \$ { destination_number} \$ { destination_description} " ;
2020-11-23 16:52:29 +01:00
/*
$y ++ ;
$apps [ $x ][ 'destinations' ][ $y ][ 'type' ] = 'array' ;
$apps [ $x ][ 'destinations' ][ $y ][ 'label' ] = 'other' ;
$apps [ $x ][ 'destinations' ][ $y ][ 'name' ] = 'dialplans' ;
$apps [ $x ][ 'destinations' ][ $y ][ 'field' ][ 'name' ] = 'name' ;
$apps [ $x ][ 'destinations' ][ $y ][ 'field' ][ 'destination' ] = 'destination' ;
$apps [ $x ][ 'destinations' ][ $y ][ 'select_value' ][ 'dialplan' ] = " transfer: \$ { destination} " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'select_value' ][ 'ivr' ] = " menu-exec-app:transfer \$ { destination} " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'select_label' ] = " \$ { name} " ;
$z = 0 ;
$apps [ $x ][ 'destinations' ][ $y ][ 'result' ][ 'data' ][ $z ][ 'name' ] = 'check_voicemail' ;
$apps [ $x ][ 'destinations' ][ $y ][ 'result' ][ 'data' ][ $z ][ 'destination' ] = '*98 XML ${context}' ;
$z ++ ;
$apps [ $x ][ 'destinations' ][ $y ][ 'result' ][ 'data' ][ $z ][ 'name' ] = 'company_directory' ;
$apps [ $x ][ 'destinations' ][ $y ][ 'result' ][ 'data' ][ $z ][ 'destination' ] = '*411 XML ${context}' ;
$z ++ ;
$apps [ $x ][ 'destinations' ][ $y ][ 'result' ][ 'data' ][ $z ][ 'name' ] = 'hangup' ;
$apps [ $x ][ 'destinations' ][ $y ][ 'result' ][ 'data' ][ $z ][ 'destination' ] = 'hangup' ;
$z ++ ;
$apps [ $x ][ 'destinations' ][ $y ][ 'result' ][ 'data' ][ $z ][ 'name' ] = 'company_directory' ;
$apps [ $x ][ 'destinations' ][ $y ][ 'result' ][ 'data' ][ $z ][ 'destination' ] = '*732 XML ${context}' ;
*/
2015-08-04 22:52:10 +02:00
2012-06-04 16:58:40 +02:00
//permission details
2017-02-16 06:20:16 +01:00
$y = 0 ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_view " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'menu' ][ 'uuid' ] = " fd2a708a-ff03-c707-c19d-5a4194375eba " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
2015-01-12 22:12:27 +01:00
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " admin " ;
2012-06-04 16:58:40 +02:00
$y ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_add " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
2012-06-04 16:58:40 +02:00
$y ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_edit " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
2015-01-12 22:12:27 +01:00
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " admin " ;
2012-06-04 16:58:40 +02:00
$y ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_delete " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
2015-01-12 22:12:27 +01:00
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " admin " ;
2012-06-04 16:58:40 +02:00
$y ++ ;
2018-09-28 18:54:03 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_import " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
$y ++ ;
2021-05-12 23:48:33 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_export " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
$y ++ ;
2019-09-06 13:17:43 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_upload " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
$y ++ ;
2017-06-03 17:00:20 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_domain " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
2015-03-07 13:59:53 +01:00
$y ++ ;
2017-06-03 17:00:20 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_all " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
2017-12-01 19:14:12 +01:00
$y ++ ;
2020-08-27 05:02:38 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_trunk_prefix " ;
2020-08-27 06:00:05 +02:00
$y ++ ;
2020-08-27 05:02:38 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_area_code " ;
$y ++ ;
2022-07-18 02:59:19 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_prefix " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
2022-07-18 18:42:56 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " admin " ;
2022-07-18 02:59:19 +02:00
$y ++ ;
2019-09-06 13:13:45 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_number " ;
2018-06-21 07:27:50 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
2018-07-12 16:47:47 +02:00
$y ++ ;
2020-06-11 07:07:12 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_condition_field " ;
$y ++ ;
2018-07-12 16:47:47 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_caller_id_name " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
$y ++ ;
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_caller_id_number " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
2019-09-06 13:13:45 +02:00
$y ++ ;
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_context " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
$y ++ ;
2022-07-13 00:46:47 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_cid_name_prefix " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
$y ++ ;
2022-05-03 00:54:31 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_record " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
$y ++ ;
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_hold_music " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " admin " ;
$y ++ ;
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_distinctive_ring " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
$y ++ ;
2021-01-18 23:12:13 +01:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_accountcode " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " admin " ;
$y ++ ;
2019-09-06 13:13:45 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_fax " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
$y ++ ;
2022-07-17 07:29:04 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_conditions " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
$y ++ ;
2021-06-04 18:33:50 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_user_uuid " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
$y ++ ;
2020-12-12 01:24:14 +01:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_emergency " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
$y ++ ;
2020-01-21 17:43:19 +01:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " destination_destinations " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " admin " ;
$y ++ ;
2015-03-07 13:59:53 +01:00
2017-04-30 07:30:37 +02:00
//default settings
$y = 0 ;
2017-06-03 17:00:20 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " 70d8538a-89ab-4db6-87b1-f5e447680283 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " limit " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " destinations " ;
$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' ] = " " ;
2017-11-30 19:40:11 +01:00
$y ++ ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " 911412de-e0a6-49db-a3c8-65f05c9d847f " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " destinations " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " dialplan_details " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " boolean " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " " ;
2020-08-27 17:49:10 +02:00
$y ++ ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " 3141e4ad-a892-4a51-8789-aa27be54ee94 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " destinations " ;
2020-08-27 20:58:14 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " dialplan_mode " ;
2020-08-27 17:49:10 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " text " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = " multiple " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
2020-11-19 17:46:05 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " Options: multiple, single " ;
2020-11-16 20:43:31 +01:00
$y ++ ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " b132ff5a-da8d-4846-b46d-2f0bfa9ae96b " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " destinations " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " unique " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " boolean " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " Require destinations to be unique true or false. " ;
2020-11-19 17:46:05 +01:00
$y ++ ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " d6cf39aa-edc0-4682-9868-5f8198b3383c " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " destinations " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " select_mode " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " text " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = " default " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " Options: default, dynamic " ;
$y ++ ;
2017-04-30 07:30:37 +02:00
2019-07-30 09:33:50 +02:00
//cache details
$apps [ $x ][ 'cache' ][ 'key' ] = " dialplan. \$ { destination_context} " ;
2012-06-04 16:58:40 +02:00
//schema details
2017-02-16 06:20:16 +01:00
$y = 0 ;
$apps [ $x ][ 'db' ][ $y ][ 'table' ][ 'name' ] = " v_destinations " ;
$apps [ $x ][ 'db' ][ $y ][ 'table' ][ 'parent' ] = " " ;
$z = 0 ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " domain_uuid " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = " uuid " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = " char(36) " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'type' ] = " foreign " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'table' ] = " v_domains " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'field' ] = " domain_uuid " ;
2012-06-04 16:58:40 +02:00
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_uuid " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = " uuid " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = " char(36) " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'type' ] = " primary " ;
2012-06-04 16:58:40 +02:00
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " dialplan_uuid " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = " uuid " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = " char(36) " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'type' ] = " foreign " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'table' ] = " v_dialplans " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'field' ] = " dialplan_uuid " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " " ;
2012-10-23 12:00:03 +02:00
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " fax_uuid " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = " uuid " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = " char(36) " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'type' ] = " foreign " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'table' ] = " v_fax " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'field' ] = " fax_uuid " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " " ;
2013-01-05 01:28:08 +01:00
$z ++ ;
2021-06-04 18:33:50 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " user_uuid " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = " uuid " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = " char(36) " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'type' ] = " foreign " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'table' ] = " v_users " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'field' ] = " user_uuid " ;
$z ++ ;
2021-12-15 05:49:29 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " group_uuid " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = " uuid " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = " char(36) " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'type' ] = " foreign " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'table' ] = " v_groups " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'field' ] = " group_uuid " ;
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = " destination_type " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = " destination_name " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
2020-01-09 04:37:03 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = 'true' ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Select the type. " ;
2012-10-23 12:00:03 +02:00
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = " destination_number " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = " destination_extension " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
2020-01-09 04:37:03 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = 'true' ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Enter the number. " ;
2012-10-23 12:00:03 +02:00
$z ++ ;
2020-08-27 05:02:38 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_trunk_prefix " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Enter the trunk prefix. " ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_area_code " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Enter the area code. " ;
$z ++ ;
2019-04-29 21:03:42 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_prefix " ;
2019-04-29 17:41:54 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Enter the prefix. " ;
$z ++ ;
2020-06-11 07:07:12 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = " destination_condition_field " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Enter the condition. " ;
$z ++ ;
2016-03-17 20:22:03 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_number_regex " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Regular Expression version of destination number " ;
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_caller_id_name " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
2020-01-09 04:37:03 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = 'true' ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Enter the caller id name. " ;
2012-10-23 12:00:03 +02:00
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_caller_id_number " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
2020-01-09 04:37:03 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = 'true' ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Enter the caller id number. " ;
2012-06-04 16:58:40 +02:00
$z ++ ;
2014-08-02 06:41:00 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_cid_name_prefix " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Enter the caller id name prefix. " ;
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_context " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
2020-01-09 04:37:03 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = 'true' ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Enter the context. " ;
2012-06-04 16:58:40 +02:00
$z ++ ;
2017-12-01 19:14:12 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_record " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Select whether to record the call. " ;
$z ++ ;
2020-07-09 22:34:55 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_hold_music " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Select whether to set music on hold. " ;
$z ++ ;
2022-05-03 00:54:31 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_distinctive_ring " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Select whether to set distinctive ring. " ;
$z ++ ;
2017-12-01 19:14:12 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_accountcode " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
2020-01-09 04:37:03 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = 'true' ;
2017-12-01 19:14:12 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Enter the accountcode. " ;
$z ++ ;
2018-12-30 00:05:59 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_type_voice " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " numeric " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Number is used for voice calls. " ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_type_fax " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " numeric " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Number is used for fax calls. " ;
$z ++ ;
2020-12-12 01:24:14 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_type_emergency " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " numeric " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Number is used to place emergency calls. " ;
$z ++ ;
2018-12-30 00:05:59 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_type_text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " numeric " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Number is used for text messages. " ;
$z ++ ;
2022-07-17 07:29:04 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_conditions " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = " json " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Array of Conditions. " ;
$z ++ ;
2022-07-16 19:27:03 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_actions " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = " json " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = " text " ;
2022-07-17 07:29:04 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Array of Actions. " ;
2022-07-16 19:27:03 +02:00
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_app " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Enter the application. " ;
2012-10-23 12:00:03 +02:00
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_data " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
2020-01-09 04:37:03 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = 'true' ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Enter the data. " ;
2012-06-04 16:58:40 +02:00
$z ++ ;
2018-04-28 06:09:27 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_alternate_app " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Enter the alternate application. " ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_alternate_data " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Enter the alternate data. " ;
$z ++ ;
2021-03-06 16:10:47 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_order " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " numeric " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Set the destination order. " ;
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_enabled " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " " ;
2012-06-04 16:58:40 +02:00
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " destination_description " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
2020-01-09 04:37:03 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = 'true' ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " Enter the description. " ;
2022-09-18 08:54:37 +02:00
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " insert_date " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = 'timestamptz' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = 'date' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = 'date' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " " ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " insert_user " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = " uuid " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = " char(36) " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " " ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " update_date " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = 'timestamptz' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = 'date' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = 'date' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " " ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " update_user " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = " uuid " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = " char(36) " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " " ;
2014-12-26 04:27:54 +01:00
2017-09-21 07:53:30 +02:00
?>