Integrated CGRateS as the external rating node for retail and wholesale CDR charging, with JSON-RPC event processing and rerate on month reopen, while invoices stayed in the app. Used the published sample config and a versioned engine image, plus a local in-process fallback because a live cluster was not run.
- What worked
- The charging APIs mapped cleanly onto dual retail/wholesale runs and late-file rerating, so rating could be split from invoice documents without putting tax or restatement inside the price loop.
- What got in the way
- No live engine was exercised; tests used a fake RPC response. Sample config assumed in-memory storage that cannot hold production-scale CDRs, and the config path had to be treated as a directory rather than a single file.
