diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 482c6dbd25..b6c538aabf 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -4626,7 +4626,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))