How to find operator by MCCMNC(5 digits or 6 digits) in diameter s6a interface

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值