Update voicemails.php

This commit is contained in:
FusionPBX 2024-07-30 18:50:55 -06:00 committed by GitHub
parent 440ffb69db
commit 90852f54db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -33,6 +33,9 @@
if (permission_exists('voicemail_view')) { if (permission_exists('voicemail_view')) {
//access granted //access granted
} }
elseif (permission_exists('voicemail_message_view')) {
header('Location: /app/voicemails/voicemail_messages.php');
}
else { else {
echo "access denied"; echo "access denied";
exit; exit;