157 lines
8.1 KiB
PHP
157 lines
8.1 KiB
PHP
<?php
|
|
//application details
|
|
$apps[$x]['name'] = 'Conferences';
|
|
$apps[$x]['uuid'] = 'b81412e8-7253-91f4-e48e-42fc2c9a38d9';
|
|
$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'] = 'Conferences is used to setup conference rooms with a name, description, and optional pin number.';
|
|
$apps[$x]['description']['es-mx'] = '';
|
|
$apps[$x]['description']['de'] = '';
|
|
$apps[$x]['description']['de-ch'] = '';
|
|
$apps[$x]['description']['de-at'] = '';
|
|
$apps[$x]['description']['fr'] = '';
|
|
$apps[$x]['description']['fr-ca'] = '';
|
|
$apps[$x]['description']['fr-ch'] = '';
|
|
$apps[$x]['description']['pt-pt'] = 'Conferências é usado para configurar salas de conferências com um nome, descrição e número de pin opcional.';
|
|
$apps[$x]['description']['pt-br'] = '';
|
|
|
|
//menu details
|
|
$apps[$x]['menu'][0]['title']['en-us'] = 'Conferences';
|
|
$apps[$x]['menu'][0]['title']['es-mx'] = '';
|
|
$apps[$x]['menu'][0]['title']['de'] = '';
|
|
$apps[$x]['menu'][0]['title']['de-ch'] = '';
|
|
$apps[$x]['menu'][0]['title']['de-at'] = '';
|
|
$apps[$x]['menu'][0]['title']['fr'] = '';
|
|
$apps[$x]['menu'][0]['title']['fr-ca'] = '';
|
|
$apps[$x]['menu'][0]['title']['fr-ch'] = '';
|
|
$apps[$x]['menu'][0]['title']['pt-pt'] = 'Conferencias';
|
|
$apps[$x]['menu'][0]['title']['pt-br'] = '';
|
|
$apps[$x]['menu'][0]['uuid'] = '9f2a8c08-3e65-c41c-a716-3b53d42bc4d4';
|
|
$apps[$x]['menu'][0]['parent_uuid'] = 'fd29e39c-c936-f5fc-8e2b-611681b266b5';
|
|
$apps[$x]['menu'][0]['category'] = 'internal';
|
|
$apps[$x]['menu'][0]['path'] = '/app/conferences/conferences.php';
|
|
$apps[$x]['menu'][0]['groups'][] = 'user';
|
|
$apps[$x]['menu'][0]['groups'][] = 'admin';
|
|
$apps[$x]['menu'][0]['groups'][] = 'superadmin';
|
|
|
|
//permission details
|
|
$y = 0;
|
|
$apps[$x]['permissions'][$y]['name'] = 'conference_view';
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'user';
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = 'conference_add';
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = 'conference_edit';
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'user';
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = 'conference_delete';
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
$y++;
|
|
|
|
//schema details
|
|
$y = 0; //table array index
|
|
$z = 0; //field array index
|
|
$apps[$x]['db'][$y]['table'] = 'v_conferences';
|
|
$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';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'conference_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';
|
|
$z++;
|
|
$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]['description']['en-us'] = '';
|
|
$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';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'conference_name';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the conference name.';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'conference_extension';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the conference extension number.';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'conference_pin_number';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Optional pin number to secure access to the conference.';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'conference_profile';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Conference Profile is a collection of settings for the conference.';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'conference_flags';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Optional conference flags. examples: mute|deaf|waste|moderator';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'conference_order';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'numeric';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the order number.';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'conference_description';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the description.';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'conference_enabled';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Select whether to enable or disable the conference.';
|
|
|
|
$y = 1; //table array index
|
|
$z = 0; //field array index
|
|
$apps[$x]['db'][$y]['table'] = 'v_conference_users';
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'conference_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'] = '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'] = 'conference_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_conferences';
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'conference_uuid';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
$z++;
|
|
$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';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
|
?>
|