diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index c82dab88a953a4d12ce32b1cfd7cc8c65dccc3e9..25d977ff2ccc52baa02b8b8543e575468c53936a 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -4063,7 +4063,7 @@ static int forward_message(struct ast_channel *chan, char *context, struct vm_st long duration = 0; RETRIEVE(dir, curmsg); - cmd = vm_forwardoptions(chan, sender, dir, curmsg, vmfmts, context, record_gain, &duration, vms); + cmd = vm_forwardoptions(chan, sender, dir, curmsg, vmfmts, S_OR(context, "default"), record_gain, &duration, vms); if (!cmd) { AST_LIST_TRAVERSE_SAFE_BEGIN(&extensions, vmtmp, list) { #ifdef IMAP_STORAGE