For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

You are reading Charging Data Function 4.2, an older release. The newest release is 4.3. Read this page in 4.3

Charging Data Function 4.0.0

Charging Data Function (CDF) in version 4.0.0 uses NATS storage capabilities for all storage needs. As a result, having a persistent volume and an S3 server to store DETS files is no longer necessary.

The Helm chart includes new configuration options for NATS. Configuration options and metrics related to persistent volumes, DETS, and S3 are removed.

The Rf and Ga interfaces remain unchanged. CDF 4.0.0 relies on Session Management ControllerBroken link (SMC) version 3 and higher to assemble charging data during interim intervals.

Note

Before upgrading to the newest version, read the instructions provided in the migration guide.

Features

CDF with NATS transport

CDF now uses NATS streams for processing CDRs. CDF receiver queues each CDR directly into a NATS stream. Then, CDF sender pulls them from a stream consumer, sends them to CGF as requests, and deletes them from the consumer after a successful response. If a response is lost, the CDR is pulled from the consumer again.

CDF 4.0.0 replaces persistent storage with NATS key-value store for saving values like the number of restarts.

Seperate sender and receiver images

CDF 4.0.0 now uses two separate images for CDF sender and CDF receiver instead of one image that served different purposes depending on the configuration. This change results in smaller image sizes:

  • Sender: 19 MB
  • Receiver: 18 MB For reference, the CDF 3 image was 46 MB.

CDR local record sequence number per nodeID

In CDF 3, the CDF sender assigned the local record sequence number itself. To make sure the local record sequence number is unique, in CDF 4, the sequence number is assigned based on nodeID, which must be unique for each CDF receiver. The maximum length for nodeID is 20 characters.