diff options
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_voicemail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 090ad2504..021b59aba 100755 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -4452,7 +4452,7 @@ static int vm_authenticate(struct ast_channel *chan, char *mailbox, int mailbox_ ast_play_and_wait(chan, "vm-goodbye"); return -1; } - if (!skipuser) { + if (vmu && !skipuser) { memcpy(res_vmu, vmu, sizeof(struct ast_vm_user)); } return 0; |