From: Martin Paterson <61424351+MartinJPaterson@users.noreply.github.com> Date: Tue, 28 Dec 2021 16:02:02 +0000 (+0000) Subject: [mod_voicemail] Fix voicemail ignoring vm-a1-hash X-Git-Tag: v1.10.8^2~92 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=083a9ab1c31b44fb79fdb924e7038653cf24793e;p=thirdparty%2Ffreeswitch.git [mod_voicemail] Fix voicemail ignoring vm-a1-hash --- diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c index 8f8384fab1..1768f59585 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -2583,7 +2583,7 @@ static void voicemail_check_main(switch_core_session_t *session, vm_profile_t *p if (!auth) { if (!zstr(cbt.password) && !strcmp(cbt.password, mypass)) { auth++; - } else if (!thepass && profile->allow_empty_password_auth) { + } else if (!thehash && !thepass && profile->allow_empty_password_auth) { auth++; }