forked from shihaam/thijooree
add docs for ported numbers
This commit is contained in:
@@ -66,7 +66,13 @@ Client Server
|
||||
|
||||
## Applicable Numbers
|
||||
|
||||
Only Ooredoo mobile numbers are returned by this API. Ooredoo numbers in the Maldives start with **9** (7-digit local format, e.g. `9654321`). The API expects the full MSISDN including country code `960`.
|
||||
Ooredoo numbers in the Maldives typically start with **9**, but due to **mobile number portability (MNP)**, a subscriber may have ported their number from Dhiraagu (originally a 7xxx number) to Ooredoo — or vice versa. The number prefix alone does not reliably identify the current provider.
|
||||
|
||||
For this reason, both providers should be tried when looking up an unknown number:
|
||||
- If the number starts with **9**, try Ooredoo first; fall back to Dhiraagu if Ooredoo returns `custType: null`.
|
||||
- If the number starts with **7**, try Dhiraagu first; fall back to Ooredoo if Dhiraagu returns a failed status.
|
||||
|
||||
The API expects the full MSISDN including country code `960` (e.g. `9609654321`). It only returns a valid `custType` for numbers currently on the Ooredoo network, regardless of what prefix they carry.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user