Telecom Mediation - At a glance

Telecom Mediation: At a Glance

Telecom Mediation

Telecom Mediation - At a Glance (Click to enlarge)

This article is part of our series on Telecom Mediation and Charging. In our previous discussions, we looked at how Online Charging mechanisms work for upfront balance checks and how Offline Charging handles postpaid billing. Now, let's understand the critical component that sits between the network and these charging systems - Mediation.

What is Telecom Mediation?

Imagine you're watching a live cricket match on your phone - the IPL finals, for instance. While you're streaming, the network is generating usage records. But these raw records are in formats that billing systems don't directly understand. The MSC might speak one language, the PGW another, and the 5G SMF yet another.

Mediation is the universal translator. It sits between your network elements and your business systems, collecting raw usage data from every network node, validating it, enriching it with subscriber information, and converting it into a format your billing system can process. Without Mediation, you'd have network elements speaking different languages, and your billing system would be completely lost.

What Does Mediation Actually Do?

Let me break down the core functions of a Mediation system. Think of it as a factory assembly line with specific stations:

First, Collection. The mediation platform connects to every network element that generates usage - MSC for voice, SGSN/GGSN/PGW for data, SMF for 5G sessions. It pulls or receives CDRs via protocols like FTP, SFTP, or real-time streams. Whether it's a 2G subscriber making a call or a 5G user streaming 4K video, the usage records all arrive at the mediation layer.

Next, Validation and Filtering. Not every record is perfect. Some may be incomplete, some may be duplicates, others might have missing fields. Mediation checks each CDR for completeness, format correctness, and mandatory fields. If a record fails validation, it goes to an error queue for investigation. Only clean, validated records move forward.

Then comes Enrichment. This is where the magic happens. A raw CDR might have just a subscriber ID, but your billing system needs the customer's name, plan details, and location. Mediation reaches out to CRM, Inventory, or other systems to add this missing context. It fills in the blanks so the billing system has everything it needs.

Format Conversion and Aggregation follow. The network might give you 50 CDRs for a single WhatsApp call (think about all those data packets!). Mediation combines these into a single, consolidated record. It also converts the format from whatever the network uses (like ASN.1 or Diameter AVP) into something your billing system expects (like CSV, XML, or JSON).

Finally, Distribution. Processed CDRs are routed to their destinations. Some go to the Billing System for invoicing. Others go to Revenue Assurance for verification. Some feed into Data Warehouses for analytics. Mediation knows where each record needs to go and sends it there.

Types of Mediation: Offline, Active, and Converged

Not all mediation is the same. Based on how you use it, there are three flavors:

Offline Mediation is the traditional batch processor. It collects CDRs every 15 minutes, every hour, or once a day, processes them in batches, and sends them to billing. This works perfectly for postpaid customers who get a bill at the end of the month. But if you're a prepaid customer trying to make a call, offline mediation won't help - by the time the record is processed, you've already used the service without a balance check.

Active Mediation solves this. It sits in the signaling path and processes usage in real-time. When a subscriber initiates a service, Active Mediation translates the network trigger into a message that the Online Charging System understands. It participates in credit control - checking balances, reserving funds, and only allowing the service to proceed if there's enough credit. This is essential for prepaid services, real-time notifications, and dynamic policy control.

Converged Mediation is the modern approach. It's a single platform that handles both offline and online processing, supports 2G, 3G, 4G, and 5G networks, and works across voice, data, messaging, and IoT services. Instead of having separate mediation systems for different network generations, you have one unified layer.

How Mediation Fits in a 5G World

5G brings new challenges. The core network now uses HTTP/2 and REST APIs instead of Diameter. You have Network Slicing where different slices need different charging models. You have Edge Computing where processing needs to happen locally. So how does Mediation adapt?

Modern mediation platforms are cloud-native. They can be deployed as containers that scale up automatically during peak usage - imagine New Year's Eve when everyone is sending messages and making calls. They natively speak HTTP/2 and can translate between Diameter and REST APIs. They can identify which network slice a usage record belongs to and apply the appropriate handling. And with edge computing, mediation instances can run close to the user, processing usage locally to reduce latency.

Let me give you a practical example. When you access a free data service to watch IPL on your 5G phone, the SMF sends a charging trigger. Active Mediation translates this HTTP/2 request into a Diameter CCR-I message that the OCS understands, gets the quota, and sends it back. All of this happens in milliseconds. Without modern mediation, that seamless experience wouldn't be possible.

Mediation and Charging Integration

Mediation doesn't work in isolation - it's tightly coupled with your charging systems. Here's how they integrate:

For offline charging: Mediation collects CDRs from the CTF, validates them, enriches them with subscriber details, and sends them to the billing system. The billing system then rates these records and adds them to the customer's monthly invoice. This is the traditional postpaid flow.

For online charging: Active Mediation sits in the signaling path. When a subscriber initiates a service, the CTF sends a trigger. Active Mediation translates this into a credit control request, sends it to the OCS, gets the quota, and responds to the network. All of this happens before the service is delivered. If the subscriber has no balance, the service is denied immediately.

For converged charging: The lines are blurring. A 5G Converged Charging System can handle both online and offline charging events through the same interface. Mediation provides a unified view - whether the event comes from a 4G PGW using Diameter or a 5G SMF using HTTP/2, it gets translated, processed, and routed appropriately. This gives operators a single view of the customer's balance across generations.

Key Benefits of Modern Mediation

So why does all this matter? Let's look at what a modern mediation platform brings to the table:

Network Agnostic: You can run one mediation platform that handles 2G, 3G, 4G, and 5G. It understands CAP, Diameter, GTP', and HTTP/2. As you roll out 5G, you don't need to rip and replace your mediation layer.

Real-time Capabilities: With Active Mediation, you can offer prepaid services, send real-time usage notifications, and enforce dynamic policies based on current consumption. This opens up new monetization opportunities.

Data Quality: Built-in validation and enrichment mean your billing system receives clean, complete records. This reduces manual intervention, lowers operational costs, and minimizes revenue leakage.

Scalability: Cloud-native design means your mediation platform can scale up during peak usage and scale down when things are quiet. You pay for what you use, not for peak capacity that sits idle most of the time.

Operational Efficiency: One platform to manage, monitor, and troubleshoot. Instead of having separate teams managing legacy mediation and 5G mediation, you have unified operations.

Summary and What's Next

Mediation has come a long way from being a simple CDR collector. Today, it's a critical real-time processing engine that bridges network and business systems. Whether you're translating CAP to Diameter for legacy roaming, or Diameter to HTTP/2 for 5G interworking, mediation ensures that your charging systems have the information they need when they need it.

In the next article, I'll dive deeper into Active Mediation and show you how it handles protocol translation in real-time - including sample call flows and protocol mappings. We'll look at how a 4G Diameter CCR message gets translated into a 5G HTTP/2 request, and vice versa.

📖 Go Deeper: The 5G Core - Architecture and Functions Explained

If you're looking to understand how mediation, charging, and billing systems integrate in 5G networks, my book provides dedicated chapters on Converged Charging, BSS Integration, and 5G Roaming settlement. It's written for architects, product managers, and billing professionals who need to master the shift from 4G to 5G monetization.

Get your copy on Amazon →

Kindly share this article with your friends and colleagues. Feel free to like and comment. Happy learning.

Glossary

CDR: Call Detail Record - Raw usage data generated by network elements
CTF: Charging Trigger Function - Network function that generates charging events
CCS: Converged Charging System - Unified online and offline charging platform for 5G
SBA: Service Based Architecture - 5G core architecture using HTTP/2 REST APIs
eMBB: enhanced Mobile Broadband - 5G use case for high bandwidth applications like 4K/8K video
URLLC: Ultra-Reliable Low Latency Communications - 5G use case for autonomous vehicles, remote surgery
mMTC: massive Machine Type Communications - 5G use case for IoT sensors, smart cities

📧 Need Training or Consulting?
Please use the CONTACT Form to reach out for training needs, consulting assignments, or other requirements.
You can also connect with me via LinkedIn.

No comments

Got thoughts on 5G, AI, or BSS/OSS? Join the conversation!

- TRAINING and PROTOTYPING: Please use the CONTACT FORM for E2E BSS/OSS or Agentic AI workshop inquiries.
- DEEP DIVE: Grab my book, "The 5G Core: Architecture and Functions Explained" on Amazon.
- CONNECT: Let us network on LinkedIn.

I review all comments to ensure a high-quality technical discussion for our global community.