MAP NP with SRISM
Introduction
The N2SNS product is delivered with a number-portability service for use with the MAP SendRoutingInfoForSM (MAP SRISM) message.
See the SRISM LogicApp Service documentation for more detail on the underlying MAP SRISM service itself.
Configuration
To configure the MAP SRISM number portability service, define a logic app with the following configuration:
<application name="Logic-SRISM" module="LogicApp" admin_alloc="1m" user_alloc="128m">
<include>
<lib>../apps/logic/lib</lib>
</include>
<parameters>
<parameter name="edr_enabled" value="1"/>
<parameter name="trace_level" value="1"/>
<parameter name="lua_lib_path" value="../lua/lib/?.lua;../../n2svcd/lua/lib/3rdparty/?.lua;../../n2sns/lua/lib/?.lua;../../n2sns/lua/3rdparty/?.lua;../../n2sns/lua/svc/?.lua"/>
<parameter name="default_db_app_name" value="DB"/>
</parameters>
<config>
<services>
<service module="SigtranApp::SendRoutingInfoForSMLuaService" libs="../../apps/sigtran/lib" script_dir="../../n2sns/lua/svc" cc_free_per_script="100">
<globals>
<global name="IMSI" value="505300000000000"/>
<global name="TRANSFER_HLR_GT" value="1000"/>
<global name="TRANSFER_HNR_GT" value="2000"/>
<global name="OWNED_ROUTING_DESTINATIONS" type="array">
<item value="Carrier 1"/>
<item value="Carrier 2"/>
</global>
</globals>
<triggers>
<trigger script_key="map_np_srism"/>
</triggers>
</service>
</services>
</services>
<agents>
<agent module="DBApp::DBLuaAgent" libs="../apps/db/lib"/>
</agents>
</config>
</application>
Script Global Variables
The MAP SRISM NP script uses Global Variables.
Parameter Name | XML Type | Default | Description |
---|---|---|---|
IMSI
|
A string of digits | none |
[Required] The value to place in the imsi_digits field of the SRISM result.
|
TRANSFER_HLR_GT
|
String | none | [Required] The Global Title of the HLR node to utilize when transferring the SRISM request to the HLR. |
TRANSFER_HNR_GT
|
String | none | [Required] The Global Title of the HNR node to utilize when transferring the SRISM request to the HNR. |
OWNED_ROUTING_DESTINATIONS
|
Array | none |
[Required] Defines a list of Routing Destinations within the N2SNS Number Portability that are owned by the carrier. When performing Number Portability look-ups any Number Prefixes that are found in the Number Portability database will have their Routing Destination checked against this list. If the Routing Destination associated with the Number Prefix is in this list then the number will be deemed to be owned by the carrier. |
COUNTRY_CODES
|
Hash |
{ ['61'] = 'Australia', ['64'] = 'New Zealand' }
|
Defines a list of country code number prefixes which will be used to determine if number normalisation to NSN/PMTN formats is required. If a called number matches one of the prefixes it will be stripped the called number and then utilized for Number Portability look-ups. |