aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-09-02 23:48:25 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-09-02 23:48:25 +0000
commitc49e9508631a1626f84f6f478120389a105ee7a5 (patch)
tree1f1d6374d47f0ce814100cfc33806899e4f7973d
parent0e1691fcb4b63a9b50fa9c226c004f46adae398b (diff)
Merged revisions 140751 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r140751 | mmichelson | 2008-09-02 18:47:49 -0500 (Tue, 02 Sep 2008) | 6 lines After adding the context checking to app_voicemail for IMAP storage, I left out a crucial place to copy the context to the vm_state structure. This is the correction. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@140752 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_voicemail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 4d0ad2f8e..beeed87d6 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -8626,6 +8626,7 @@ static int vm_execmain(struct ast_channel *chan, void *data)
#ifdef IMAP_STORAGE
vms.interactive = 1;
vms.updated = 1;
+ ast_copy_string(vms.context, vmu->context, sizeof(vms.context));
vmstate_insert(&vms);
init_vm_state(&vms);
#endif