2012-11-21 05:59:07 +00:00
|
|
|
<?php
|
2014-12-26 03:27:54 +00:00
|
|
|
|
2017-06-03 19:36:08 +01:00
|
|
|
//application details
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['name'] = "Follow Me";
|
|
|
|
|
$apps[$x]['uuid'] = "f5210fba-337d-4e05-86b6-7a2fd9dc7c42";
|
|
|
|
|
$apps[$x]['category'] = "";
|
|
|
|
|
$apps[$x]['subcategory'] = "";
|
2017-06-03 16:00:20 +01:00
|
|
|
$apps[$x]['version'] = "1.0";
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['license'] = "Mozilla Public License 1.1";
|
|
|
|
|
$apps[$x]['url'] = "http://www.fusionpbx.com";
|
2017-06-03 16:00:20 +01:00
|
|
|
$apps[$x]['description']['en-us'] = "Define alternate inbound call handling for extensions.";
|
|
|
|
|
$apps[$x]['description']['ar-eg'] = "";
|
|
|
|
|
$apps[$x]['description']['de-at'] = "";
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['description']['de-ch'] = "";
|
2017-06-03 16:00:20 +01:00
|
|
|
$apps[$x]['description']['de-de'] = "";
|
|
|
|
|
$apps[$x]['description']['es-cl'] = "";
|
|
|
|
|
$apps[$x]['description']['es-mx'] = "";
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['description']['fr-ca'] = "";
|
2017-06-03 16:00:20 +01:00
|
|
|
$apps[$x]['description']['fr-fr'] = "";
|
|
|
|
|
$apps[$x]['description']['he-il'] = "";
|
|
|
|
|
$apps[$x]['description']['it-it'] = "";
|
|
|
|
|
$apps[$x]['description']['nl-nl'] = "";
|
|
|
|
|
$apps[$x]['description']['pl-pl'] = "";
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['description']['pt-br'] = "";
|
2017-06-03 16:00:20 +01:00
|
|
|
$apps[$x]['description']['pt-pt'] = "";
|
|
|
|
|
$apps[$x]['description']['ro-ro'] = "";
|
|
|
|
|
$apps[$x]['description']['ru-ru'] = "";
|
|
|
|
|
$apps[$x]['description']['sv-se'] = "";
|
|
|
|
|
$apps[$x]['description']['uk-ua'] = "";
|
2012-11-21 05:59:07 +00:00
|
|
|
|
2017-06-03 19:36:08 +01:00
|
|
|
//permission details
|
2017-02-15 22:40:22 -07:00
|
|
|
$y=0;
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "follow_me_view";
|
2013-10-17 22:06:53 +00:00
|
|
|
$apps[$x]['permissions'][$y]['menu']['uuid'] = "a1144e12-873e-4722-9818-02da1adb6ba3";
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "user";
|
2019-01-02 15:51:23 -07:00
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "agent";
|
2012-11-21 05:59:07 +00:00
|
|
|
$y++;
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "follow_me_add";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "user";
|
2019-01-02 15:51:23 -07:00
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "agent";
|
2012-11-21 05:59:07 +00:00
|
|
|
$y++;
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "follow_me_edit";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "user";
|
2019-01-02 15:51:23 -07:00
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "agent";
|
2012-11-21 05:59:07 +00:00
|
|
|
$y++;
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "follow_me_delete";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "user";
|
2019-01-02 15:51:23 -07:00
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "agent";
|
2012-11-21 05:59:07 +00:00
|
|
|
$y++;
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "follow_me_destination_view";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "user";
|
2019-01-02 15:51:23 -07:00
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "agent";
|
2013-09-30 16:21:08 +00:00
|
|
|
$y++;
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "follow_me_destination_add";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "user";
|
2019-01-02 15:51:23 -07:00
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "agent";
|
2013-09-30 16:21:08 +00:00
|
|
|
$y++;
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "follow_me_destination_edit";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "user";
|
2019-01-02 15:51:23 -07:00
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "agent";
|
2013-09-30 16:21:08 +00:00
|
|
|
$y++;
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "follow_me_destination_delete";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "user";
|
2019-01-02 15:51:23 -07:00
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "agent";
|
2014-04-01 03:23:04 +00:00
|
|
|
$y++;
|
2016-02-26 14:13:32 -07:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "follow_me_ignore_busy";
|
2016-12-22 23:59:28 -07:00
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "user";
|
2019-01-02 15:51:23 -07:00
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "agent";
|
2016-02-26 14:13:32 -07:00
|
|
|
$y++;
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "follow_me_cid_name_prefix";
|
2014-08-14 05:56:43 +00:00
|
|
|
//$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
//$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-05-01 17:05:53 +00:00
|
|
|
$y++;
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "follow_me_cid_number_prefix";
|
2014-08-14 05:56:43 +00:00
|
|
|
//$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
//$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-09-30 15:22:35 +00:00
|
|
|
$y++;
|
2014-08-14 05:56:43 +00:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "follow_me_prompt";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "user";
|
2019-01-02 15:51:23 -07:00
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "agent";
|
2014-04-01 03:23:04 +00:00
|
|
|
$y++;
|
2018-03-09 20:09:19 -07:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "follow_me_caller_id";
|
2012-11-21 05:59:07 +00:00
|
|
|
|
2017-06-03 19:36:08 +01:00
|
|
|
//schema details
|
2017-02-15 22:40:22 -07:00
|
|
|
$y=0;
|
|
|
|
|
$apps[$x]['db'][$y]['table']['name'] = "v_follow_me";
|
|
|
|
|
$apps[$x]['db'][$y]['table']['parent'] = "";
|
|
|
|
|
$z=0;
|
2013-10-01 11:35:07 +00: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-11-21 05:59:07 +00:00
|
|
|
$z++;
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "follow_me_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-11-21 05:59:07 +00:00
|
|
|
$z++;
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "cid_name_prefix";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2017-06-03 19:34:19 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2013-05-01 17:05:53 +00:00
|
|
|
$z++;
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "cid_number_prefix";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2017-06-03 19:34:19 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2013-07-10 23:41:12 +00:00
|
|
|
$z++;
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_prompt";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2017-06-03 19:34:19 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2016-10-05 01:19:05 -06:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
|
2012-12-18 06:04:03 +00:00
|
|
|
$z++;
|
2014-07-29 09:15:32 +00:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "dial_string";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2017-06-03 19:34:19 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2014-07-29 09:15:32 +00:00
|
|
|
$z++;
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "follow_me_enabled";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2017-06-03 19:34:19 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2012-11-21 05:59:07 +00:00
|
|
|
$z++;
|
2015-02-28 02:32:25 +00:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "follow_me_caller_id_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)";
|
2017-03-02 13:51:52 -07:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_destinations";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "destination_uuid";
|
2017-06-03 19:34:19 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2015-02-28 02:32:25 +00:00
|
|
|
$z++;
|
2015-07-30 16:21:50 +04:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "follow_me_ignore_busy";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2017-06-03 19:34:19 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2012-11-21 05:59:07 +00:00
|
|
|
|
2017-06-03 19:36:08 +01:00
|
|
|
//schema details
|
2017-02-15 22:40:22 -07:00
|
|
|
$y++;
|
|
|
|
|
$apps[$x]['db'][$y]['table']['name'] = "v_follow_me_destinations";
|
|
|
|
|
$apps[$x]['db'][$y]['table']['parent'] = "v_follow_me";
|
|
|
|
|
$z=0;
|
2013-10-01 11:35:07 +00: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-11-21 05:59:07 +00:00
|
|
|
$z++;
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "follow_me_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";
|
2015-10-19 21:58:23 -06:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_follow_me";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "follow_me_uuid";
|
2012-11-21 05:59:07 +00:00
|
|
|
$z++;
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "follow_me_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-11-21 05:59:07 +00:00
|
|
|
$z++;
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "follow_me_destination";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2017-06-03 19:34:19 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2012-11-21 05:59:07 +00:00
|
|
|
$z++;
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "follow_me_delay";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2017-06-03 19:34:19 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2012-11-21 05:59:07 +00:00
|
|
|
$z++;
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "follow_me_timeout";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2017-06-03 19:34:19 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2012-11-21 05:59:07 +00:00
|
|
|
$z++;
|
2014-08-14 03:43:56 +00:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "follow_me_prompt";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2017-06-03 19:34:19 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2014-08-14 03:43:56 +00:00
|
|
|
$z++;
|
2013-10-01 11:35:07 +00:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "follow_me_order";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
|
2017-06-03 19:34:19 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2014-08-14 03:43:56 +00:00
|
|
|
|
2018-03-09 20:09:19 -07:00
|
|
|
?>
|