summaryrefslogtreecommitdiff
path: root/app.c
diff options
context:
space:
mode:
authorBJ Weschke <bweschke@btwtech.com>2006-05-04 21:02:26 +0000
committerBJ Weschke <bweschke@btwtech.com>2006-05-04 21:02:26 +0000
commit53e8e35d79c11f67337f6306358fb3b2bb8a6918 (patch)
tree3b5f0fbc5a695dc25d7ac515e9f97c26676e492c /app.c
parentc8c8164f13dfc18e0746776577c41c7762d8c5d3 (diff)
Another adjustment for #6991 (casper)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'app.c')
-rw-r--r--app.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/app.c b/app.c
index d8069c381..c70d33c06 100644
--- a/app.c
+++ b/app.c
@@ -781,8 +781,7 @@ static int __ast_play_and_record(struct ast_channel *chan, const char *playfile,
if (rfmt && ast_set_read_format(chan, rfmt)) {
ast_log(LOG_WARNING, "Unable to restore format %s to channel '%s'\n", ast_getformatname(rfmt), chan->name);
}
- if (outmsg > 1) {
- /* Let them know it worked */
+ if (outmsg == 2) {
ast_stream_and_wait(chan, "auth-thankyou", chan->language, "");
}
if (sildet)