diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index e31f743536..c3b9610589 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -4814,7 +4814,7 @@ static void imap_mailbox_name(char *spec, struct vm_state *vms, int box, int use /* Add authentication user if present */ if (!ast_strlen_zero(authuser)) - ast_build_string(&t, &left, "/%s", authuser); + ast_build_string(&t, &left, "/authuser=%s", authuser); /* Add flags if present */ if (!ast_strlen_zero(imapflags))