aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2010-04-28 17:18:43 +0000
committerjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2010-04-28 17:18:43 +0000
commit2911035fa65926d6f3d9a4502d451fd6ac6d1a88 (patch)
treefea676dcfe51fe03ea56c81bc90c54c443081003 /apps
parent7e91bd6da50b50d2bf3920150745304040df2499 (diff)
Merged revisions 259664 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r259664 | jpeeler | 2010-04-28 12:13:29 -0500 (Wed, 28 Apr 2010) | 4 lines Do not play goodbye prompt after timeout of message review. ABE-2124 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@259672 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index bed193d9c..fe6ec7173 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -12991,10 +12991,10 @@ static int play_record_review(struct ast_channel *chan, char *playfile, char *re
}
}
}
- if (outsidecaller)
- ast_play_and_wait(chan, "vm-goodbye");
if (cmd == 't')
cmd = 0;
+ else if (outsidecaller) /* won't play if time out occurs */
+ ast_play_and_wait(chan, "vm-goodbye");
return cmd;
}