mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 11:11:05 +00:00
func_frame_drop: Add debug messages for dropped frames.
Add debug messages in scenarios where frames that are usually processed
are dropped or skipped.
Resolves: #1371
(cherry picked from commit 95becab186
)
This commit is contained in:
committed by
George Joseph
parent
8d3abb065e
commit
bcc3d38e46
@@ -2645,8 +2645,9 @@ int ast_raw_answer_with_stream_topology(struct ast_channel *chan, struct ast_str
|
||||
ast_channel_unlock(chan);
|
||||
break;
|
||||
case AST_STATE_UP:
|
||||
break;
|
||||
/* Fall through */
|
||||
default:
|
||||
ast_debug(2, "Skipping answer, since channel state on %s is %s\n", ast_channel_name(chan), ast_state2str(ast_channel_state(chan)));
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user