You are here: CSP Developer’s Guide: Common Channel Signaling > 6 SCCP/TCAP > Example Configurations and TCAP API Messaging
Example Configurations and TCAP API Messaging
Overview
Four sample configuration files are included with the release software showing the steps required for basic and SCCP/TCAP-specific configuration. These files are shown further on in this section.
Descriptions of Sample *.cfg Files
The sample configuration is for one node with two SS7 stacks in loop-back mode. Each stack simulates an SS7 node. The sample configuration files are summarized below:
• "itumtp.cfg" includes the configuration for the two SS7 stacks (including the SCCP/TCAP module) and MTP configuration. The following configuration is performed:
• SS7 spans
• signaling stacks, link sets, links, and routes
• bring spans, channels, and links in service
• "sccp.cfg" includes SCCP-related configuration information. There are two subsystems configured for each stack. The following configuration is performed:
• SCCP local SSN
• Adjacent translators
• Other Concerned Point Codes (optional)
• Bring SSNs in service with N_STATE Request in PPL Event Request message.
• Network DPC/SSN (for direct routing to a network SSN)
• "unitdata.cfg" is an example of using SCCP N-UNITDATA service.
• "begin.cfg" is an example of using TCAP service by invoking the ITU TC_INVOKE and TC_BEGIN primitives. ITUMTP.CFG -- Sample Configuration File
itumtp.cfg
' de-assign all spans and assign logical spans
00 0d 00 a8 00 00 ff 00 01 11 04 ff ff ff ff
00 0d 00 a8 00 00 ff 00 01 11 04 00 00 04 00
00 0d 00 a8 00 00 ff 00 01 11 04 00 01 04 01
00 0d 00 a8 00 00 ff 00 01 11 04 00 02 04 02
00 0d 00 a8 00 00 ff 00 01 11 04 00 03 04 03
00 0d 00 a8 00 00 ff 00 01 11 04 00 04 04 04
00 0d 00 a8 00 00 ff 00 01 11 04 00 05 04 05
00 0d 00 a8 00 00 ff 00 01 11 04 00 06 04 06
00 0d 00 a8 00 00 ff 00 01 11 04 00 07 04 07
' Configure SS7 Spans (T1)
00 0d 00 a9 00 00 01 00 01 0c 02 00 00 52 06
00 0d 00 a9 00 00 01 00 01 0c 02 00 01 52 06
00 0d 00 a9 00 00 01 00 01 0c 02 00 02 52 06
00 0d 00 a9 00 00 01 00 01 0c 02 00 03 52 06
00 0d 00 a9 00 00 01 00 01 0c 02 00 04 52 06
00 0d 00 a9 00 00 01 00 01 0c 02 00 05 52 06
00 0d 00 a9 00 00 01 00 01 0c 02 00 06 52 06
00 0d 00 a9 00 00 01 00 01 0c 02 00 07 52 06
' Configure First SS7 Stack (A)
' Set Single Redundancy on Board 2
00 0d 00 5b 00 00 ff 00 02 01 01 02 01 01 ff
'Set Signaling Stack Configure A
' Set our OPC to 00000111 and set the 5 modules to ITU (MTP,ISUP,L3P,SCCP,TCAP)
00 1a 00 5c 00 00 ff 00 01 21 02 02 00 00 00 01 11 05 01 01 02 01 03 01 06 01 07 01
' Set the Signaling Link Set Config. A
' Define a Link Set going to 00000222 ID 0
00 0f 00 5d 00 00 ff 00 01 1e 02 00 00 00 00 02 22
' Set the Signaling Link Config. A
' Define a link ID 0 for Set-0 SLC-0 Using Span/Channel (0,0) 64k
' Define a link ID 1 for Set-0 SLC-1 Using Span/Channel (2,0) 64k
00 14 00 5e 00 00 ff 00 02 1f 03 00 00 01 0d 03 00 00 00 00 00 00
00 14 00 5e 00 00 ff 00 02 1f 03 00 00 02 0d 03 00 01 00 01 00 00
Set the Signaling Route Configure for A
'
' Configure Second SS7 Stack (B)
'Set Signaling Stack Configure B
' Set our OPC to 00000222 and set the 5 modules to ITU(MTP,ISUP,L3P,SCCP,TCAP)
' brd
00 1a 00 5c 00 00 ff 00 01 21 02 02 01 00 00 02 22 05 01 01 02 01 03 01 06 01 07 01
' Set the Signaling Link Set Config. B
' Define a Link Set going to 00000111 ID 1
00 0f 00 5d 00 00 ff 00 01 1e 02 01 01 00 00 01 11
' Set the Signaling Link Config. B
' Define a link ID 1 for Set-1 SLC-0 Using logical Span (63,0) 64k
00 14 00 5e 00 00 ff 00 02 1f 03 01 01 02 0d 03 00 01 00 00 00 00
00 14 00 5e 00 00 ff 00 02 1f 03 01 01 03 0d 03 00 03 00 01 00 00
' Set the Signaling Route Configure
' Define a Route to 00 00 01 11 using only Link Set 1
'
' Service State Configure
‘Place All Spans and Channels In service.
' 00 0d 0a 00 00 ff <ENTITY> <ACTION> <ID0> <ID1> <ID2> <ID3> <FORCE>
00 0d 00 0a 00 00 ff 00 01 0c 02 00 00 F0 00
00 0d 00 0a 00 00 ff 00 01 0c 02 00 01 F0 00
00 0d 00 0a 00 00 ff 00 01 0c 02 00 02 F0 00
00 0d 00 0a 00 00 ff 00 01 0c 02 00 03 F0 00
'Bring links Into Service
' Bring the Links in Service
00 0d 00 0a 00 00 ff 00 01 09 02 00 00 f0 00
00 0d 00 0a 00 00 ff 00 01 09 02 00 01 f0 00
00 0d 00 0a 00 00 ff 00 01 09 02 01 02 f0 00
00 0d 00 0a 00 00 ff 00 01 09 02 01 03 f0 00
sccp.cfg
'configure SCCP local SSN
unitdata.cfg
begin.cfg
'directhost.cfg
'matrixhost.cfg
TCAP primitive #1
This example along with the next one, TCAP Primitive #2, show how to map the TCAP Primitive Interface to the TCAP Primitive Set Interface.
-- TC_INVOKE request
TCAP primitive #2
TC_BEGIN request
TCAP Primitive Set
It may be helpful to compare this example to the previous examples, TCAP Primitive #1 and TCAP Primitive #2.
TC_BEGIN primitive set request (with TC_Invoke component)