123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265 |
- <?php
- //application details
- $apps[$x]['name'] = "Hunt Group";
- $apps[$x]['uuid'] = '0610f841-2e27-4c5f-7926-08ab3aad02e0';
- $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'] = 'A Hunt Group is a list of destinations that can be called in sequence or simultaneously.';
- $apps[$x]['description']['es-mx'] = 'Un grupo en caza es una lista de destinos que pueden ser llamados en sequencia o simultáneamente.';
- $apps[$x]['description']['de-de'] = '';
- $apps[$x]['description']['de-ch'] = '';
- $apps[$x]['description']['de-at'] = '';
- $apps[$x]['description']['fr-fr'] = "Un groupe chasse est une liste de destinataires qui peuvent être appellés en séquence ou simultanément.";
- $apps[$x]['description']['fr-ca'] = '';
- $apps[$x]['description']['fr-ch'] = '';
- $apps[$x]['description']['pt-pt'] = 'Um grupo de busca é uma lista de destinos que podem ser chamados em sequência ou simultaneamente.';
- $apps[$x]['description']['pt-br'] = '';
- //permission details
- $apps[$x]['permissions'][0]['name'] = 'hunt_group_view';
- $apps[$x]['permissions'][0]['groups'][] = 'admin';
- $apps[$x]['permissions'][0]['groups'][] = 'superadmin';
- $apps[$x]['permissions'][1]['name'] = 'hunt_group_add';
- $apps[$x]['permissions'][1]['groups'][] = 'admin';
- $apps[$x]['permissions'][1]['groups'][] = 'superadmin';
- $apps[$x]['permissions'][2]['name'] = 'hunt_group_edit';
- $apps[$x]['permissions'][2]['groups'][] = 'admin';
- $apps[$x]['permissions'][2]['groups'][] = 'superadmin';
- $apps[$x]['permissions'][3]['name'] = 'hunt_group_delete';
- $apps[$x]['permissions'][3]['groups'][] = 'admin';
- $apps[$x]['permissions'][3]['groups'][] = 'superadmin';
- $apps[$x]['permissions'][4]['name'] = 'hunt_group_call_forward';
- //schema details
- $y = 0; //table array index
- $z = 0; //field array index
- $apps[$x]['db'][$y]['table'] = 'v_hunt_groups';
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'hunt_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'] = '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'] = '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'] = '';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'hunt_group_extension';
- $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgroupextension';
- $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'] = 'hunt_group_name';
- $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgroupname';
- $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'] = 'hunt_group_type';
- $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgrouptype';
- $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'] = 'hunt_group_context';
- $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgroupcontext';
- $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'] = 'hunt_group_timeout';
- $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgrouptimeout';
- $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'] = 'hunt_group_timeout_destination';
- $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgrouptimeoutdestination';
- $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'] = 'hunt_group_timeout_type';
- $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgrouptimeouttype';
- $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'] = 'hunt_group_ringback';
- $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgroupringback';
- $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'] = 'hunt_group_cid_name_prefix';
- $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgroupcidnameprefix';
- $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'] = 'hunt_group_pin';
- $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgrouppin';
- $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'] = 'hunt_group_caller_announce';
- $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgroupcallerannounce';
- $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'] = 'hunt_group_call_prompt';
- $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'] = 'hunt_group_user_list';
- $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'] = 'hunt_group_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']['text'] = 'hunt_group_description';
- $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgroup_desc';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
- $y = 1; //table array index
- $z = 0; //field array index
- $apps[$x]['db'][$y]['table'] = 'v_hunt_group_destinations';
- $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'id';
- $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'hunt_group_destination_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'] = 'hunt_group_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';
- $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'] = 'hunt_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_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'] = 'hunt_group_id';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'numeric';
- $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']['text'] = 'destination_data';
- $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'destinationdata';
- $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'] = 'destination_type';
- $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'destinationtype';
- $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'] = 'destination_profile';
- $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'destinationprofile';
- $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'] = 'destination_timeout';
- $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'] = 'destination_order';
- $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'destinationorder';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'numeric';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
- $z++;
- $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'] = '';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'destination_description';
- $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'destinationdescr';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
- $y = 2; //table array index
- $z = 0; //field array index
- $apps[$x]['db'][$y]['table'] = 'v_hunt_group_users';
- $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = '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'] = 'hunt_group_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'] = 'hunt_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_hunt_groups';
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'hunt_group_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'] = '';
- ?>
|