CPCS is an in-house developed solution by CPM that functions as a PCRF element for wireless networks (2G/3G/4G/5G/IMS). The product is fully compliant with RFC 6733 and 3GPP specifications TS 23.203, TS 29.212, TS 29.213, and TS 29.214. It is designed for the centralized management of Quality of Service (QoS) policies, as well as subscriber access and charging rules. The current release includes support for VoLTE.

Key functional features and capabilities:
Product Documentation:
Contact us to learn more about the CPCS solution: products@cpm.ru
In the modern telecommunications ecosystem, operators face an unprecedented challenge: the need to provide seamless interaction, intelligent routing, and protection of signaling traffic across three generations of mobile communication. The historical legacy of SS7/SIGTRAN (2G/3G) coexists with the massive traffic of Diameter (4G LTE), while the network is rapidly migrating toward a service-oriented architecture (SBI) based on HTTP/2 JSON (5G).
CPM CSP (Continuous Signaling Platform) is a high-performance telecommunications platform of the Diameter Signaling Controller (DSC) class, designed to ensure convergence, balancing, and protection of signaling traffic at the intersection of all mobile communication generations.

Key features of the solution are provided below:
Architectural Flexibility: A single high-tech processing pipeline for Diameter (DRA/DEA), SS7/SIGTRAN (STP), and 5G SBI (HTTP/2 JSON). The use of a 3-Stage Pipeline allows for complex traffic processing scenarios, including normalization, dynamic direction selection, and signaling message transformation.
High Reliability: Support for Active/Active and Active/Standby fault tolerance modes ensures a target Recovery Time Objective (RTO) of less than 10–30 seconds upon the loss of any cluster node.
Exceptional Performance: The system scales linearly from 5,000 to 75,000+ TPS (Transactions Per Second) per node, thanks to an asynchronous architecture written in Rust and the high efficiency of the embedded RocksDB database.
Comprehensive Security: An integrated Diameter Firewall (strict compliance with GSMA FS.19 specifications) and support for TLS/mTLS encryption provide robust protection for the signaling network against overloads, floods, and unauthorized attacks.
Unified Operation: The presence of a modern Web-GUI, an advanced REST API, powerful CLI tooling (dra-ctl), and built-in Prometheus metric export mechanisms significantly simplifies platform monitoring and maintenance.
The CPM CSP system is designed on a modular principle and divided into isolated functional planes. From a technical standpoint, the platform is a monorepository in the form of a Rust Workspace (dra/), divided into specialized packages (Crates):
management/):Web-GUI (management/web-gui): A graphical control panel (port 8080 HTTP). In addition to the classic interface, it includes an advanced Routing Studio environment (available at /beta) for visual design of routing graphs.
REST API (management/api): A high-performance management server based on the axum 0.7 framework (port 8081 HTTP). It implements a Role-Based Access Control (RBAC) model, JWT-based authorization, configuration of peers and routes, and system metric export.
Agent API (management/agent): A local system daemon of the node (port 8090 HTTP). It is responsible for health checks, monitoring the status of low-level peers, hot-reloading configurations, reading system logs, and taking live traffic dumps (Traces).
Monitor & Config (management/monitor, management/config): Telemetry export in Prometheus format (port 9090 HTTP) and a subsystem for streaming parsing, validation, and atomic application of versioned YAML configurations.
core/):DraEngine (core/engine): The central computing core of the system. It manages the lifecycle of signaling connections, asynchronous packet forwarding, distributed timers, commercial license validation (license.rs), and coordination of related services.
Routing & Session (core/routing, core/session): Modules for executing application logic: RuleEngine, Stage2Engine, and PipelineEngine. High-throughput SessionTracker and SessionCache modules are responsible for subscriber state tracking and session binding.
Security, HA & Storage (core/security, core/ha, core/storage): Implementation of TLS/mTLS cryptographic protocols and coordination of cluster fault tolerance in Active/Active and Active/Standby modes (RTO < 10–30 seconds). Ultra-fast in-memory RocksDB, lightweight NoopDatabase (for stateless routing scenarios), and an optional distributed TiKV cluster are used as storage backends.
protocol/, 5g/):Diameter & Interworking (protocol/diameter): A binary protocol dispatcher. It includes an RFC 6733 codec, dynamic dictionaries, a built-in Diameter Firewall (compliant with GSMA FS.19 requirements), a Diameter-EAP stack (dea), a GTPv2-C parser (gtpc), and a PCAP packet capture subsystem.
STP / IWF Engine: A convergence module providing parallel operation of the classic SS7/SIGTRAN stack (M3UA RFC 4666, SCCP UDT/XUDT Q.713, TCAP Q.773, MAP adaptation) and application operation translation according to 3GPP TS 29.305.
5G SBI (5g/): Modules for interacting with 5G service-based web interfaces (HTTP/2 JSON). They implement NRF, SCP, SEPP, and BSF functions (current development status: Partial).
Signaling traffic processing in CPM CSP is strictly divided by message types. Responses (R-bit=0 flag) are delivered directly to nodes based on the pending_requests transaction table by matching the Hop-by-Hop ID, bypassing routing rules.
At the first stage, packets undergo filtering via IP allowlists (ip_allowlist) and blocklists (ip_blocklist). To protect against signaling floods and DoS attacks, a rate_limits.max_per_second mechanism is applied. The presence of mandatory attributes (Session-Id, Origin-Host, Destination-Realm) is verified, strict ABNF validation of the message structure is performed, and identifier normalization (normalize_imsi) is executed—clearing text prefixes like imsi:, tel:, + and aligning the length to 15 digits.
The priority RuleEngine (core/routing/src/rules.rs) performs message matching against rule tables and peer-group load-balancing groups. It supports regular expression processing based on the ultra-fast RE2 library, matching on any AVP (including nested and grouped), and dynamic domain learning based on CEA responses (learned realm). This stage also handles Session Affinity / Session Binding logic and Redirect responses (RFC 6733 §7.1.5). For server-initiated requests (e.g., RAR, ASR), the direction is extracted from the session_routes table.
In the final stage, the node performs Topology Hiding to mask the internal network structure and conceal the real names of HSS/MME from external partners. The mediation module adapts different vendor dialects (dynamic addition, modification, and removal of specific AVPs and header fields), selects the outgoing transport (SCTP/TCP), and handles failover scenarios based on priorities in case of receiving error codes DIAMETER_UNABLE_TO_DELIVER (3002) or DIAMETER_LOOP_DETECTED (3005).
| Service / Module | Purpose | Implementation Features |
|---|---|---|
| EIR | IMEI device checking | Two-stage search on the S13 interface: first, an exact IMEI match is checked; if not found, a search is performed using the 8-digit TAC prefix. |
| SLF | HSS Lookup (Address Resolution) | Ultra-fast three-tier search: In-memory Bloom filter ➔ exact IMSI search in RocksDB ➔ search by 9-digit telephony capacity prefix. |
| SoR | Steering of Roaming | Applied "on-the-fly" during ULR request processing for dynamic blocking or permission of subscriber registration in partner visited networks. |
| CDR Writer | Billing, logging, and auditing | Streaming transaction recording (dra, eir, sor, slf) in structured JSONL format at /opt/dra/cdrs. Supports automatic file rotation based on size (100 MB) or time (24 hours). |
| STP / IWF Engine | SS7 Transit and MAP ↔ Diameter conversion | Parallel operation of the classic SS7/SIGTRAN stack (SCTP/TCP transport, M3UA RFC 4666, SCCP UDT/XUDT Q.713, TCAP Q.773, MAP adaptation) and packet translation per 3GPP TS 29.305 (UpdateLocation ↔ ULR/ULA, CancelLocation ↔ CLR/CLA, and transit operations SRI, SAI, ISD, PURGE). |
The system is fully compliant with international 3GPP Rel.11+ standards and is capable of functioning in Diameter Relay, Proxy, Redirect, and Translation Agent modes (within the IWF interworking node).
S6a / S6d / S13 / S13': Ensures interaction between MME/SGSN nodes and the home HSS database (location, authentication, and profiling procedures: ULR/ULA, AIR/AIA, CLR/CLA, IDR/IDA, DSR/DSA, PUR/PUA, RSR/RSA, NOR/NOA messages) and EIR equipment (IMEI status check: ECR/ECA, and the interface to CEIR).
Gx / S9: Policy, charging, and QoS rule management between PCEF and PCRF elements, including complex roaming signaling interaction via the H-PCRF ↔ V-PCRF scheme (CCR/CCA, RAR/RAA messages).
Gy / Ro / Rf: Online and offline charging of packet services between PCEF/CTF and OCS/CDF billing platforms (CCR/CCA, RAR/RAA, ASR/ASA, ACR/ACA messages).
Rx: Media session and QoS parameter management between P-CSCF (AF) proxy nodes and PCRF within the IMS network core (AAR/AAA, RAR/RAA, STR/STA, ASR/ASA messages).
Sy: Real-time quota and limit monitoring between OCS and PCRF platforms (SLR/SLA, SNR/SNA, STR/STA messages).
Cx / Dx / Sh: Signaling interaction between CSCF switching nodes and SIP-AS application servers with HSS and SLF in the IMS architecture (UAR/UAA, SAR/SAA, LIR/LIA, MAR/MAA, RTR/RTA, PPR/PPA, UDR/UDA, PUR/PUA, SNR/SNA, PNR/PNA messages).
S6b / SWx: Authentication, authorization, and registration for Non-3GPP access (interaction between ePDG / PDN-GW ↔ 3GPP AAA Server ↔ HSS).
Estimated performance metrics for a single CPM CSP hardware/virtual node (where 1 TPS corresponds to one full Diameter "request + response" pair) depending on the allocated computing resources:
| Node Configuration | Computing Resources (CPU) | RAM | Transit Mode | Logic-Enabled Mode (SLF / CDR) |
|---|---|---|---|---|
| Minimum | 2 cores | 4 GB | ∼5,000 TPS | ∼3,000 TPS |
| Recommended | 4 cores (workers: 4) | 8+ GB | ∼15,000 TPS | ∼8,000 TPS |
| Advanced | 16 cores | 32+ GB | ∼75,000 TPS | ∼50,000 TPS |
When horizontally scaling the platform in an Active/Active cluster, the total throughput increases linearly and can exceed 100,000+ TPS.
Modular YAML Configuration and Versioned Deployment: All system settings are logically divided between the global cluster management level and individual parameters of a specific physical node through the include directive mechanism. Strict versioning of configuration revisions in the local directory is supported, along with atomic change delivery mechanisms and pre-deployment syntax verification via a built-in validator.
Seamless Hot-Reload: Changes to routing business rules, Diameter Firewall security policies, timers, license files, and peer compositions are applied by the platform "on-the-fly" in real-time. Hot-reloading of configuration is completely seamless, without stopping the signaling service and without breaking active TCP/SCTP transport associations (a full process restart is required exclusively when changing physical listening network addresses or the identity of the node itself).