From: Mark Michelson Date: Tue, 2 Sep 2008 23:47:49 +0000 (+0000) Subject: After adding the context checking to app_voicemail X-Git-Tag: 1.4.22-rc3~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=df5793b73cbe2967eae38f0e70b6e4ec55693927;p=thirdparty%2Fasterisk.git 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/branches/1.4@140751 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index f430d3b898..711e9b5a51 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