Arnab Basak

Telecom interconnect exchange · 2023 to present

UniVerge ICX billing

Rebuilding a telecom interconnect billing system: the call-record pipeline on a legacy Java River framework, plus a new web application and API, now kept running 24/7 under an annual maintenance contract with a team I lead.

Domain
Telecom interconnect billing
My role
Rebuild lead, now sustain lead
Scale
16M+ session detail records a day, about 5,000 a second
Stack
Java, River framework, Node.js, Angular 16, Oracle, ZooKeeper

The problem

Interconnect billing settles what operators owe each other for calls that cross their networks, so a lost or double-counted record turns directly into a billing dispute. The pipeline ran on a legacy Java River framework, and the application around it was an ageing Struts and JSP web app on Tomcat 7: hard to change, hard to see into, and tied to old switch formats.

The pipeline

Switch sessionrecords (FTP)Pull andstage filesValidate,find gapsname, size, sequenceParse and rateby traffic typeICX, IGW, ANS, IOSOracle storeand CSVInvoices andreports3 invoice typesRegulator feedRe-ratingCoordination: ZooKeeperLive statistics and control (JMX), watchdog restarts
The billing pipeline. Session records arrive from the switch, are validated for gaps in the file sequence, rated by traffic type and turned into invoices and regulator reports. Operators can watch, pause and re-rate from the web app.

What we changed

  • A new application layer: an Angular 16 web app on a reusable component library and a Node.js API, replacing the legacy web app.
  • Billing operations: domestic, international incoming and international outgoing invoices with an approval step, scheduling and regeneration, plus re-rating for disputed or failed records.
  • Reporting: regulator reports, call volume by partner and route, completion ratios and dashboards for incoming and outgoing traffic.
  • Operability: live statistics and pause, resume and reload controls from the browser, and a watchdog that restarts the engine on known failure patterns.
  • The pipeline: rebuilt call-record processing on the River framework to parse 16M+ session detail records a day at about 5,000 records a second with accurate billing, including a new switch’s record format and country-wise pulse rating.
  • The hardware: specified and configured the high-availability servers it runs on.
  • One codebase, two operators: client profiles let the same build serve two interconnect operators.

What running it taught me

A sustain contract is a product with a different shape: fewer features, more attention to database growth, capacity and the next change request. A small team that clearly owns the system keeps it boring, which is the goal for billing.

Outcomes

16M+
session detail records a day
3
invoice types with approval
2
operators on one codebase
24/7
operation, now under AMC