summaryrefslogtreecommitdiff
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2007-12-17 20:20:32 +0000
committerMark Michelson <mmichelson@digium.com>2007-12-17 20:20:32 +0000
commit2a8a244447191f9407f2c4263e97a38e2648144d (patch)
treeb6dcb8f6e2c5222a9815fc11105386bf7c24ccb7 /apps/app_voicemail.c
parent779af3faac665bb9c648a4fa912d154e0c288503 (diff)
Merged revisions 93291 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r93291 | mmichelson | 2007-12-17 13:53:48 -0600 (Mon, 17 Dec 2007) | 6 lines We need to create the directory for a voicemail user even if they are using IMAP storage since greetings are stored in the filesystem. (closes issue #11388, reported by spditner, patch by me inspired by a patch by spditner) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 0eea4e926..98f142a8e 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -6968,9 +6968,7 @@ 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);