[mod_voicemail] Fix voicemail ignoring vm-a1-hash
This commit is contained in:
parent
de70d9d493
commit
083a9ab1c3
|
@ -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++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue