diff options
author | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-04 21:02:26 +0000 |
---|---|---|
committer | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-04 21:02:26 +0000 |
commit | e779db47c5f7a23165d3465ec2b9dde2abddf5f9 (patch) | |
tree | 3b5f0fbc5a695dc25d7ac515e9f97c26676e492c /app.c | |
parent | bf360869dfe60aaf94bc85bfe6ab0b87b2a0819c (diff) |
Another adjustment for #6991 (casper)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24759 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'app.c')
-rw-r--r-- | app.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) |