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.

Architecture

Charging Data Function (CDF) consists of two main components:

  • CDF Receiver - Receives charging data in the form of Accounting Requests (ACRs) from Session Management Function (SMF). Then, CDF converts this charging data into Charging Data Records (CDRs) and sends CDRs for further processing.
  • CDF Sender - Consumes CDRs and sends them to the Charging Gateway Function (CGF), which prepares them for billing systems. Then, CGF sends acknowledgments back to confirm successful delivery.

See the CDF workflow diagram:

CDF workflow
CDF workflow
  1. Session Management Controller sends ACRs to CDF Receiver. CDF Receiver supports multiple interfaces for receiving ACRs, including:

    • Diameter Rf interface for legacy charging
    • Nchf HTTP interface for 5G converged charging
  2. CDF Receiver converts ACRs into CDRs and forwards them to Cennso Data Mesh (CDM) for further processing. CDM provides the following services:

    • workQueue - stores incoming CDRs temporarily before they are processed by CDF Sender
    • kvStore - stores operational state information
    • archive - stores CDRs long-term for auditing or backup
    • sessionStore - stores session information
    • cdmp - provides a central registry for service discovery, allowing CDF components to register and discover Nchf charging services (alpha feature, not recommended for production)
  3. CDF Sender consumes CDRs from CDM.

  4. CDF Sender periodically sends GTP Echo Requests to CGF (at configurable intervals, minimum 60 seconds) to monitor CGF availability. If CGF becomes unresponsive, CDF Sender stops sending CDRs until connectivity is restored.

  5. CDF Sender sends CDRs to CGF through the Ga reference point using GTP protocol. It can send to multiple CGF endpoints for redundancy.

  6. CGF acknowledges each CDR delivery. If a CDR is not acknowledged, CDF Sender retries according to the configured retry policy.

  7. After successful delivery, CDF Sender confirms the processed CDRs to the message stream, which removes them from the queue.