Many operators still run prepaid voice, SMS & roaming charging through a CAMEL gateway that was installed more than ten years ago. It work’s, so it often stays untouched. But the hardware is old, the vendor support is thinning out, & every new commercial offer need’s a workaround. At some point the cost of keeping it alive is higher than the cost of replacing it.
This guide is for network architect’s, charging teams & MVNO technical leads who are planning that replacement. It cover’s what a CAMEL gateway does, what a modern IN & charging setup looks like, & the technical & commercial points to settle before you cut over a single subscriber.
Table of Contents
Why CAMEL Gateway’s Are Reaching Their Limits
CAMEL (Customised Applications Mobile Network Enhanced Logic) let’s the serving network ask a home network service control point, the gsmSCF, how to handle a call or SMS before it proceeds. The switch (MSC or SMSC) acts as the service switching point & talks to the gsmSCF using the CAP protocol. This is how prepaid billing, roaming charging, & many value added services have worked for years.
A CAMEL gateway sit’s in the middle of this flow. It terminates CAP from visited & home switches, applies routing & sometimes protocol conversion, & passes the request to the charging or service platform behind it. In a telecom core network, it is one of the quiet components that everything depends on.
The problems usually show up in five places:
- Dependence on legacy signaling. Many installation’s were built for TDM-based SS7 links. Spare part’s, skilled engineers & vendor roadmaps for that equipment are shrinking.
- Limited scalability. Capacity is often tied to specific hardware. Adding traffic mean’s buying more of the same boxes.
- Slow service change. New tariffs, bundles & real-time rules often need custom scripts or vendor work orders.
- Mixed charging paths. Voice & SMS use CAP while data uses Diameter Gy, so operators run two charging worlds side by side.
- Rising operating cost. Support contracts for end-of-life platforms tend to grow, not shrink.
None of these will stop traffic tomorrow. They do make every future project slower & more expensive, which is why the question is usually when to migrate, not whether.
Understanding the Modern IN & Charging Architecture
A modern IN solution does not simply replace one box with another. It changes how charging, policy & subscriber data fit together.
From CAP to Diameter Gy & a converged OCS
Diameter credit control, defined in RFC 4006, is the base of Gy. The packet gateway (PCEF) sends credit control requests to the online charging system, & the OCS grants or denies units in real time. A modern Diameter Gy OCS handles data sessions this way and, in most current products, also accepts CAP for voice & SMS & Diameter Ro for IMS. The result is one rating & balance engine for every service.
For operators planning 5G, the same logic continues in the converged charging function (CHF) using the service-based interface. A platform that already works on a converged model makes that step much smaller.
The Role of the Diameter Routing Agent
Once several network element’s send Diameter traffic, point-to-point connection’s become hard to manage. A Diameter Routing Agent (DRA) gives you one place to route, load balance, & apply policy to Diameter messages. It also helps with topology hiding & with steering traffic between multiple OCS instances during a phased migration.
Home Subscriber Server & subscriber data
The Home Subscriber Server (HSS) holds the subscription profile in LTE & IMS network’s. In a combined HLR/HSS, it also store’s the CAMEL subscription information (such as O-CSI & SMS-CSI) that tell’s a switch to contact the gsmSCF for a given subscriber. During migration you will need to decide where this data is changed & how to move subscribers in batches without breaking their service triggers.
SIGTRAN as the bridge
SIGTRAN carries SS7 signaling over IP using SCTP & M3UA. Many operator’s have already moved their STPs & switche’s to it. If yours has, you can place a new IN platform on the same IP signaling layer & keep CAP & MAP traffic working while you migrate. If you still have TDM link’s, a signaling gateway can bridge the two. Either way, plan SIGTRAN association capacity, point code changes & routing rules early. These are the items that most often delay a cutover.
Key Technical Considerations Before Migration
Protocol interworking
List every CAMEL phase & operation your network use today. Phase’s 2 & 3 are common & some network’s still carry Phase 4 features for specific services. Confirm that the new platform support’s each one along with the exact message flow’s that your switche’s expect. Small differences in timer values or reply format’s can cause call failure’s that do not appear in lab test’s with a single vendor.
Gateway connection design & redundancy
Design the gateway connectionlayer for failure, not just for normal load. This means:
- At least two geographically separate nodes with active-active or active-standby roles you have actually tested.
- Multiple SCTP associations per peer, with clear rules for failover.
- Documented point code & global title plans for both old & new platforms.
Roaming partner compatibility
CAMEL roaming involves other operators’ networks, & you do not control their configuration. Before cutover, check which roaming partners rely on specific CAMEL phases & arrange test calls with the main ones. Inbound & outbound roamer’s should both be covered. Keep a record of partner contact’s, because you will need them when something behave’s differently in the field.
Real-time performance
Online charging has strict time limits. A slow response from the OCS mean’s dropped calls, failed session’s or users charged incorrectly. Measure the current response time & peak transactions per second on your existing gateway, then set clear target’s for the new platform. Run load test’s that reflect your busiest hour, not an average one.
Migrating Messaging & USSD Services
CAMEL migration rarely touches voice alone. Messaging & USSD often share signaling paths & subscriber data with it.
USSD server migration
USSD sessions are stateful, & a session that moves mid-dialogue will usually fail. Plan migration by service code or by subscriber group & confirm how the new USSD server handle’s session timeouts, menu logic & charging trigger’s. Balance checks & top-up menus are used daily by prepaid customer’s, so test those first.
SMPP gateway & server integration
SMS traffic from applications & aggregators typically arrives over SMPP. When you change the platform behind your SMSC or messaging core, review each SMPP bind, including credential’s, throughput limit’s, window sizes & delivery receipt behavior. A short comparison of the SMPP protocol version’s in use (3.3, 3.4 or 5.0) with what your new SMPP server support’s will prevent surprises with enterprise client’s.
A2P messaging traffic
Application to person (A2P) messaging bring’s revenue, but it also brings volume spikes from banks, retailer’s & verification services. Make sure the new charging & routing layer treats A2P & person-to-person traffic according to your commercial agreements. Check how your A2P messaging provider submits traffic & tell them about any change in the endpoint before the cutover date.
SMS firewall protection
Migration window;s are a time when signaling rules change & gaps can appear. A managed SMS firewall solution should be part of the plan not a afterthought. It helps block spoofed senders, grey route traffic & abuse of interconnect links, & it should be checked after the migration to make sure filtering rules still apply to the new routes.
Special Considerations for MVNOs
A mobile virtual network operator depend’s on its host network for radio access & in many deal’s, for part of the core. That change’s the migration plan in three ways.
- Host network dependency. If your host provides CAMEL or IN access, you need their agreement on timing, test windows & technical interfaces.
- Commercial flexibility. A modern converged platform lets an MVNO launch new bundle’s, wholesale rate’s & partner offers without waiting for vendor change’s. For a telecom MVNO competing on price & speed, this matter’s more than almost any other feature.
- Cost model. Cloud-based or hosted IN & charging platform’s can reduce upfront cost. Check the pricing structure against your subscriber growth plan & look at how data export & exit term’s are handled.
MVNO’s that own their own core element’s such as an HSS & a charging system, have more control but also carry the full migration workload. Be clear about which model you are in before you scope the project.
Migration Strategy & Risk Management
Phased migration or big-bang cutover
A phased approach is the safer choice for most operator’s. Start with a small, low-risk subscriber group, such as employe’s or a test segment, then move in stages by region, service or tariff. A single-night cutover is faster on paper, but it leave’s very little room to recover if something goes wrong.
Parallel running & fallback
Keep the old gateway’s live & routable until you have run the new platform through at least one full billing cycle. Define a rollback procedure in writing with named people’s responsible & rehearse it. A fallback plan that has never been tested is only a hope.
Data migration
Subscriber balance’s, bundle’s, expiry dates & service profile’s must match exactly after the move. Reconcile balance’s before & after each batch & agree on how to handle session’s in progress at the moment of transfer. Billing disputes after migration nearly always trace back to data that was converted without a reconciliation step.
Testing & monitoring
Define your measures before you start call setup succes’s rate, charging response time, failed sessions, SMS delivery rate & revenue assurance report’s. Compare these against pre-migration values every day during the first week’s. Set alarms for deviation’s so that your team find’s problems before customer’s or roaming partner’s do.
Build, Buy, or Partner? Choosing the Right Approach
There is no single correct answer & the best choice depend’s on your team, your timeline & your existing vendor’s.
- Buy a commercial platform when you want a proven product & a vendor who is responsible for support. Check reference’s from operators with similar size & traffic.
- Build or customise when you have unusual service logic or integration need’s. In this case, telecom software development service’s can fill gaps in your engineering team, especially for protocol adapter’s, provisioning interfaces & reporting tool’s.
- Bring in independent advice when you need an unbiased view of architecture, vendor’s & risk. Telecom consultancy service’s are most useful before you issue an RFP, when decision’s are still cheap to change.
When you asses’s a telecom software development company, ask for specific evidence: project’s involving SIGTRAN, CAMEL, Diameter or SMPP named reference customer’s clear ownership of source code & documentation; & an explanation of how they handle support after go-live. Be careful with any supplier who can’t describe how they have handled a failed cutover before.
F&Q
What is a CAMEL gateway in telecom?
A CAMEL gateway is a node that receives CAP signaling from switche’s, mainly for prepaid & roaming service’s & passes it to the charging or service control platform. It also handles routing and, in some design’s, protocol conversion between the network & the back-end system.
Why migrate from CAMEL to Diameter-based charging?
Diameter-based charging with a converged OCS let’s one platform rate voice, SMS & data using the same balances & rule’s. It reduces the number of systems to maintain, shorten’s the time to launch new offers & prepare’s the network for 5G charging.
How does SIGTRAN help in the migration?
SIGTRAN moves SS7 signaling onto IP network’s. This allows the new platform to connect to existing switche’s & STPs without extra TDM hardware, so CAP & MAP traffic can be moved in stages.
Can MVNOs migrate without disrupting subscriber’s?
Yes, if the migration is phased, the host network is involved from the start, & balance’s are reconciled after every batch. Service disruptions usually come’s from poor planning of data move’s & fallback, not from the technology itself.
Conclusion
Migrating from a CAMEL gateway to a modern IN solution is a project with many connected parts: signaling, charging, subscriber data, messaging & commercial agreement’s. The technology is well understood. Most problem’s come from missing detail’s, such as an unlisted CAMEL operation, an untested failover, or a roaming partner who was not told about the change.
Start with a full inventory of what your current gateway does. Choose a phased plan with a tested rollback. Involve your roaming partner’s, your messaging customer’s & your host network early & measure result’s from the first day.
If you are planning this work & want an independent review of your architecture or migration plan, talk to the Comcode Tech telecom consulting experts about your CAMEL gateway migration.
READ ALSO: 6 Best SaaS Backlink Building Websites for Software Businesses in 2026
