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. Go to 4.3

Archive CDRs

CDF allows you to store copies of CDRs in an archive service after they are sent to a CGF. Archiving CDRs may be useful for troubleshooting, for example, to check the contents of CDRs when investigating issues. The component responsible for archiving CDRs is CDF sender.

This is a sample archive configuration for CDF sender:

yaml

The archive service stores copies of CDRs after they are sent to CGFs. Although the archive service has no size limit, you must ensure enough disk space is available to avoid storage problems. Each message stored in the archive should have a defined time-to-live (TTL), which controls how long the message remains available before it is automatically deleted.

When configuring the archive stream, you should:

  • Apply a limits retention policy
  • Set a TTL (for example, x days) according to legal or organisational requirements
  • Enable compression to save storage space

For more information on how to configure streams, read the official NATS streamOpens in a new tab documentation.