Open Utility Stack

Docs / Background

Telco and fibre

Why a utility stack includes telecommunications, and how German fibre operators switch customers, order lines and bill usage.

Why telco belongs in a utility stack

Many Stadtwerke build and run fibre-to-the-home (FTTH) networks. They already have the trenches, the customer relationships and the local trust, and municipal fibre is a natural extension of municipal infrastructure. That makes the Stadtwerk a telecom operator with its own regulation (TKG), its own interfaces to other carriers, and its own billing logic. The customer, the contract account, the SEPA mandate and the ledger are often the same as for energy.

So telco shares the stack’s money layer (billing, en16931, sepa, doubleentry) with mako and emob. One customer, one ledger, three domains.

NetCo, ServiceCo and open access

Fibre networks are often split into roles:

  • NetCo: owns and runs the passive and active network.
  • ServiceCo: sells internet, phone and TV services to end customers.
  • Open access: other providers rent access to the NetCo’s lines and serve their own customers.

The German industry standards for ordering and provisioning such access are S/PRI (supplier/partner interfaces), specified by the industry working group AK S&P. telco-interop implements them.

Provider switching: §59 TKG

German customers have a legal right to switch telecom provider without losing service for more than one working day, and to keep their number. The carriers coordinate this through WBCI (Wechselprozess bei Carrier-Interconnection), a standardised exchange of messages between the old and new provider, with deadlines much like energy’s supplier switch. telco-interop implements WBCI as sans-I/O crates.

From the network to the invoice: mediation

Telecom networks produce raw usage records: call detail records (CDRs), data sessions and roaming records (GSMA TAP). Before anything can be billed they must be deduplicated, correlated, validated and reconciled, and the totals must balance. That is mediation, implemented by the zero-I/O mediation crate (3GPP TS 32.298, GSMA TAP).

TM Forum Open APIs

The telecom industry standardises its business APIs through the TM Forum: product catalogue, product ordering, customer bill, usage and dozens more. rutmf provides v5-first Rust types and clients, so telco can integrate with OSS/BSS systems that speak them.

Billing with an explanation

TKG §§ 59 and 65 and consumer protection rules require transparent bills. telco turns contract, tariff and usage into a sealed invoice with a plain-German explanation per charge, issues it as an EN 16931 e-invoice where required, collects via SEPA and books it into a tamper-evident ledger.