Merged revisions 259664 via svnmerge from
[asterisk/asterisk.git] / apps / app_voicemail.c
index bed193d..fe6ec71 100644 (file)
@@ -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;
 }