Add per-voicemail transcription enabled. (#2370)

This commit is contained in:
Chris Black
2017-02-13 13:12:43 -07:00
committed by FusionPBX
parent e0e1bc6950
commit 7dca005cdf
5 changed files with 96 additions and 38 deletions
+8
View File
@@ -66,6 +66,10 @@
$y++;
$apps[$x]['permissions'][$y]['name'] = "voicemail_sms_edit";
$y++;
$apps[$x]['permissions'][$y]['name'] = "voicemail_transcription_edit";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$y++;
//default settings
$y = 0;
@@ -167,6 +171,10 @@
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the sms did to send voicemail to.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "voicemail_transcription_enabled";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "If voicemail transcription is enabled for this user";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "voicemail_attach_file";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Choose whether to attach the file to the email.";