2012-06-04 16:58:40 +02:00
|
|
|
<?php
|
|
|
|
|
//application details
|
|
|
|
|
$apps[$x]['name'] = "XMPP Manager";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['uuid'] = "740f1c0d-6d82-fcde-3873-0fc9779789ec";
|
|
|
|
|
$apps[$x]['category'] = "Switch";
|
|
|
|
|
$apps[$x]['subcategory'] = "";
|
|
|
|
|
$apps[$x]['version'] = "";
|
|
|
|
|
$apps[$x]['license'] = "Mozilla Public License 1.1";
|
|
|
|
|
$apps[$x]['url'] = "http://www.fusionpbx.com";
|
|
|
|
|
$apps[$x]['description']['en-us'] = "";
|
|
|
|
|
$apps[$x]['description']['en-us'] = "Allow User to Open a Flash Phone for his Extension.";
|
2014-02-13 21:15:59 +01:00
|
|
|
$apps[$x]['description']['es-cl'] = "Permite a los usuarios iniciar un teléfono flash para su extensión";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['description']['es-mx'] = "";
|
|
|
|
|
$apps[$x]['description']['de-de'] = "";
|
|
|
|
|
$apps[$x]['description']['de-ch'] = "";
|
|
|
|
|
$apps[$x]['description']['de-at'] = "";
|
2013-09-17 22:02:19 +02:00
|
|
|
$apps[$x]['description']['fr-fr'] = "Permet d'utiliser un téléphone flash comme extension";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['description']['fr-ca'] = "";
|
|
|
|
|
$apps[$x]['description']['fr-ch'] = "";
|
|
|
|
|
$apps[$x]['description']['pt-pt'] = "Permitir que o utilizador abra um Telefone Flash para a sua extensão.";
|
|
|
|
|
$apps[$x]['description']['pt-br'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
|
|
|
|
//menu details
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['en-us'] = "XMPP Manager";
|
2014-02-13 21:15:59 +01:00
|
|
|
$apps[$x]['menu'][0]['title']['es-cl'] = "Gestor XMPP";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['es-mx'] = "";
|
|
|
|
|
$apps[$x]['menu'][0]['title']['de-de'] = "";
|
|
|
|
|
$apps[$x]['menu'][0]['title']['de-ch'] = "";
|
|
|
|
|
$apps[$x]['menu'][0]['title']['de-at'] = "";
|
|
|
|
|
$apps[$x]['menu'][0]['title']['fr-fr'] = "Gestion XMPP";
|
|
|
|
|
$apps[$x]['menu'][0]['title']['fr-ca'] = "";
|
|
|
|
|
$apps[$x]['menu'][0]['title']['fr-ch'] = "";
|
2014-02-25 23:49:35 +01:00
|
|
|
$apps[$x]['menu'][0]['title']['pt-pt'] = "Gestor XMPP";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['pt-br'] = "";
|
|
|
|
|
$apps[$x]['menu'][0]['uuid'] = "1808365b-0f7c-7555-89d0-31b3d9a75abb";
|
|
|
|
|
$apps[$x]['menu'][0]['parent_uuid'] = "bc96d773-ee57-0cdd-c3ac-2d91aba61b55";
|
|
|
|
|
$apps[$x]['menu'][0]['category'] = "internal";
|
|
|
|
|
$apps[$x]['menu'][0]['path'] = "/app/xmpp/xmpp.php";
|
|
|
|
|
$apps[$x]['menu'][0]['groups'][] = "superadmin";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
|
|
|
|
//permission details
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][0]['name'] = "xmpp_view";
|
|
|
|
|
$apps[$x]['permissions'][0]['menu']['uuid'] = "1808365b-0f7c-7555-89d0-31b3d9a75abb";
|
|
|
|
|
$apps[$x]['permissions'][0]['groups'][] = "superadmin";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][1]['name'] = "xmpp_add";
|
|
|
|
|
$apps[$x]['permissions'][1]['groups'][] = "superadmin";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][2]['name'] = "xmpp_edit";
|
|
|
|
|
$apps[$x]['permissions'][2]['groups'][] = "superadmin";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][3]['name'] = "xmpp_delete";
|
|
|
|
|
$apps[$x]['permissions'][3]['groups'][] = "superadmin";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
|
|
|
|
//schema details
|
|
|
|
|
$y = 0; //table array index
|
|
|
|
|
$z = 0; //field array index
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['table'] = "v_xmpp";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "xmpp_profile_id";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "xmpp_profile_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";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$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";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "profile_name";
|
2013-10-01 14:26:41 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "username";
|
2013-10-01 14:26:41 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "password";
|
2013-10-01 14:26:41 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "dialplan";
|
2013-10-01 14:26:41 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "context";
|
2013-10-01 14:26:41 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "rtp_ip";
|
2013-10-01 14:26:41 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "ext_rtp_ip";
|
2013-10-01 14:26:41 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "auto_login";
|
2013-10-01 14:26:41 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "sasl_type";
|
2013-10-01 14:26:41 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "xmpp_server";
|
2013-10-01 14:26:41 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "tls_enable";
|
2013-10-01 14:26:41 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "use_rtp_timer";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "usr_rtp_timer";
|
2013-10-01 14:26:41 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "default_exten";
|
2013-10-01 14:26:41 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "vad";
|
2013-10-01 14:26:41 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "in/out/both";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "avatar";
|
2013-10-01 14:26:41 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "example: /path/to/tiny.jpg";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "candidate_acl";
|
2013-10-01 14:26:41 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "local_network_acl";
|
2013-10-01 14:26:41 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "enabled";
|
2013-10-01 14:26:41 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "description";
|
2013-10-01 14:26:41 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
2013-09-30 15:19:40 +02:00
|
|
|
?>
|