diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-14 20:37:22 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-14 20:37:22 +0000 |
commit | 7371f64d6190caea9ef6a6a52d8199e80f7299bc (patch) | |
tree | 50cc0e789ee09fe49c3816fa4d5d4e3521f40213 /apps | |
parent | 61c73a8d60cd658a78bc5c85aad2f6cbe608b52f (diff) |
Merged revisions 116407 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r116407 | qwell | 2008-05-14 15:36:55 -0500 (Wed, 14 May 2008) | 9 lines
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: http://svn.digium.com/svn/asterisk/branches/1.6.0@116408 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 423b95780..1dd57bef2 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -3150,7 +3150,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)) { |