From: Mark Michelson Date: Tue, 2 Sep 2008 23:48:25 +0000 (+0000) Subject: Merged revisions 140751 via svnmerge from X-Git-Tag: 1.6.2.0-beta1~1333 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f1647375b2fa562ee830385fd79c0ca04836ae95;p=thirdparty%2Fasterisk.git 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: https://origsvn.digium.com/svn/asterisk/trunk@140752 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 4d0ad2f8e8..beeed87d63 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