Merged revisions 64720 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Thu, 17 May 2007 13:50:54 +0000 (13:50 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 17 May 2007 13:50:54 +0000 (13:50 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64720 | file | 2007-05-17 09:48:44 -0400 (Thu, 17 May 2007) | 2 lines

Fix authuser support. (issue #9740 reported by xmarksthespot)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64721 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index e31f743..c3b9610 100644 (file)
@@ -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))