mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
Merge "app_record: Do not hang up if beep audio is missing"
This commit is contained in:
@@ -358,7 +358,8 @@ static int record_exec(struct ast_channel *chan, const char *data)
|
|||||||
if (!res) {
|
if (!res) {
|
||||||
res = ast_waitstream(chan, "");
|
res = ast_waitstream(chan, "");
|
||||||
} else {
|
} else {
|
||||||
ast_log(LOG_WARNING, "ast_streamfile failed on %s\n", ast_channel_name(chan));
|
ast_log(LOG_WARNING, "ast_streamfile(beep) failed on %s\n", ast_channel_name(chan));
|
||||||
|
res = 0;
|
||||||
}
|
}
|
||||||
ast_stopstream(chan);
|
ast_stopstream(chan);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user