mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 02:26:23 +00:00
Fix a few log messages.
(closes issue #11396) Reported by: IgorG Patches: spell.v1.diff uploaded by IgorG (license 20) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89981 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -313,7 +313,7 @@ int ast_jb_put(struct ast_channel *chan, struct ast_frame *f)
|
||||
|
||||
/* We consider an enabled jitterbuffer should receive frames with valid timing info. */
|
||||
if (!f->has_timing_info || f->len < 2 || f->ts < 0) {
|
||||
ast_log(LOG_WARNING, "%s recieved frame with invalid timing info: "
|
||||
ast_log(LOG_WARNING, "%s received frame with invalid timing info: "
|
||||
"has_timing_info=%d, len=%ld, ts=%ld, src=%s\n",
|
||||
chan->name, f->has_timing_info, f->len, f->ts, f->src);
|
||||
return -1;
|
||||
|
@@ -2117,7 +2117,7 @@ static int agi_exec_full(struct ast_channel *chan, void *data, int enhanced, int
|
||||
return -1;
|
||||
}
|
||||
if (dead)
|
||||
ast_log(LOG_NOTICE, "Hungup channel detected, running agi in dead mode.");
|
||||
ast_log(LOG_NOTICE, "Hungup channel detected, running agi in dead mode.\n");
|
||||
ast_copy_string(buf, data, sizeof(buf));
|
||||
memset(&agi, 0, sizeof(agi));
|
||||
AST_STANDARD_APP_ARGS(args, tmp);
|
||||
@@ -2203,7 +2203,7 @@ static int eagi_exec(struct ast_channel *chan, void *data)
|
||||
|
||||
static int deadagi_exec(struct ast_channel *chan, void *data)
|
||||
{
|
||||
ast_log(LOG_WARNING, "DeadAGI has been deprecated, please use AGI in all cases!");
|
||||
ast_log(LOG_WARNING, "DeadAGI has been deprecated, please use AGI in all cases!\n");
|
||||
return agi_exec(chan, data);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user