aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-09-02 23:47:49 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-09-02 23:47:49 +0000
commit1c5c3d5869cd0fe5e18d259dc959348ffee5a93a (patch)
tree7b022cf2dbd09b38d79ce840e1c73cb362423027
parent7ed267a604183ccc3b3c5ea3bd8bca0b4af0906b (diff)
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/branches/1.4@140751 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 f430d3b89..711e9b5a5 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -7066,6 +7066,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