In mobile networks, message routing is based on a combination of the mobile country code (MCC) and the mobile network code (MNC). The MCC/MNC pair identifies the mobile carrier within the network and is used to build routing lists. Mobile carriers also operate with MCC/MNC codes to generate SMS pricing.
To facilitate effective SMS delivery, message routing with real-time HLR lookup is introduced in PortaSwitch. This means that PortaSwitch requests subscriber information from the HLR (Home Location Registry) in real-time. It obtains the MCC/MNC codes of the destination number and then uses them for SMS delivery and billing.
Thus, two aspects of SMS provisioning are considered in the scope of this document: MCC/MNC rate management and HLR lookup.
MCC/MNC rate management
The majority of mobile carriers operate with MCC/MNC codes for destinations and rates. Therefore, for convenience in working with these carriers, define destinations in the E.212-MCC-MNC format in PortaBilling.
You can then upload your rates for these destinations in the tariffs for Messaging services and test the routing by using the SMS routing simulation.
HLR lookup serves two goals: to identify which mobile network the destination number belongs to and to perform correct SMS routing and billing.
To identify which mobile network the destination number belongs to and to which mobile carrier route the message, PortaSIP performs HLR lookup. This is done by sending an HLR lookup request to the external provider – www.hlr-lookups.com. This is the default HLR lookup provider, however, other providers can be integrated upon request.
Upon successful HLR lookup, PortaSIP receives the MCC and MNC codes for the destination number. The MCC/MNC pair defines which mobile carrier handles this number, even if it was ported from another carrier.
The MCC/MNC codes are passed to PortaBilling to compute a routing list and calculate vendor costs and user charges.
To provide SMS services using real-time HLR lookup, set up an account within www.hlr-lookups.com and configure the HLRNumberLookup module on the Configuration server.
Please refer to the Unified PortaSwitch Handbook collection for a detailed configuration description.
The support of MCC/MNC codes simplifies rate management and the configuration of SMS providers within PortaBilling. Real-time HLR lookup assures the accuracy of SMS routing and billing. Consequently, you boost your competitiveness within the mobile telecommunications market and attract more customers.