diff options
Diffstat (limited to 'apps/app_voicemail.c')
-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 52279fcc0..ddf3e1ec8 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -10545,10 +10545,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; } |