mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 03:48:02 +00:00
Another adjustment for #6991 (casper)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
3
app.c
3
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)
|
||||
|
||||
Reference in New Issue
Block a user