HSS Profile change
YateHSS/HLR allows changing Subcribers Services Profile at registration. This can be used in different scenarios, but most applications are when subscriber is roaming in specific network.
Mobile Virtual Network Operator (MVNO) can select the least expensive network while subscribers are roaming.
MVNOs usually change the service profile to enable Home Routing (HR) calls (bring calls in home network) or to cut certain telecom services (SMSes or calls).
Profile change is made PER REGISTRATION – it is not permanent, HSS/Subscription settings won’t be changed.
To activate this feature you need to:
- set Extra param in YateHSS/HLR: sub_profile_change = true
- add handling for ‘prof.change’ message
You can usually handle this from regexroute / javascript.
Below is a regexroute example:
[extra]
; before adding this handling you should enable this from Extra Param in YateHSS -> sub_profile_change=true
; this profile change is made PER REGISTRATION – it is not permanent, HSS/Subscription settings won’t be changed
prof.change=50
[prof.change]
; Change CS profile to YateBTS-roaming if YateBTS Subscriber roams in Orange Romania (4074xxxxxx 4075xxxxxx)
; if CS profile is not YateBTS-roaming and visited network GTs are starting with 407[45], change profile to YateBTS-roaming
${cs_profile}^YateBTS-roaming^=if ${caller_gt}^\(0[1-9]\)\?\(4074\|4075\)=return true;cs_profile=YateBTS-roaming