diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index bed193d9c3c5e92b27eb6154dc1dc65f1f4027e5..fe6ec717301f0dd0fdcbeed5823d42205b104152 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; }