Call Failure Logs
The following are the synopsis of the Call Failure logs to trigger session management policies towards the SMF:
-
For call failures and call releases, the disconnect-reason-based statistics are defined and attached.
-
Disconnect Reasons—They are classified into three categories as the following:
-
Major
-
Minor
-
Normal
-
-
On call failure or call release scenarios, messages are logged as the following:
-
Major (Catastrophic) Category Disconnect Reasons—The transaction log at Error level is to display the Error category, Disconnect reason, along with Event Trace, and Session keys.
-
Minor (Critical) Category Disconnect Reasons—The transaction log at Warning level to dump the Disconnect reason, along with Event Trace, and Session keys.
-
Normal Category Disconnect Reasons—The transaction log at Debug level to dump the Disconnect reason along with the Event Trace and Session keys.
-
Graceful Core Dump—This transaction log also gets performed with the same LogTag and levels.
-
-
A new LogTag to log the Call Failures also gets defined.
-
The Transaction ID gets printed in a Call Failure logs to align with the logs and call flow.
-
Based on the disconnect reason statistics, the callfailure tag with the corresponding log level can be enabled to collect further information of the session. The following is a list of examples:
-
Event Trace
-
Session keys
-
Core Dump
-
Sample Dump for Call Failure Logs
The following is a sample dump for Call Failure logs:
Example: For a procedure lapsed time of over two seconds, a Warning message gets logged with the event trace.
2022/08/23 11:10:31.222 [WARN] [smf-service.smf-app.callfailure-debug] 2sec Time Elapsed: EVENT TRACE SessionKeys[[imsi-123456789012345:5 (pk)]]
CurIndex:[2], CurProcInst:[0], CreateTimeStamp:[2022-08-23 11:10:31.204 +0530 IST], BaseTimeStamp:[2022-08-23 11:10:31.204 +0530 IST]
|INDEX|EVENT NAME |EVENT TYPE |PROC NAME |PROC INST |TXN ID |TIMESTAMP |
|1 |N11SmContextCreateReq |INCOMING_EVENT |PDU Session Establishment |1 |1 |2022-08-23 11:10:31.215 +0530 IST |
|2 |N11SmContextCreateReq |ENDPROC_EVENT |PDU Session Establishment |1 |1 |2022-08-23 11:10:31.221 +0530 IST |