mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 10:58:15 +00:00
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/branches/1.4@93291 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6508,9 +6508,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 */
|
||||
if (option_debug)
|
||||
ast_log(LOG_DEBUG, "Before open_mailbox\n");
|
||||
|
||||
Reference in New Issue
Block a user