[Asterisk-code-review] app_record: Do not hang up if beep audio is missing (asterisk[13])
Corey Farrell
asteriskteam at digium.com
Thu Jan 9 05:16:06 CST 2020
Corey Farrell has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/13585 )
Change subject: app_record: Do not hang up if beep audio is missing
......................................................................
app_record: Do not hang up if beep audio is missing
Additionally alter the warning to mention that it was "beep" which could
not be streamed to give admins a better clue about what the warning
means.
ASTERISK-28682
Change-Id: If5aed21226a173117ed17589f44826dd1ba6576e
---
M apps/app_record.c
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/85/13585/1
diff --git a/apps/app_record.c b/apps/app_record.c
index 99948e7..0a220a9 100644
--- a/apps/app_record.c
+++ b/apps/app_record.c
@@ -360,7 +360,8 @@
if (!res) {
res = ast_waitstream(chan, "");
} 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);
}
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/13585
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Change-Id: If5aed21226a173117ed17589f44826dd1ba6576e
Gerrit-Change-Number: 13585
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200109/3446ab57/attachment.html>
More information about the asterisk-code-review
mailing list