This feature determines the two-letter ISO Country Code for a subscriber’s location, based on their MSRN.
Feature cheat sheet
Feature Script Name |
DetermineLocationFromMSRN |
---|---|
Call-Type |
Term |
Session Plan |
scc-tads |
Execution Points |
SipAccess_SubscriberCheck |
Network Operator Config |
Yes |
Subscriber Config |
No |
POJO or SBB |
POJO |
Feature FSMs |
None |
Feature Parameters |
None |
SAS Support |
Yes |
RA Entity Links |
None |
Statistics
DetermineLocationFromMSRN statistics are tracked by the sentinel.volte SBB
and can be found under the following parameter set in REM:
SLEE-Usage → sentinel.volte service → sentinel.volte SBB → feature → DetermineLocationFromMSRN
or with rhino-stats:
"SLEE-Usage.Services.ServiceID[name=sentinel.volte,vendor=OpenCloud,version=4.0.0].SbbID[name=sentinel.volte,vendor=OpenCloud,version=4.0.0].feature.DetermineLocationFromMSRN"
Name | Type | Description |
---|---|---|
Started |
Counter |
Incremented when the feature is triggered. |
FailedToStart |
Counter |
Incremented when the feature fails to start. |
FailedDuringExecution |
Counter |
Incremented when the feature fails while executing. |
IssuedWarning |
Counter |
Incremented when the feature issues a warning. |
TimedOut |
Counter |
Incremented when the feature times out during execution. |
DeterminedIsoCountryCode |
Counter |
Incremented when the ISO country code is determined. |
UnableToDetermineIsoCountryCode |
Counter |
Incremented when the ISO country code cannot be determined. |
NoActionRequired |
Counter |
Incremented when the feature does not need to do anything as the ISO country is already known. |
MsrnNotAvailable |
Counter |
Incremented when the MSRN is not present in session state, so the feature cannot do anything. |
Configuration
This feature depends on an address list which maps country codes from E.164 numbers to ISO country codes.
The address list is implemented according to the standard format as defined here: Address Lists.
The schema name for this address list is CountryCode
.
Address list entries are kept on a list called E164
.
Each entry represents a E.164 number prefix that identifies the country the number is for.
In most cases this prefix is simply the standard dial code for that country,
however some countries share the same dial code,
for these cases area codes are also included in the prefix to remove ambiguity.
The address list entry table includes the standard list entry table attributes, and the following additional attributes:
Attribute Name | Type | Description |
---|---|---|
Country |
String |
The name of the country corresponding to the E.164 prefix. |
IsoCountryCode |
String |
The two-letter ISO country code for the country. |
Behaviour
When first triggered, the feature will check session state to ensure two things:
-
The
IsoCountryCode
field has not already been set (by the ExtractNetworkInfo feature). -
The
MSRN
field has been set (by the FetchMSRN feature).
If either of these conditions is not met, the feature will complete execution with no further action taken.
If the conditions are met, the feature will execute a longest prefix match for the MSRN in the CountryCode address list.
If a result is found, the IsoCountryCode
field on the list entry will be copied into the IsoCountryCode
session state field.