'Data roaming indicator AVP in the diameter request
Please any one tell me how we will identify the roaming/non-roaming subscribers from the diameter CCR initial request.
Solution 1:[1]
For Gx reference point, you have two ways:
- using MCC MNC
AVP name: <3GPP-SGSN-MCC-MNC>
AVP code: <18>
Anything is not your home (or national roaming MNC), is international roaming
- Using SGSN IP adress
AVP name <3GPP-SGSN-Address>
AVP code: <6>
If you don't recognize IP adress of home SGSN it is roaming.
I have tested both on E/// equipment.
Solution 2:[2]
You didnt mention which Diameter protocol you are using. But anyway I dont think there is such an AVP.
In different protocols you have different AVPs that can give you hints about the user HPLMN and than you can compare them to whatever you have and understand if the user is from your PLMN.
Solution 3:[3]
Too new here to vote for the answer above, but MCC MNC is what we use. If they don't match your home networks' MCC's and MNC's, then assume roaming.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Community |
| Solution 2 | Oded Itzhaky |
| Solution 3 | ouflak |
