123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- <?php
- //application details
- $apps[$x]['name'] = "XMPP Manager";
- $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.";
- $apps[$x]['description']['es-cl'] = "Permite a los usuarios iniciar un teléfono flash para su extensión";
- $apps[$x]['description']['es-mx'] = "";
- $apps[$x]['description']['de-de'] = "";
- $apps[$x]['description']['de-ch'] = "";
- $apps[$x]['description']['de-at'] = "";
- $apps[$x]['description']['fr-fr'] = "Permet d'utiliser un téléphone flash comme extension.";
- $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'] = "";
- //destination details
- /*
- $y = 0;
- $apps[$x]['destinations'][$y]['type'] = "sql";
- $apps[$x]['destinations'][$y]['label'] = "xmpp";
- $apps[$x]['destinations'][$y]['name'] = "xmpp";
- $apps[$x]['destinations'][$y]['sql'] = "select x.xmpp_profile_uuid as uuid, x.profile_name as name, d.domain_name as domain_name from v_xmpp as x, v_domains as d ";
- $apps[$x]['destinations'][$y]['where'] = "where x.domain_uuid = '\${domain_uuid}' and x.domain_uuid=d.domain_uuid and x.enabled = 'true' ";
- $apps[$x]['destinations'][$y]['order_by'] = "profile_name asc";
- $apps[$x]['destinations'][$y]['field']['uuid'] = "xmpp_profile_uuid";
- $apps[$x]['destinations'][$y]['field']['name'] = "profile_name";
- $apps[$x]['destinations'][$y]['field']['destination'] = "profile_name";
- $apps[$x]['destinations'][$y]['select_value']['dialplan'] = "bridge:dingaling/\${destination}/";
- $apps[$x]['destinations'][$y]['select_value']['ivr'] = "menu-exec-app:transfer \${destination} XML \${context}";
- $apps[$x]['destinations'][$y]['select_label'] = "\${name}";
- */
- //permission details
- $y=0;
- $apps[$x]['permissions'][$y]['name'] = "xmpp_view";
- $apps[$x]['permissions'][$y]['menu']['uuid'] = "1808365b-0f7c-7555-89d0-31b3d9a75abb";
- $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
- $y++;
- $apps[$x]['permissions'][$y]['name'] = "xmpp_add";
- $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
- $y++;
- $apps[$x]['permissions'][$y]['name'] = "xmpp_edit";
- $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
- $y++;
- $apps[$x]['permissions'][$y]['name'] = "xmpp_delete";
- $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
- //schema details
- $y=0;
- $apps[$x]['db'][$y]['table']['name'] = "v_xmpp";
- $apps[$x]['db'][$y]['table']['parent'] = "";
- $z=0;
- $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";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "username";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "password";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "dialplan";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "context";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "rtp_ip";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "ext_rtp_ip";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "auto_login";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "sasl_type";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "xmpp_server";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "tls_enable";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $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";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "default_exten";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "vad";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "in/out/both";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "avatar";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "example: /path/to/tiny.jpg";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "candidate_acl";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "local_network_acl";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "enabled";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "description";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- ?>
|