From 8340b21c1da8aea3513825d7de42c1a187502ba9 Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Wed, 14 May 2008 20:36:55 +0000 Subject: [PATCH] Voicemail "* exit" should not require an exitcontext to be specified. The behavior in 1.4 was that it would use the current context if an exitcontext existed. (closes issue #12605) Reported by: kenjreno Patches: 12605-starexit.diff uploaded by qwell (license 4) Tested by: file git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116407 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index b90351b35d..9dd7395890 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -3865,7 +3865,7 @@ static int leave_voicemail(struct ast_channel *chan, char *ext, struct leave_vm_ ast_stopstream(chan); /* Check for a '*' here in case the caller wants to escape from voicemail to something other than the operator -- an automated attendant or mailbox login for example */ - if (!ast_strlen_zero(vmu->exit) && (res == '*')) { + if (res == '*') { chan->exten[0] = 'a'; chan->exten[1] = '\0'; if (!ast_strlen_zero(vmu->exit)) {