hlr basics
Post on 30-Oct-2015
3.411 Views
Preview:
DESCRIPTION
TRANSCRIPT
7/16/2019 HLR Basics
http://slidepdf.com/reader/full/hlr-basics 1/13
HLR - Home Location Register
The Home Location Register is a database within the Home Public Land Mobile Network.
1. It provides routing information for Mobile Terminated calls and Short Message Service. It is alsoresponsible for the maintenance of user subscription information.2. This is distributed to the relevant VLR -Visitor Location Register or SGSN - Serving GPRSSupport Node through the attach process and mobility management procedures such as Location Area and Routing Area updates.3. HLR stores and manages all mobile subscriptions belonging to a specific operator. The HLRis considered the most important database because it stores permanent data about subscribers,including subscriber’s supplementary services, location information, and. authenticationparameters buys When a person a subscription, it is registered in the operator’s HLR.4. The HLR can be implemented with the MSC/VLR or as a stand-alone database.5. A HLR contains user information such as account information, account status, user preferences, features subscribed to by the user, user’s current location, etc. The data stored inHLRs for the different types of networks is similar but does differ in some details.6. HLRs are used by the Mobile Switching Centers (MSCs) to originate and deliver arriving mobilecalls.
HLR Redundancy
When a single HLR fails, all subscribers with records in that HLR will not be able to roam or receivecalls. HLR Redundancy can prevent such a loss of subscriber activity. This feature is achieved byhaving an additional HLR node for each HLR node in the network. HLR Redundancy providesprotection against disaster situations such as fire at an HLR site. At the same time, it will give
protection against Signalling failures towards an HLR and will also lower the lack of availabilitycaused by HLR restarts.With this feature, the subscriber can make and receive calls even in disastrous situations like anearthquake with little or no change in network continuity or functionality. The HLR Redundancyfeature, allows failure to be invisible to the network and the subscriber. A mated HLR is introducedin such a way that subscribers and load are shared in normal operation, and when one HLR fails,the other picks up all traffic normally routed to the pair.
2. VLR
A VLR is a database, similar to a HLR, which is used by the mobile network to temporarily holdprofiles of roaming users (users outside their home area). This VLR data is based on the user information retrieved from a HLR. MSCs use a VLR to handle roaming users.Database contains information about all mobile stations currently located in the MSC service area.VLR contains temporary subscriber information needed by the MSC to provide service for visitingsubscribers. The VLR can be seen as a distributed HLR. The Ericsson VLR is always integrated inthe MSC. When a mobile station roams into a new MSC service area, the VLR connected to thatMSC requests and stores data about the mobile station from the HLR. If the mobile station makesa call at another time, the VLR will already have the information needed for call setup.
3. How are the HLR and VLR used? Each mobile network has its own HLRs and VLRs. When a MSC detects a mobile user’s presence
in the area covered by its network, it first checks a database to determine if the user is in his/her home area or is roaming, i.e., the user is a visitor.
7/16/2019 HLR Basics
http://slidepdf.com/reader/full/hlr-basics 2/13
a. User in Home Area: HLR has the necessary information for initiating, terminating, or receiving acall.b. User is Roaming: VLR contacts the user’s HLR to get the necessary information to set up atemporary user profile.
The user’s location is recorded in the HLR, and in case the user roaming, it is also recorded in theVLR.
Suppose that the user wants to make a call:
a. User in Home Area: MSC contacts the HLR prior setting up the to call.b. User is Roaming: MSC contacts the VLR prior to setting up the call.
Suppose that there is a call for the user (call goes to the home MSC):
a. User in Home Area: Home MSC delivers the call immediately.
b. User is Roaming: Home MSC contacts the VLR to determine the appropriate switch in theroaming area to handle the arriving call and then transfers the call to the roaming area MSC.
Commands Via HLR
Displays User Profile:
Hgsdp:msisdn= axxxxxxxx,all; PRINT OUT:
HGSDP:MSISDN=919702900269,ALL;HLR SUBSCRIBER DATA
SUBSCRIBER IDENTITY MSISDN IMSI STATE AUTHD919702900269 405799008027031 CONNECTED AVAILABLE
NAM 0
PERMANENT SUBSCRIBER DATA
SUDCAT-10 DBSG-1 TSMO-0 OBO-2 OBR-2 TS11-1 TS21-1 TS22-1OFA-1 PWD-0000 CFU-1 CFB-1CFNRY-1 CFNRC-1 CAW-1 SOCFB-0 SOCFRY-0 SOCFRC-0 SOCFU-0 SOCLIP-0 HOLD-1 MPTY-1 CLIP-1SCHAR-8-0
AMSISDN BS BC NONE
SUPPLEMENTARY SERVICE DATABSGTS10
7/16/2019 HLR Basics
http://slidepdf.com/reader/full/hlr-basics 3/13
SS STATUS FNUM TIME SADD
CAW NOT ACTIVE CFU NOT ACTIVE 919702900268 CFB NOT ACTIVE CFNRY NOT ACTIVE CFNRC NOT ACTIVE
LOCATION DATAVLR ADDRESS MSRN MSC NUMBER LMSID4-919891730001 919891730001
SGSN NUMBER 4-919891030078
PACKET DATA PROTOCOL CONTEXT DATA
APNID PDPADD EQOSID VPAA PDPCH PDPTY PDPID0 1 NO IPV4 11 1 NO IPV4 2 2 1 NO IPV4 35 1 NO IPV4 6
END<
Displays Permanent Subscriber Data (Network Set):
hgsdp:msisdn=614xxxxxxxx,suda;
Displays Message Waiting Indicator (and message source)
hgmwp:msisdn=9197020900269;
PRINT OUT:
HGMWP: MSISDN =919702900269;HLR SUBSCRIBER MESSAGE WAITING DATA LIST
MSISDN IMSI MCE MNRF MNRG919702900269 405799008027031 NO REACH REACH
SCADDNONE END
HLR SUBSCRIBER MESSAGE WAITING DATA LIST
MSISDN IMSI MCE MNRF MNRG61433429052 505060000011555 NO NREACH REACH
SCADD4-61430004010 END
7/16/2019 HLR Basics
http://slidepdf.com/reader/full/hlr-basics 4/13
Executes Call Forwarding:
hgssi:msisdn=614xxxxxxxx,bsg=ts10,ss=cfu,fnum=04xxxxxxxx;(mobile or landline without country code)
bsg = variable (as below)
TS10 = Voice/TelephonyTS20 = SMSTS60 = FaxBS20 = Asynchronous Services (MMS, email, browsing - all IP based)BS30 = Synchronous (real time video calls)
ss = variable (as below)
CFU = Call Forwarding Unconditional (overrides all others)
CFB = Call Forward BusyCFNRY = Call Forward No Reply (specify’s seconds)CFNRC = Call Forward Not Reachable (out of coverage, handset turned off)
*** Please note that unconditional call forwarding to an international number needs to be performed using different commands. Please see page 3 of this document for details ***
Network Barring:
hgsdc:msisdn=614xxxxxxxx,sud=obo-1;
OBA = BAR ALL incoming and outgoing callsOBI = bar ALL incoming callsOBO = bar ALL outgoing calls
0 = OFF 1 = ON 2 = International Barring
OBR-2 = PLMN country (restricts country via IMSI ie. would not be able to roam internationally)OBR-1 = Home PLMN (restricts to home network via IMSI ie. would not be able to roam on Voda)
User Barring
Customers are able to activate barring via the handset, if customers are unable to perform thisfunction via the handset you can enable the customer to be able to perform this function via thehandset.
If customer is not enabled to perform a certain type of barring it will not appear on the list.Eg. BAIC for SMS (TS20) is not enabled for this customer (below) therefore customer would beunable to active barring for all incoming SMS if desired
BSGTS20SS STATUS FNUM TIME
SADD
7/16/2019 HLR Basics
http://slidepdf.com/reader/full/hlr-basics 5/13
BAOC NOT ACTIVEBICRO NOT ACTIVEBOIC NOT ACTIVEBOIEXH NOT ACTIVE
ACTIVE-OP = ActivatedNOT ACTIVE = Enabled/available but not activated by user
To enable:
hgsdc:msisdn=614xxxxxxxx,sud=baic-1;
Or if customer is unable to remove barring via handset:
hgsse:msisdn=614xxxxxxxx,bsg=ts10,ss=baic;
Parameters:
BAIC Barring all incomingBAOC Barring all outgoingBICRO Barring of all incoming calls when roaming outside the home PLMN countryBOIC Barring of all outgoing international callsBOIEXH Barring of all outgoing international calls except those directed to the home PLMN
country
TS10 Voice/TelephonyTS20 SMSTS60 FaxBS20 Asynchronous Services (MMS, email, browsing - all IP based)BS30 Synchronous (real time video calls)
fgntp:msisdn=x;
Check msisdn against FNR (Flexible Number Registar). If msisdn is not in the FNR subscriber willnot be able to receive calls, but can make calls.‘N Prefix’ will hold a value if customer has ported out of ‘3’. ‘N Prefix follows CAC values. IMSI will
hold value if subscriber is with ‘3’ network.
Subscriber on ‘3’
<<fgntp:msisdn=61404936629;FNR SUBSCRIBER NUMBER TRANSLATION DATA
NUMBER DATA
MSISDN IMSI NPREFIX SUBTYPE61404936629 505060000001884
Subscriber ported out of ‘3’ to other carrier
<fgntp:msisdn=61412691423;FNR SUBSCRIBER NUMBER TRANSLATION DATA
7/16/2019 HLR Basics
http://slidepdf.com/reader/full/hlr-basics 6/13
NUMBER DATA
MSISDN IMSI NPREFIX SUBTYPE61412691423 1411 OTHER
hgslr:msisdn=x;
Purges location data from the HLR (Home Location Registar) which in turn signals the serving VLR(Visitor Location Registar) to purge the subscriber location details. The subscriber will need topowercycle handset to re-attach to the network. This command can also be used to purgesubscribers from roaming carriers such as Vodafone & International carriers.
The VLR address shows the country, carrier, state and VLR location address of where thesubscriber is presently located or the last place the network ‘saw’ the subscriber.
VLR ADDRESS4-61430004020
VLR Location AddressCarrier
Country Code
NB: The CPM Tool – ‘Subscriber Status’ can be used as a shortcut to find subscribers current RNC location.
"VODA VLR
Addresses.txt"
Subscriber on ‘3’ network
LOCATION DATA
VLR ADDRESS MSRN MSC NUMBER LMSID4-61430004020 61430004020
Subscriber roaming on Vodafone network LOCATION DATAVLR ADDRESS MSRN MSC NUMBER LMSID4-61415011903 61415011903
Subscriber roaming on international network (in this case Italy)
LOCATION DATAVLR ADDRESS MSRN MSC NUMBER LMSID
4-393358807000 393358807000
7/16/2019 HLR Basics
http://slidepdf.com/reader/full/hlr-basics 7/13
hgcmp:msisdn=x;
Camel HLR profile is related to the IN. If customer is having difficultities making calls this may be
one think you might like to check is correct.
INCORRECT<hgcmp:msisdn=61411874299;HLR CAMEL SUBSCRIPTION DATA
MSISDN TDPTYPE TDP SK GSA DEH CCH I61411874299 OCTDP 2 2 61430004015 1 2
END
CORRECT<hgcmp:msisdn=61411874299;
HLR CAMEL SUBSCRIPTION DATA
MSISDN TDPTYPE TDP SK GSA DEH CCH I61411874299 OCTDP 2 32 61430004015 1 2
END
Setting International Call Forwarding
Setting unconditional call forwarding to an international number needs to be performed differentlyto national call forwarding. Use the below commands in the order stated and remember to returnthe customer to OFA-1. If you don't, they will have translation problems.
HGSDC:MSISDN=614xxxxxxxx,SUD=OFA-0; (turn OFA off )
HGSSI:MSISDN=641xxxxxxxx,BSG=TS10,SS=CFU,FNUM=44xxxxxxxxx; (CFU to international number)
HGSDC:MSISDN=614xxxxxxxx,SUD=OFA-1; (turn OFA back on)
Commands Via MSC
mgssp:imsi=x;
Check mobile subscriber state. Displays IMEI (International Mobile Equiptment Identifier), IMEI’sare recorded in the EIR (Equiptment Identity Registar) currently not in use on ‘3’network.
<<mgssp:imsi=505060000001884;MT MOBILE SUBSCRIBER STATE
SUBSCRIBER DETAILSIMSI MSISDN STATE RESTR LAI505060000001884 61404936629 IDLE 505-06-20202
EQUIPMENT IDENTITY CONTROL DETAILSIMEI CHKRES CNT353250003621090 UNSPEC 0
7/16/2019 HLR Basics
http://slidepdf.com/reader/full/hlr-basics 8/13
LAI IMSI carrier code and RNC where subscriber last ‘seen’.
STATE Current ‘state’ of subscriber:IDLE: Ready to rx/tx callsNOT REG: Not on VLR
DET: Detached from network (phone turned off)BUSY: Subscriber on callIDET: Mobile not turned off manually. Battery ran dead or battery removed.
NB: The CPM Tool – ‘Subscriber Status’ can be used as a shortcut to find subscribers current ‘state’. Ie‘Idle’, ‘Busy’ etc
mgsre:imsi=x;;
Purges subscriber from VLR (Visitor Location Registar). This command is similar tohgslr:msisdn=x; although it purges directly from the serving VLR rather than via signalling fromthe HLR. This command does not allow you to purge from roaming carrier VLR’s.
mgslp:imsi=x;
Displays subscriber data received from the HLR. MSTAT output displays whether subscriber isregistered at present on the MSC (Mobile services Switching Centre) / VLR.
Subscriber Registered on ‘3’
mgslp:imsi=505060000001884;MT MOBILE SUBSCRIBER LIST
SUBSCRIBER IDENTITYIMSI MSTAT MSISDN CAT505060000001884 REG 61404936629 10
Subscriber Registered Elsewhere (ie. Roaming)
<<mgslp:imsi=505060000001884;
MT MOBILE SUBSCRIBER LIST
SUBSCRIBER IDENTITYIMSI MSTAT MSISDN CAT505060000001884 NOTREG
END
7/16/2019 HLR Basics
http://slidepdf.com/reader/full/hlr-basics 9/13
Global Title Routing
Displays whether routing exists for certain number ranges - both national and international and for both voice (when receiving calls while roaming) and sms. International voice calls are routed
via Optus and do not use the global title routing.
C7gsp:tt=0,na=4,np=1,ns=x; (x = first 6 digits of number including country code)
International Number Range (in this case Hong Kong)
<c7gsp:tt=0,na=4,np=1,ns=852981;CCITT7 GLOBAL TITLE SERIES DATA
OPERATING
TT NP NA NS GTRC
0 1 4 852981 34END
National Number Range (optus native)
<c7gsp:tt=0,na=4,np=1,ns=6140;CCITT7 GLOBAL TITLE SERIES DATA
OPERATING
TT NP NA NS GTRC 0 1 4 6140 3END
If a number range is routing to Nilcom (for international SMS) rather than to a direct roaming partner there will be a value displayed in the MNS parameter
<c7gsp:tt=0,na=4,np=1,ns=961;CCITT7 GLOBAL TITLE SERIES DATA
OPERATING
TT NP NA NS GTRC0 1 4 961 37
MTT MNP MNA MNS
0-338
END
Checking Local Number Routing
Local numbers are routed similarly to mobiles. Portability is first checked via SMAS (similar toFNR) and routed accordingly, if no value is found in SMAS routing reverts to native number ranges. SMAS is a website that can be viewed via the O&M LAN’s. Native numbers ranges can bechecked via the MSC using the following command:
anbsp:b-240-x; (x = first six digits of the number range including the STD access)
<anbsp:b=240-029874;B-NUMBER ANALYSIS DATA
7/16/2019 HLR Basics
http://slidepdf.com/reader/full/hlr-basics 10/13
OPERATING AREAB-NUMBER MISCELL F/N ROUTE CHARGE L A240-0240-02240-029
240-0298240-02987 F=140 CC=4 L=10 M=0-14113
D=4-0END
The M value equals the CAC code of the carrier. Ie 1411 = Telstra therefore the number range02987 is a Telstra native number range.
It is important to check the SMAS as well, as individual numbers in this range may have ported toother carriers.
Commands
Checking ALEX for commands will display a full description of the command. A brief description of commonly used standards are listed below:
Commands beginning:
H = HLR commandsM = MSC commands
F = FNR commands
Commands ending:
E = endP = print (display)I = initiateC= changeR = reset
7/16/2019 HLR Basics
http://slidepdf.com/reader/full/hlr-basics 11/13
Fixing an IMSI/MSISDN Mismatch
The below commands are how to fix an IMSI/HLR mismatch where melbourne has a sydney imsior vice versa
This example shows melbourne having a sydney imsi and vice versa
MEL-----Hgsdp:msisdn=61433135110,all;HLR SUBSCRIBER DATA
SUBSCRIBER IDENTITYMSISDN IMSI STATE AUTHD61433135110 505060000493726 CONNECTED AVAILABLE
AMSISDN BS BC
61433135113 TS62 92
SYD-----hgsdp:msisdn=61433135110,all;HLR SUBSCRIBER DATA
SUBSCRIBER IDENTITYMSISDN IMSI STATE AUTHD61433135110 505061000007903 CONNECTED AVAILABLE
AMSISDN BS BC61433135113 TS62 92
1) Using the PSC tool, delete the msisdn.
2) Check auc data on both hlr's
Agsup:imsis=505060000611952;
AUC SUBSCRIPTION DATA
AKATYPE1
IMSI EKI KIND FSETIND A4INDAMF
505060000611952 506C542CC30FFF48A26785D561A66EF5 23 0 0DEFAULT
END
3) If the imsi is missing on an hlr, add by entering
agsui:imsi=505060000611952,eki=506C542CC30FFF48A26785D561A66EF5,kind=23;
MAKE SURE YOU COPY THE CORRECT DATA FROM THE HLR. EKI'S ARE UNIQUE, ANDDO NOT OMIT THE KIND VALUE.
7/16/2019 HLR Basics
http://slidepdf.com/reader/full/hlr-basics 12/13
4) Reprovision the msisdn with the correct imsi using the PSC tool.
5) To add an additional msisdn - copy the bc value from the good hlr.
hgami:msisdn=61433135110,AMSISDN=61433135113,bc=92;
7) You may need to enable the bsg (in this case fax)
hgsdc:msisdn=61433135110,sud=ts62-1;
Remove Subscriber/Provisioning
The following commands are used to remove the provisioning for a service, from the HLR andthe FNR. Commands must be run on both Sydney and Melbourne machines.
hgsue:msisdn=x; (on the HLR)
HLR subscriber end.
fgnte:msisdn=x; (on the FNR)
FNR number translation end.
Provision Service/Subscriber
In order to provision a service on the HLR, the following commands are used.
hgsui:imsi=x,msisdn=y,profile=z;
HLR subscriber initiate. Where Z is 4 for postpaid services, or 6 for pre-paid services.
hgsdc:msisdn=x,sud=ts21-1;
HLR subscriber change, to add SMS-MT.
hgsdc:msisdn=x,sud=ts22-1;
HLR subscriber change, to add SMS-MO.
hgcmi:msisdn=x,octdp=2,sk=32,gsa=61430004091,deh=1,cch=2;
HLR camel initiate, to add camel profile.
hgldi:msisdn=x,univ;
HLR location services data initiate.
hgpdi:msisdn=x,eqosid=100,apnid=10;
hgpdi:msisdn=x,eqosid=100,apnid=11; (only for postpaid services)
7/16/2019 HLR Basics
http://slidepdf.com/reader/full/hlr-basics 13/13
HLR packet data initiate, for 3Services (postpaid & prepaid) and 3NetAccess (postpaid only)
When initially created, postpaid services have inbound and outbound calls barred. Prepaidservices initially have inbound calls barred. The barring will need to be removed using thefollowing command.
hgsdc:msisdn=x,sud=oba-0; (on the HLR, for postpaid or prepaid)
Finally, to add a record to the FNR.
fgnti:msisdn=x,imsi=y; (on the FNR)
top related