N2SVCD Integration
N2SVCD Integration
The N2IWF requires on being integrated with other N2SVCD applications to operate fully.
Each of the following sections covers the required configuration to enable a particular function of the N2IWF. All required functions for your specific deployment should be configured.
For all details of how to configure each N2SVCD application, refer to that application’s specific documentation.
Inbound Messages
CAMEL/INAP Call Handling
To process CAMEL/INAP calls, both an N2SVCD SigtranApp and an N2SCP LhoScpApp must be configured.
The SigtranApp must be configured to hand appropriate traffic to the LhoScpApp, which must in turn be configured to pass that traffic to an N2IWF LogicApp instance, e.g.:
<application name="SIGTRAN" module="SigtranApp">
...
<config>
...
<handlers>
<handler opcode="InitialDP" application="N2IWF-SCP"/>
</handlers>
</config>
</application>
<application name="N2IWF-SCP" module="LhoScpApp">
...
<parameters>
...
<parameter name="default_logic_app_name" value="N2IWF-Logic-SCP"/>
</parameters>
...
</application>
<application name="N2IWF-Logic-SCP" module="LogicApp">
...
</application>
SIP Call Handling
To process SIP calls, an N2SIP LhoSipApp must be configured.
The LhoScpApp must be configured to pass traffic to an N2IWF LogicApp instance, e.g.:
<application name="N2IWF-SIP" module="LhoSipApp">
...
<parameters>
...
<parameter name="default_logic_app_name" value="N2IWF-Logic-SIP"/>
</parameters>
...
</application>
<application name="N2IWF-Logic-SIP" module="LogicApp">
...
</application>
CAMEL SMS Handling
To process CAMEL SMS, an N2SVCD SigtranApp must be configured.
The SigtranApp must be configured to hand appropriate traffic to an N2IWF LogicApp instance, e.g.:
<application name="SIGTRAN" module="SigtranApp">
...
<config>
...
<handlers>
<handler opcode="InitialDPSMS" application="N2IWF-Logic-CAPSMS"/>
</handlers>
</config>
</application>
<application name="N2IWF-Logic-CAPSMS" module="LogicApp">
...
</application>
Outbound Messages
Diameter OCS Integration
For communication with an OCS, the N2IWF LogicApp must be configured to send Diameter messages to an N2SVCD SigtranApp using the N2SVCD Diameter Lua Agent.
<application name="N2IWF-Logic" module="LogicApp">
...<include>
<lib>../apps/logic/lib</lib>
</include>
<parameters>
...
<parameter name="default_diameter_app_name" value="Diameter"/>
</parameters>
<config>
...
<agents>
<agent module="DiameterApp::DiameterLuaAgent" libs="../apps/diameter/lib"/>
</agents>
</config>
</application>
<application name="Diameter" module="DiameterApp">
...
</application>
MAP Integration for ATI and USSD
If MAP ATI external actions or USSD notifications are to be used, the N2IWF LogicApp must be configured to send MAP messages over TCAP to an N2SVCD SigtranApp using the N2SVCD MAP Lua Agent and the N2SVCD TCAP Lua Agent.
<application name="N2IWF-Logic" module="LogicApp">
...<include>
<lib>../apps/logic/lib</lib>
</include>
<parameters>
...
<parameter name="default_tcap_app_name" value="SIGTRAN"/>
</parameters>
<config>
...
<agents>
<agent module="SigtranApp::MapLuaAgent" libs="../apps/sigtran/lib"/>
<agent module="SigtranApp::TcapLuaAgent" libs="../apps/sigtran/lib"/>
</agents>
</config>
</application>
<application name="SIGTRAN" module="SigtranApp">
...
<config>
...
<connections>
<connection name="connection1" next_hop_pc="1234">
...
</connection>
</connections>
<routes>
<route pc="1234" connection="connection1"/>
</routes>
</config>
</application>
N2CUG Integration
If N2CUG external actions are to be used, the N2IWF LogicApp must be configured to access the N2CUG database using an N2SVCD DBApp using the N2SVCD DB Lua Agent.
<application name="N2IWF-Logic" module="LogicApp">
...<include>
<lib>../apps/logic/lib</lib>
</include>
<parameters>
...
<parameter name="default_db_app_name" value="N2CUG-DB"/>
</parameters>
<config>
...
<agents>
<agent module="DBApp::DBLuaAgent" libs="../apps/db/lib"/>
</agents>
</config>
</application>
<application name="N2CUG-DB" module="DBApp">
...
</application>
SMPP Integration
If SMPP notifications are to be used, the N2IWF LogicApp must be configured to send these using an N2SVCD SMPPApp using the N2SVCD SMPP Lua Agent.
<application name="N2IWF-Logic" module="LogicApp">
...<include>
<lib>../apps/logic/lib</lib>
</include>
<parameters>
...
<parameter name="default_smpp_app_name" value="SMPP"/>
</parameters>
<config>
...
<agents>
<agent module="SMPPApp::SMPPLuaAgent" libs="../apps/smpp/lib"/>
</agents>
</config>
</application>
<application name="SMPP" module="SMPPApp">
...
</application>