forked from acouzens/open5gs
logging improvements (#1348)
* [SMF] Fix typo in debug message * [SMF] Add debug messages to follow messages received in N4
This commit is contained in:
parent
9b7ebf9927
commit
5fff69306f
|
@ -117,6 +117,8 @@ void smf_5gc_n4_handle_session_establishment_response(
|
|||
ogs_assert(xact);
|
||||
ogs_assert(rsp);
|
||||
|
||||
ogs_debug("Session Establishment Response [5gc]");
|
||||
|
||||
stream = xact->assoc_stream;
|
||||
ogs_assert(stream);
|
||||
|
||||
|
@ -225,6 +227,8 @@ void smf_5gc_n4_handle_session_modification_response(
|
|||
ogs_assert(xact);
|
||||
ogs_assert(rsp);
|
||||
|
||||
ogs_debug("Session Modification Response [5gc]");
|
||||
|
||||
flags = xact->modify_flags;
|
||||
ogs_assert(flags);
|
||||
|
||||
|
@ -578,6 +582,8 @@ void smf_5gc_n4_handle_session_deletion_response(
|
|||
ogs_assert(xact);
|
||||
ogs_assert(rsp);
|
||||
|
||||
ogs_debug("Session Deletion Response [5gc]");
|
||||
|
||||
stream = xact->assoc_stream;
|
||||
trigger = xact->delete_trigger;
|
||||
ogs_assert(trigger);
|
||||
|
@ -690,6 +696,8 @@ void smf_epc_n4_handle_session_establishment_response(
|
|||
ogs_assert(xact);
|
||||
ogs_assert(rsp);
|
||||
|
||||
ogs_debug("Session Establishment Response [epc]");
|
||||
|
||||
gtp_xact = xact->assoc_xact;
|
||||
ogs_assert(gtp_xact);
|
||||
|
||||
|
@ -849,6 +857,8 @@ void smf_epc_n4_handle_session_modification_response(
|
|||
ogs_assert(xact);
|
||||
ogs_assert(rsp);
|
||||
|
||||
ogs_debug("Session Modification Response [epc]");
|
||||
|
||||
if (flags & OGS_PFCP_MODIFY_SESSION) {
|
||||
/* If smf_epc_pfcp_send_session_modification_request() is called */
|
||||
|
||||
|
@ -1043,6 +1053,8 @@ void smf_epc_n4_handle_session_deletion_response(
|
|||
ogs_assert(xact);
|
||||
ogs_assert(rsp);
|
||||
|
||||
ogs_debug("Session Deletion Response [epc]");
|
||||
|
||||
gtp_xact = xact->assoc_xact;
|
||||
|
||||
ogs_pfcp_xact_commit(xact);
|
||||
|
@ -1113,6 +1125,8 @@ void smf_n4_handle_session_report_request(
|
|||
ogs_assert(pfcp_xact);
|
||||
ogs_assert(pfcp_req);
|
||||
|
||||
ogs_debug("Session Report Request");
|
||||
|
||||
cause_value = OGS_GTP_CAUSE_REQUEST_ACCEPTED;
|
||||
|
||||
if (!sess) {
|
||||
|
|
|
@ -69,7 +69,7 @@ void smf_s5c_handle_create_session_request(
|
|||
ogs_assert(xact);
|
||||
ogs_assert(req);
|
||||
|
||||
ogs_debug("Create Session Reqeust");
|
||||
ogs_debug("Create Session Request");
|
||||
|
||||
cause_value = OGS_GTP_CAUSE_REQUEST_ACCEPTED;
|
||||
|
||||
|
|
Loading…
Reference in New Issue