Add message tracing to Osmo-CC

This commit is contained in:
Andreas Eversberg
2021-08-01 12:26:38 +02:00
parent 6aa8a237db
commit 1dff336ea2
3 changed files with 605 additions and 4 deletions

View File

@@ -930,6 +930,8 @@ static void handle_msg(osmo_cc_call_t *call, osmo_cc_msg_t *msg)
PDEBUG(DCC, DEBUG_INFO, "Handle message %s at state %s (callref %d)\n",
osmo_cc_msg_name(msg->type), state_names[call->state], call->callref);
if (debuglevel <= DEBUG_INFO)
osmo_cc_debug_ie(msg, DEBUG_INFO);
statemachine_list[i].action(call, msg);
}