Fork of FusionPBX but with LDAP kinda working
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

128 lines
6.4 KiB

2 years ago
  1. <?php
  2. //application details
  3. $apps[$x]['name'] = "Voicemail Greetings";
  4. $apps[$x]['uuid'] = "e4b4fbee-9e4d-8e46-3810-91ba663db0c2";
  5. $apps[$x]['category'] = "Switch";
  6. $apps[$x]['subcategory'] = "";
  7. $apps[$x]['version'] = "1.0";
  8. $apps[$x]['license'] = "Mozilla Public License 1.1";
  9. $apps[$x]['url'] = "http://www.fusionpbx.com";
  10. $apps[$x]['description']['en-us'] = "Manager voicemail greetings for extensions.";
  11. $apps[$x]['description']['en-gb'] = "Manager voicemail greetings for extensions.";
  12. $apps[$x]['description']['ar-eg'] = "";
  13. $apps[$x]['description']['de-at'] = "Verwalte Voicemail-Begrüßungen für Nebenstellen.";
  14. $apps[$x]['description']['de-ch'] = "";
  15. $apps[$x]['description']['de-de'] = "Verwalte Voicemail-Begrüßungen für Nebenstellen.";
  16. $apps[$x]['description']['es-cl'] = "Administrador de mensajes de bienvenida de correo de voz para extensiones.";
  17. $apps[$x]['description']['es-mx'] = "";
  18. $apps[$x]['description']['fr-ca'] = "Accueil messagerie Vocale";
  19. $apps[$x]['description']['fr-fr'] = "Accueil messagerie Vocale.";
  20. $apps[$x]['description']['he-il'] = "";
  21. $apps[$x]['description']['it-it'] = "";
  22. $apps[$x]['description']['nl-nl'] = "";
  23. $apps[$x]['description']['pl-pl'] = "";
  24. $apps[$x]['description']['pt-br'] = "";
  25. $apps[$x]['description']['pt-pt'] = "Gestor de saudações de correio de voz para extensões.";
  26. $apps[$x]['description']['ro-ro'] = "";
  27. $apps[$x]['description']['ru-ru'] = "Менеджер приветствий Голосовой почты для Внутренних Номеров.";
  28. $apps[$x]['description']['sv-se'] = "";
  29. $apps[$x]['description']['uk-ua'] = "";
  30. //permission details
  31. $apps[$x]['permissions'][$y]['name'] = "voicemail_greeting_view";
  32. $apps[$x]['permissions'][$y]['groups'][] = "user";
  33. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  34. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  35. $y++;
  36. $apps[$x]['permissions'][$y]['name'] = "voicemail_greeting_add";
  37. $apps[$x]['permissions'][$y]['groups'][] = "user";
  38. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  39. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  40. $y++;
  41. $apps[$x]['permissions'][$y]['name'] = "voicemail_greeting_edit";
  42. $apps[$x]['permissions'][$y]['groups'][] = "user";
  43. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  44. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  45. $y++;
  46. $apps[$x]['permissions'][$y]['name'] = "voicemail_greeting_delete";
  47. $apps[$x]['permissions'][$y]['groups'][] = "user";
  48. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  49. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  50. $y++;
  51. $apps[$x]['permissions'][$y]['name'] = "voicemail_greeting_upload";
  52. $apps[$x]['permissions'][$y]['groups'][] = "user";
  53. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  54. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  55. $y++;
  56. $apps[$x]['permissions'][$y]['name'] = "voicemail_greeting_play";
  57. $apps[$x]['permissions'][$y]['groups'][] = "user";
  58. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  59. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  60. $y++;
  61. $apps[$x]['permissions'][$y]['name'] = "voicemail_greeting_download";
  62. $apps[$x]['permissions'][$y]['groups'][] = "user";
  63. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  64. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  65. //schema details
  66. $y=0;
  67. $apps[$x]['db'][$y]['table']['name'] = "v_voicemail_greetings";
  68. $apps[$x]['db'][$y]['table']['parent'] = "";
  69. $z=0;
  70. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
  71. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "greeting_id";
  72. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
  73. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
  74. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";
  75. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  76. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  77. $z++;
  78. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "voicemail_greeting_uuid";
  79. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "greeting_uuid";
  80. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  81. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  82. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  83. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  84. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  85. $z++;
  86. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  87. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  88. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  89. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  90. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  91. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  92. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  93. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  94. $z++;
  95. $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
  96. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  97. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  98. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  99. $z++;
  100. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "voicemail_id";
  101. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "user_id";
  102. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  103. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  104. $z++;
  105. $apps[$x]['db'][$y]['fields'][$z]['name'] = "greeting_id";
  106. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  107. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  108. $z++;
  109. $apps[$x]['db'][$y]['fields'][$z]['name'] = "greeting_name";
  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'] = "greeting_filename";
  114. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  115. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  116. $z++;
  117. $apps[$x]['db'][$y]['fields'][$z]['name'] = "greeting_description";
  118. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  119. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  120. $z++;
  121. $apps[$x]['db'][$y]['fields'][$z]['name'] = "greeting_base64";
  122. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  123. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Voicemail greeting file encoded in base64.";
  124. ?>