PEC CDR

The Policy Event Consumer records a CDR at various points of the integration so that there is visibility over the processing of events. Both CDRH and slf4j are supported. This is set in the CDR configuration. If using slf4j, the location of the cdr file is found in the logback.xml file under <property name="CDR_FILE_LOCATION" value="/path/to/file/name.log"/>.

The PEC produces 2 CDRs whereby you will see transaction types of 0 and either 1 or 2 depending on the outcome of the event passing through the PEC.
Field Name Description

1

MSISDN

The subscriber’s MSISDN in international format.

2

Service ID

The service ID for this CDR which is 97.

3

Transaction Type

The ordinal of the Status Enum.

values
  • 0 = processing

  • 1 = success

  • 2 = error

4

Tenant ID

Alphanumeric string that displays the ID of the network operator for which the CDR was produced.

5

Correlation ID

A unique identifier for an SPCM message.

This allows referencing across system boundaries.

6

Event Type

The SPCM event type.

7

Plan Name

The SPCM plan name.

PEC CDR Samples

success
35386147258399,97,0,tenant,5b0d2ce9-fac0-4d43-a0f8-9bc0c63563e0,PLAN_EXPIRED,Weekly 10GB
35386147258399,97,1,tenant,5b0d2ce9-fac0-4d43-a0f8-9bc0c63563e0,PLAN_EXPIRED,Weekly 10GB
error
35386147258399,97,0,tenant,5b0d2ce9-fac0-4d43-a0f8-9bc0c63563e0,PLAN_EXPIRED,Weekly 10GB
35386147258399,97,2,tenant,5b0d2ce9-fac0-4d43-a0f8-9bc0c63563e0,PLAN_EXPIRED,Weekly 10GB