summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2007-12-05 22:57:57 +0000
committerMark Michelson <mmichelson@digium.com>2007-12-05 22:57:57 +0000
commitfe83f511860d33cf85d00f3c6ff53941a236642a (patch)
tree1e1fe64d86c6f22ad5a5b570999c6ee4ddb3f81e /apps
parentb32e39cbda3de5ffc502b930bcf261dae9654d50 (diff)
Merged revisions 91292 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r91292 | mmichelson | 2007-12-05 16:57:13 -0600 (Wed, 05 Dec 2007) | 3 lines Reverting extra stuff I didn't mean to commit ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 7ceef6eb6..774272e2b 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -6956,7 +6956,9 @@ static int vm_execmain(struct ast_channel *chan, void *data)
/* Set language from config to override channel language */
if (!ast_strlen_zero(vmu->language))
ast_string_field_set(chan, language, vmu->language);
+#ifndef IMAP_STORAGE
create_dirpath(vms.curdir, sizeof(vms.curdir), vmu->context, vms.username, "");
+#endif
/* Retrieve old and new message counts */
ast_debug(1, "Before open_mailbox\n");
res = open_mailbox(&vms, vmu, OLD_FOLDER);