When a subscriber moves to another network and keeps the number, the number's prefix no longer says which network serves it. YepBoss uses portability data to route and rate on the network that serves the number now. It can also answer portability queries from other operators.
Portability registers
Each country's register is set up as a portability source: the number prefixes it covers, its file format, whether each file is the whole register or only the day's changes, and how its network codes map to mobile networks. Countries are added in the back office without a software release, and a source cannot cover numbers another source already covers.
Files are fetched and loaded automatically every day. Registers published in their own layout get a reader of their own; any register can also be loaded as a simple CSV of number, network code and porting date. Each source keeps its own numbers, so loading one country's register never changes another country's.
The network codes in a register belong to that register. Each code is mapped to a mobile network, and the routing prefix used in rate decks and routing profiles is the network's, chosen in the back office. Two countries whose registers use the same code therefore never collide.
Three guards protect each source's data. A file that is empty, truncated or that would change an implausible share of its numbers is refused, and the previous data stays in force until a good file arrives. A source whose files stop arriving for longer than its allowed age raises an alert.
Manual entries, file import and the API can add to the table. See Routing for the entry rules.
Voice
When an ingress connection has portability lookup switched on, the dialled number is checked against the portability data after the dial plan has run. The call is routed, and rated, on the network that serves the number now. The routing prefix, deck rows and egress behaviour are described in Routing.
SMS
The destination network is resolved to an MCC and MNC, and the portability data is checked first. Where a market offers an HTTP lookup provider instead of a feed, YepBoss can query it and caches each answer for a day. A routing prefix can be prepended per connector.
SMS decks are priced by MCC and MNC, so a ported number is charged at the rate of the network that serves it. See SMS billing.
MNP lookup service
YepBoss can answer number-portability queries from other operators over DNS, the way national ENUM-based MNP services do. Queries arrive over UDP and TCP.
A client sends a NAPTR query for the number in the e164 ENUM format: the digits reversed, dot separated, under a configured domain. The answer depends on the number:
| Number | Answer |
|---|---|
| Ported | A NAPTR record with service E2U+SIP. Its URI names the network that serves the number |
| Not ported | NXDOMAIN |
| In a country no portability source covers | Refused: there is no data to answer with |
| In a country whose register has stopped arriving | Server failure, so the client falls back to its own routing |
| Query from an address that is not a registered client | Refused |
A trimmed example, with a documentation address and a fiction number:
dig @198.51.100.53 -t NAPTR 3.2.1.0.0.9.0.0.7.7.4.4.e164.example.com +short
100 10 "u" "E2U+SIP" "!^.*$!sip:+447700900123@ims.mnc001.mcc999.3gppnetwork.org!" .
Clients are registered in the back office with their source addresses. Every lookup from a client for a covered number is counted, ported or not, and billed as a metered usage product with a price per lookup on the client's invoice. Refused queries and server failures are not billed. See Invoicing.
What is not offered
HLR lookups are not offered.