app_config.php 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. <?php
  2. //application details
  3. $apps[$x]['name'] = "Hunt Group";
  4. $apps[$x]['uuid'] = '0610f841-2e27-4c5f-7926-08ab3aad02e0';
  5. $apps[$x]['category'] = 'Switch';;
  6. $apps[$x]['subcategory'] = '';
  7. $apps[$x]['version'] = '';
  8. $apps[$x]['license'] = 'Mozilla Public License 1.1';
  9. $apps[$x]['url'] = 'http://www.fusionpbx.com';
  10. $apps[$x]['description']['en-us'] = 'A Hunt Group is a list of destinations that can be called in sequence or simultaneously.';
  11. $apps[$x]['description']['es-mx'] = 'Un grupo en caza es una lista de destinos que pueden ser llamados en sequencia o simultáneamente.';
  12. $apps[$x]['description']['de-de'] = '';
  13. $apps[$x]['description']['de-ch'] = '';
  14. $apps[$x]['description']['de-at'] = '';
  15. $apps[$x]['description']['fr-fr'] = "Un groupe chasse est une liste de destinataires qui peuvent être appellés en séquence ou simultanément.";
  16. $apps[$x]['description']['fr-ca'] = '';
  17. $apps[$x]['description']['fr-ch'] = '';
  18. $apps[$x]['description']['pt-pt'] = 'Um grupo de busca é uma lista de destinos que podem ser chamados em sequência ou simultaneamente.';
  19. $apps[$x]['description']['pt-br'] = '';
  20. //permission details
  21. $apps[$x]['permissions'][0]['name'] = 'hunt_group_view';
  22. $apps[$x]['permissions'][0]['groups'][] = 'admin';
  23. $apps[$x]['permissions'][0]['groups'][] = 'superadmin';
  24. $apps[$x]['permissions'][1]['name'] = 'hunt_group_add';
  25. $apps[$x]['permissions'][1]['groups'][] = 'admin';
  26. $apps[$x]['permissions'][1]['groups'][] = 'superadmin';
  27. $apps[$x]['permissions'][2]['name'] = 'hunt_group_edit';
  28. $apps[$x]['permissions'][2]['groups'][] = 'admin';
  29. $apps[$x]['permissions'][2]['groups'][] = 'superadmin';
  30. $apps[$x]['permissions'][3]['name'] = 'hunt_group_delete';
  31. $apps[$x]['permissions'][3]['groups'][] = 'admin';
  32. $apps[$x]['permissions'][3]['groups'][] = 'superadmin';
  33. $apps[$x]['permissions'][4]['name'] = 'hunt_group_call_forward';
  34. //schema details
  35. $y = 0; //table array index
  36. $z = 0; //field array index
  37. $apps[$x]['db'][$y]['table'] = 'v_hunt_groups';
  38. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'hunt_group_uuid';
  39. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
  40. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
  41. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
  42. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
  43. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  44. $z++;
  45. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'domain_uuid';
  46. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
  47. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
  48. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
  49. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
  50. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_domains';
  51. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid';
  52. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  53. $z++;
  54. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'dialplan_uuid';
  55. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
  56. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
  57. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
  58. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
  59. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_dialplans';
  60. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'dialplan_uuid';
  61. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  62. $z++;
  63. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'hunt_group_extension';
  64. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgroupextension';
  65. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  66. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  67. $z++;
  68. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'hunt_group_name';
  69. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgroupname';
  70. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  71. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  72. $z++;
  73. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'hunt_group_type';
  74. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgrouptype';
  75. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  76. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  77. $z++;
  78. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'hunt_group_context';
  79. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgroupcontext';
  80. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  81. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  82. $z++;
  83. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'hunt_group_timeout';
  84. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgrouptimeout';
  85. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  86. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  87. $z++;
  88. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'hunt_group_timeout_destination';
  89. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgrouptimeoutdestination';
  90. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  91. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  92. $z++;
  93. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'hunt_group_timeout_type';
  94. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgrouptimeouttype';
  95. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  96. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  97. $z++;
  98. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'hunt_group_ringback';
  99. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgroupringback';
  100. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  101. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  102. $z++;
  103. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'hunt_group_cid_name_prefix';
  104. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgroupcidnameprefix';
  105. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  106. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  107. $z++;
  108. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'hunt_group_pin';
  109. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgrouppin';
  110. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  111. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  112. $z++;
  113. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'hunt_group_caller_announce';
  114. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgroupcallerannounce';
  115. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  116. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  117. $z++;
  118. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'hunt_group_call_prompt';
  119. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  120. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  121. $z++;
  122. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'hunt_group_user_list';
  123. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  124. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  125. $z++;
  126. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'hunt_group_enabled';
  127. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  128. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  129. $z++;
  130. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'hunt_group_description';
  131. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'huntgroup_desc';
  132. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  133. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  134. $y = 1; //table array index
  135. $z = 0; //field array index
  136. $apps[$x]['db'][$y]['table'] = 'v_hunt_group_destinations';
  137. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'id';
  138. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'hunt_group_destination_id';
  139. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'serial';
  140. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'integer';
  141. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'INT NOT NULL AUTO_INCREMENT';
  142. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  143. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = 'true';
  144. $z++;
  145. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'hunt_group_destination_uuid';
  146. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
  147. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
  148. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
  149. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
  150. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  151. $z++;
  152. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'domain_uuid';
  153. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
  154. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
  155. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
  156. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
  157. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_domains';
  158. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid';
  159. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  160. $z++;
  161. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'hunt_group_uuid';
  162. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
  163. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
  164. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
  165. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
  166. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_domains';
  167. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid';
  168. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  169. $z++;
  170. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'v_id';
  171. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  172. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  173. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = 'true';
  174. $z++;
  175. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'hunt_group_id';
  176. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'numeric';
  177. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  178. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = 'true';
  179. $z++;
  180. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'destination_data';
  181. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'destinationdata';
  182. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  183. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  184. $z++;
  185. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'destination_type';
  186. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'destinationtype';
  187. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  188. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  189. $z++;
  190. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'destination_profile';
  191. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'destinationprofile';
  192. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  193. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  194. $z++;
  195. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'destination_timeout';
  196. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  197. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  198. $z++;
  199. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'destination_order';
  200. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'destinationorder';
  201. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'numeric';
  202. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  203. $z++;
  204. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'destination_enabled';
  205. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  206. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  207. $z++;
  208. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'destination_description';
  209. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'destinationdescr';
  210. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  211. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  212. $y = 2; //table array index
  213. $z = 0; //field array index
  214. $apps[$x]['db'][$y]['table'] = 'v_hunt_group_users';
  215. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'id';
  216. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'serial';
  217. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'integer';
  218. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'INT NOT NULL AUTO_INCREMENT';
  219. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  220. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = 'true';
  221. $z++;
  222. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'hunt_group_user_uuid';
  223. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
  224. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
  225. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
  226. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
  227. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  228. $z++;
  229. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'domain_uuid';
  230. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
  231. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
  232. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
  233. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
  234. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_domains';
  235. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid';
  236. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  237. $z++;
  238. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'hunt_group_uuid';
  239. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
  240. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
  241. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
  242. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
  243. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_hunt_groups';
  244. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'hunt_group_uuid';
  245. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  246. $z++;
  247. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'user_uuid';
  248. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
  249. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
  250. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
  251. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
  252. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_users';
  253. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'user_uuid';
  254. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
  255. ?>