mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 19:28:53 +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
This commit is contained in:
@@ -2652,8 +2652,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