diff options
author | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-04-28 17:13:29 +0000 |
---|---|---|
committer | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-04-28 17:13:29 +0000 |
commit | 13892793293fb7996feeec6ecd8464a323ca7263 (patch) | |
tree | 7dcaceace1240c48c1352d97a91a3f1a77601c08 /apps | |
parent | 6d44533c78b139bea2377656a2f0397d77afecc9 (diff) |
Do not play goodbye prompt after timeout of message review.
ABE-2124
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@259664 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index cfd0d6528..c8bf5b4dc 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -9538,10 +9538,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; } |