Create a HLR request
HLR means "Home Location Register” and it is at the very core of the GSM network. The HLR is the core database for all mobile subscibers. With a HLR request, you can see what operator a given phone is subscribing to.
Realtime information is often important, when you send SMS message, and with a HLR request you can get to know if a given phone number is in use.
How to create a HLR request
You can create a HLR request directly in your browser, if you have a SureSMS account. If you don not have an account, please apply for one here : Free SMS test-account.
Use the following link to create a HLR request.
|Your SureSMS account login
|Your SureSMS account password
|The recipient of the message. (remember countrycode)
0: If you want to know witch operator is in charge of the number
1: If you want to know if the phone number is active
Note: The parameters are NOT case senstive.
If your username is Bicycle and your password is batavus, and you want to lookup the danish number 40818824, this is how the request should look like :
The return you get back will look something like this:
COUNTRY=Denmark(+45) MCC=238 MNC=02 LOCATION=45406997 IMSI=238021900000000 OPERATOR=Telenor
There are a few errorcodes that can be returned. Different errorcodes apply if you use the GoLive=1 flag. Here is a list of errorcodes that can be returned and their meaning.
|We have a temporary problems in the connection with operators or internally.
|The input parameters are not correctly parsed. Please review your request.
|You don't have any credits on your account.
|Not enough credits on your account.
|You need funding on your account to create the request.
|I don't know you. Bye bye!
|You have used wrong username and/or password
|If the number is not available in the HLR. Probably because it is a landline
|The subscriber is not attached to a network
|No response for the HLR request was received
|Mandatory parameter msisdn not found
|Some mandatory parameters are missing in the request
|The HLR request was rejected
|Request is blocked
|msisdn is invalid
|The number(s) are not allowed on this service
|A system failure occurred in the HLR
|Maximum ongoing requests exceeded
|The subscriber is unknown