Procedure-level EDR Generation

The Event Logging feature captures procedure-level information per subscriber. Upon completing a procedure, either successfully or unsuccessfully, the SMF generates a procedure summary or event report logging the event.

The EDR generation per procedure is configurable. For configuration details, see the Configure EDR Files for Generation section in this guide.

The following table lists the supported procedures and the corresponding IDs.

Procedure List
Procedure Procedure-ID
PDN-SESSION-CREATE or PDU-SESSION-CREATE 3
PDN-SESSION-DELETE or PDU-SESSION-DELETE 4

Further, the SMF captures event-level information per procedure. The following table provides details on the subscriber events and the respective event IDs.

The events captured per procedure are configurable. For configuration details, see the Configure EDR Files for Generation section in this guide.

Event ID
EVENT EVENT-ID
N11SmContextCreateReq 1287
N11SmContextUpdateReq 1290
N11N1N2MessageTransferReq 1299
N11SmContextUpdateModifyReq 1293
N11EbiAssignmentReq 1302
N11SmContextReleaseReq 1304
N11SmContextStatusNotifyReq 1310
N11N1N2MessageTransferFailNotificationReq 1339
N4SessionModificationReq 527
N4SessionReleaseReq 530
N4SessionEstablishmentReq 524
N7SmPolicyCreateReq 3329
N7SmPolicyDeleteReq 3335
N7SmPolicyUpdateReq 3332
N7SmPolicyTerminateNotifyReq 3341
N10UnsubscribeForNotificationReq 1432
N10SubscribeForNotificationReq 1319
N10RegistrationRequest 1313
N10SubscriptionFetchReq 1316
N10DeregistrationRequest 1325
N10UnsubscribeForNotificationReq 1432
N10UpdateNotifyReq 1322
N40ChargingDataReq 3585
N40ChargingDataReq 3585
N40ChargingNotificationReq 3588
SecondaryAuthenReq 2307
S5S8CreateSessReq 2051
S5S8DeleteBearerReq 2057
S5S8DeleteSessReq 2055
metadata 1000

The following tables list the detailed event record for the PDU Session Create and Delete procedures.

PDU Session Create Procedure
Attributes Event ID Field Name Presence Type Description
TXN EDR fields M

PROCEDURE

ID

EVENT-ID VERSION M String N11SmContext CreateReq
SUPI M String
IMEI/PEI M String
IMSI M String
MSISDN M String
GPSI M String
STATUS M String
STATUS-CODE O Number
PDU(PDN)- SESSION-TYPE O Number
SSC-MODE O Number
CAUSE O String
PCO O PCO
N1MSGREQ TYPE O N1N2MSGREQ CONTENT PDU-SESSION -ESTB-REQUEST
N2MSGREQ TYPE O N1N2MSGREQ CONTENT
N1MSGRESP TYPE O N1N2MSGRSP CONTENT PDU-SESSION- ESTB-REJECT
N2MSGRESP TYPE O N1N2MSGRSP CONTENT
MAX-SUPP- FILTERS O Number
ALWAYS-ON O Boolean
BACKOFF-TIME O NA NA
RAT-TYPE M String

PROCEDURE

ID

EVENT-ID2 VERSION M String N11SmContext UpdateReq
STATUS M String
STATUS-CODE O Number
PCO O PCO
N1MSGREQ TYPE O N1N2MSGREQ CONTENT
N2MSGREQ TYPE O N1N2MSGREQ CONTENT
N1MSGRESP TYPE O N1N2MSGRSP CONTENT
N2MSGRESP TYPE O N1N2MSGRSP CONTENT
CAUSE O
BACKOFF-TIME O NA NA

PROCEDURE

ID

EVENT-ID3 VERSION M String N11N1N2Message TransferReq
STATUS M String
STATUS-CODE O Number
N1MSGREQ TYPE O N1N2MSGREQ CONTENT

PDU-SESSION -ESTB-ACCEPT,

PDU-SESSION -ESTB-REJECT, and so on

N2MSGREQ TYPE O N1N2MSGREQ CONTENT
N1MSGRESP TYPE O N1N2MSGRSP CONTENT
N2MSGRESP TYPE O N1N2MSGRSP CONTENT
PCO O PCO
PDU-SESSION- TYPE O Number
SSC-MODE O Number
DNN O String
QOS-RULE O QOS-RULE
QOS-DESC O QOS-DESC
SESSION-AMBR O SESS-AMBR
CAUSE O String
PAA O PAA
S-NSSAI O NSSAI
ALWAYS-ON O Boolean

PROCEDURE

ID

EVENT-ID VERSION M String

N7SmPolicy CreateReq

SUPI M String
IMEI/PEI M String
GPSI M String
STATUS M String
STATUS-CODE O Number
PDU(PDN)- SESSION-TYPE O Number
QOS-DESC O QOS-DESC
SESSION-AMBR O SESS-AMBR
CAUSE O String
PROCEDURE- ID=3 EVENT-ID= <event_id> VERSION M

String

EVENT= N4Session ModificationReq,

N10Deregistration Request

N7SmPolicy UpdateReq,

N10Subscription FetchReq,

N10Unsubscribe ForNotification Req,

SecondaryAuthen Req,

N10SubscribeFor NotificationReq

N40Charging DataReq,

N7SmPolicy DeleteReq,

N11Ebi AssignmentReq,

N4Session EstablishmentReq,

N4Session ReleaseReq,

N10Registration Request

STATUS M String
STATUS-CODE O Number
PDU-SESSION- TYPE M Number
CAUSE O String

PROCEDURE

ID

EVENT-ID VERSION M String S5S8Create SessReq
SUPI M String
IMEI/PEI M String
IMSI M String
MSISDN M String
GPSI M String
STATUS M String
STATUS-CODE O Number
PCO O PCO
PDU-SESSION- TYPE O Number
SSC-MODE O Number
DNN/APN O String
QOS-RULE O QOS-RULE
QOS-DESC O QOS-DESC
SESSION-AMBR O SESS-AMBR
CAUSE O String
PAA O PAA
S-NSSAI O NSSAI
RAT-TYPE M String
EVENT-ID1=1000 VERSION M Number META DATA
SUPI M
IMEI/PEI M
IMSI M
MSISDN M
GPSI
SERVING-PLMN M
UE-LOCATION M UE-LOCATION
START-TIME M String
END-TIME M String
TRIGGER-NF M
TRIGGER- EVENT M
USERPLANE- STATUS M
CAUSE M
SGW-ID O
DISCONNECT- REASON O
STATUS M
STATUS-CODE O
DNN M
RAT-TYPE M
UE-TIMEZONE M
PDU-SESSION- TYPE M
UE-PLMN M
SUBSCRIBED- SESS-AMBR- UPLINK M
SUBSCRIBED- SESS-AMBR- DOWNLINK M
SUBSCRIBED- 5QI M
SUBSCRIBED- ARP M
PAA M
LOCAL-SEID M
REMOTE-SEID M
ROAMING- STATUS M
CONNECTION- TIME M NA NA
PDU-SESSION- ID O
ALWAYS-ON O
EPS-IWK O
S-NSSAI O
MAX-SUPP- FILTERS O
SSC-MODE O
UE-TYPE O
LOCAL-CFTEID- TEID O
LOCAL-CFTEID- IP O
REMOTE-CFTEID- TEID O
REMOTE-CFTEID- IP O
VIRTUAL-DNN/ APN O

For details on the listed attributes, see the table in the EDR Transaction File section.

PDN Delete Event
Attributes Event ID Name Presence Description
TXN EDR fields M
PROCEDURE-ID=3 EVENT-ID= <event_id> VERSION M

EVENT= N11SmContext ReleaseReq,

N40Charging DataReq,

N7SmPolicy DeleteReq,

N10UnsubscribeFor NotificationReq,

N10Deregistration Request,

N7SmPolicy TerminateNotifyReq,

N40Charging NotificationReq,

RadiusCoa DisconnectReq,

N7SmPolicy TerminateNotifyReq,

N40Charging NotificationReq,

N10Update NotifyReq,

N11SmContext StatusNotifyReq,

N11N1N2Message TransferFail NotificationReq

STATUS M
STATUS-CODE M
CAUSE O
EVENT-ID= <event_id> VERSION M

N1N2Message TransferReq,

N11SmContext UpdateReq

STATUS M
STATUS-CODE O
N1MSGREQTYPE O

PduSession ReleaseCommand,

PduSession ReleaseRequest,

PduSession ReleaseComplete

N2MSGREQTYPE O PduSessionResource ReleaseCommand
N1MSGRESPTYPE O PduSession ReleaseReject
N2MSGRESPTYPE O
BACKOFF-TIME O NA
PCO O
CAUSE O
EVENT-ID1=1000 VERSION M META-DATA
SUPI M
IMSI M
IMEI M
MSISDN M
GPSI
SERVING-PLMN M
UE-LOCATION M
START-TIME M
END-TIME M
TRIGGER-NF M
TRIGGER-EVENT M
USERPLANE- STATUS M
CAUSE M
SGW-ID O
DISCONNECT- REASON O
STATUS M
UPDATE-TIME M NA

NOTES:

  • Userplane-status is of type number. The number can be one of the following:

    • UpStateNone = 0

    • UpStateEstablishing = 1 // UPF Session is being established or setup

    • UpStateActivating = 2 // UPF Session is being modified to Activate Access Tunnel

    • UpStateActivated = 3 // UPF Session Active for Access & Core Tunnel

    • UpStateDeactivating = 4 // UPF Session is being modified to Deactivate Access Tunnel

    • UpStateDeactivated = 5 // UPF Session Deactivated for Access, valid Core Tunnel Only

    • UpStateModifying = 6 // UPF Session is being modified for QoS/flow parameters

    • UpStateDeleting = 7 // UPF Session is being Released

    • UpStateDeleted = 8 // UPF Session is Released

  • PduSessionType is of type number. The number can be one of the following:

    • UnknownSessionType = 0

    • Ipv4PduSession = 1

    • Ipv6PduSession = 2

    • Ipv4V6PduSession = 3

      Unstrutured = 4

      Ethernet = 5

      FutureUsePduSessionType = 7

  • SSC mode is of type number. The number can be one of the following:

    • UnknownSscMode = 0

    • SscMode1 = 1

    • SscMode2 = 2

    • SscMode3 = 3

    • DupSscMode1 = 4

    • DupSscMode2 = 5

    • DupSscMode3 = 6

    • FutureUseSscMode = 7

  • Eps Iwk (Type: Number)

    • EpsInterworkingIndication_DummyEnum = 0

    • EpsInterworkingIndication_NONE = 1

    • EpsInterworkingIndication_WITH_N26 = 2

    • EpsInterworkingIndication_WITHOUT_N26 = 3

  • Roaming status (Type: Number)

    • ROAMING_STATUS_NONE = 0

    • ROAMING_STATUS_HOMER =1 //HOMER

    • ROAMING_STATUS_VISITOR_LBO =2 //LBO

    • ROAMING_STATUS_VISITOR_HR = 3 //IN-HR

    • ROAMING_STATUS_ROMER = 4 //OUT-HR

  • PreemptionCapability (type: Number)

    5G:

    • 0: "PreemptionCapability_DummyEnum",

    • 1: "NOT_PREEMPT",

    • 2: "MAY_PREEMPT",

    Others:

    • 0: Disabled

    • 1: Enabled

  • PreemptionVulnerability (type: Number)

    5G:

    • 0: "PreemptionVulnerability_DummyEnum",

    • 1: "NOT_PREEMPTABLE",

    • 2: "PREEMPTABLE",

  • Disconnect-Reason (type: String)

    Disconnect-Reason contains a self-explanatory string. If it holds a number, then the string interpretation is as follows:

    • PduRelReason_Error = 1

    • PduRelReason_SessIdleTimeout = 2

    • PduRelReason_SessCpIdleTimeout = 3

    • PduRelReason_SessAbsoluteTimeout = 4

Procedure EDR Example:

1,2021/03/18 13:43:40.892,1448,imsi-123456789012345,1287,N11SmContextCreateReq,
.
.
.
3,1313,V1,Success,201,1,,3,1316,V1,Success,200,1,,3,1319,V1,Success,201,1,,3,1287,V1,
imsi-123456789012345,imei-123456786666660,123456789012345,9999988888,msisdn-9999988888,
Success,,1,0,,,193|,,,,,,,NR,3,3329,V1,imsi-123456789012345,imei-123456786666660,msisdn-9999988888,
Success,201,1,3|1;2;7|3000 mbps|4000 mbps|1000 mbps|2000 mbps,20 kbps|20 kbps,,3,3332,V1,Success,
204,1,,3,3585,V1,Success,201,1,,3,524,V1,Success,,1,Request_Accepted,3,1299,V1,Success,200,194|,
77|,,,,1,1,intershat,2|1|0|2|128|1|filters:0;3;1;;|3|1|0|2|192|1|filters:0;3;1;;|1|1|1|1|255|1|
filters:0;3;1;;,5||0 kbps|0 kbps|0 kbps|0 kbps|3||6000 mbps|8000 mbps|2000 mbps|4000 mbps,20 kbps|
20 kbps,N1_N2_TRANSFER_INITIATED,12.0.4.0|,2|Abf123||,0

In the preceding example, the initial entries represent the transaction EDRs and last part provided here represents the procedure-level EDRs.