Do not play goodbye prompt after timeout of message review.

ABE-2124


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@259664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jeff Peeler
2010-04-28 17:13:29 +00:00
parent 0ee6131402
commit 4e6d8d2774
+2 -2
View File
@@ -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;
}