•
Resolvethe operator in the request message as the below table :
Resolving the operator in the request message of diameter s6a are as follows :
Home Operator:
- If IMSI(User Name) exists, use the MCCMNC of IMSI to resolve the home operator, the finding methods are as follows: first, take the front 6 digits as MCCMNC to find Home op, if cannot find, then use the front 5 digits to find Home op.
- If IMSI is blank or resolved failed in the previous step, use theOrigin-Realm/Destination-Realm to resolve the home operator
- If resolve failed, write the log with realm information in the WARNING Level for further checking and set 0 to the Home op field in db.
Visited Operator:
- If the message is ULR/AIR and Visited PLMN ID exists, use theMCCMNC of Visited PLMN ID to resolve the visited operator.
- If Visited PLMN ID is blank or resolved failed in the previous step, get themccmnc from the Origin-Realm/Destination-Realm to resolve the visited operator.
- If the mccmnc is 6 bits and the first bit of mnc is 0, remove this 0 and use the new mccmnc(5 bits: mcc 3bits, mnc 2bits) to find the Visited op; if cannot find the Visited op, use the original 6 bits mccmnc to find the Visited op.
- If the mccmnc is 6 bits but the first bit of mnc is not 0, use the original 6 bits mccmnc to find the Visited op.
- If the mccmnc is 5 bits, use this mccmnc to find the Visited op.
- If it also cannot find the Visited op in the previous step, use theOrigin-Realm/Destination-Realm to resolve the visited operator
- If resolve failed, write the log with realm information in the WARNING Level for further checking and set 0 to the Visited op field in db.