TSP Lab SgaSS7_L4 - The SS7 interface handler SgaSS7_L4

The SS7 interface handler module
("SgaSS7_L4")

Features

Basic operation

User interface

The main menu

Menu Menuitem Shortcut(s) Meaning
[Log]
  Find line containing... (Ctrl-F) Finds text in log window
  Find next matching line (F3) Finds next occurance of text in log window
  Details   Detail level of logging (Off, Normal, Detailed, or Debug)
[SS7]
  A: Allow MTP2 auto-connecting (left-side ) Allows automatic (re-)connecting to the MSC on SS7 channel A
  A: Disconnect MTP2 now   Immediately disconnects SS7 channel A
  B: Allow MTP2 auto-connecting (right-side ) Allows automatic (re-)connecting to the MSC on SS7 channel B
  B: Disconnect MTP2 now   Immediately disconnects SS7 channel B
[Connection]
  Disconnect *all* active ones   Shutting down of all active connections
  Zero counters of *all* connections   Request and answer counters of connections will be cleared (on the Connections window)
[Options]
  Auto scroll (ScrollLock, or ) Allows automatic scrolling of the log screen
  Show connections (Ctrl-Tab) Show the connection screen
  Save settings   Saves actual settings into the configuration (SgaSS7_L4.ini) file
[DSP Debug]
  Show DSP debug info for SS7(A) now   Shows debug information for SS7 channel A in the status line of the program window
  Show DSP debug info for SS7(B) now   Shows debug information for SS7 channel B in the status line of the program window
  Clear debug info line   Clears the debug information from the status line of the program window

Status-line of SS7 links

The bottom status-line

Details of connections window

The popup menu of the connections screen

Right-click on a row on the connections screen window to access this menu!
  Menuitem Shortcut(s) Meaning
  Disconnect this connection   Disconnects selected client connection
  Forget pending request   Forgets last request received from client
  Reply "Software mailfunctioning"   Answers received request with "Software mailfunctioning" cause value (-3)
  Zero counters of this connection   Zeros Request and Answer counters for this connection
  Send a test MSU for this connection   (Not available in this version)

Configuration (INI) file settings

Section Entry Example Meaning
[Position]
  iLeft 140 Position of the program module on the display screen
  iTop 72 Position of the program module on the display screen
  iWidth 995 Position of the program module on the display screen
  iHeight 694 Position of the program module on the display screen
[Options]
  bAutoScroll True (Refer to the [Options]/Auto scroll menu item!)
[SGA-47 Card]
  wBaseAddress 0xD800 The I/O address of the SGA-47 Card, selected with DIP switches
  sMTP2ObjectFile MTP2_47 (+00 dB 120 Ohm).obj The file name of the DSP program
[RemoteRequest] This section may contain IP address entries as a white list; those that are not listed will get barred (refused) silently, i.e., w/o trap, but still logged.
  127.0.0.1 Allowed Client with this IP address can connect to the SgaS7_L4 module
  wTCPPort 3000 Portnumber, where the remote modules can connect
  bSuppressDisconnectTrap True When it is true traps on disconnecting connections are supressed
[SS7]
  bSS7AAllowMTP2AutoConnect True (Refer to the [SS7]/A: Allow MTP2 auto-connecting menu item!)
  bSS7BAllowMTP2AutoConnect True (Refer to the [SS7]/B: Allow MTP2 auto-connecting menu item!)
[SS7 Advanced]
  bEmergencyMTP2Startup False Uses or not "Emergency" mode on making up SS7/MTP2 connection
  bySS7ATimeSlot 1 SS7 Time slot on the link A
  bySS7BTimeSlot 1 SS7 Time slot on the link B
  wSS7ARemotePointCode 201 The otherside SS7 device point code on link A
  wSS7BRemotePointCode 201 The otherside SS7 device point code on link B
  wSS7LocalPointCode_NI2 13 Local point code, when NI parameter is 2 in SCCP layer
  wSS7LocalPointCode_NI3 200 Local point code, when NI parameter is 3 in SCCP layer
  szSS7LocalGT 36309489931F The SS7 Global Title of the module (ClgPA/GT in this module initiated BEGIN messages)
  szSS7FakeGT 36309489931F This value will be used as the originating SC-address in SRI4SM and ForwardSM BEGIN messages (sm-rp-OA)
  szSS7gsmSCFAddress 36309489931F The gsmSCFAddress field in the Invocation of AnyTimeInterrogation will be set with this value
  dwRequestValiditySec 900 The module is waiting until this time for the answer for an SS7 request
  wMaxConcurrentConnectionCount 25 Maximum number of connections made by remote modules
  wThreadPeriod 100 Time period when idle threads are given CPU time slice (given in milliseconds)
  bDontAbortAtAbort False If True the incoming TCAP/ABORT answer immediately causes sending of an abort for the correspondig client request.
If False the module will wait the preset time-out (dwRequestValiditySec irrespectively of the ABORT answer.
  bySS7smsSCTSTZ 0x00 TimeZone of ServiceCenter parameter (TP-SCTS/TZ) can be adjusted. (Its value is interpreted as specified in GSM 03.40; can be set either as decimal or hexadecimal, defaults to 0x00.
bySS7smsSCTSTZ=999 is treated as "set ForwardSM/Deliver/SCTS/TZ field automatically".)
[Advanced]
  wLogDetailLevel 3 (Equals to the listed order; refer to the [Log]/Details menu item!)
  dwMaxLinesInLogWindow 1000 Number of lines in the log window on screen
  sLogFilesPath d:\LogFiles Path for the LOG files
  sTrapFilesPath d:\TrapFiles Path for the SNMP Trap files to be sent
  bAlternateTrapUID False Allows using fixed UIDs in SNMP traps (See SNMP trap list below for details)

Checking Sga47 card

On the back of the Sga47 card a LED signs the state of connected PCM. (The lower LED is the relevant one, the other is indifferent, without reference its state)
Right after the PC power up, the led is uninitialized, it is in random state and its color has no meaning. After the SgaSS7_L4 program has initialized the card, the meanings of LED are the followings:

SNMP trap list

UID Type Text Remarks To Do
If bAlternateTrapUID is set to TRUE
9 CEA 'Sga-SS7/L4 v1.07' module is started. Send a welcome message; indication of module start-up  
9 CRI 'Sga-SS7/L4 v1.07' module has been shut down by operator. Send a farewell warning message; indication of module shut-down Start the 'Sga-SS7/L4 v1.07' module
90 CEA SS7(A)/MTP2 connection is up.    
90 CRI SS7(A)/MTP2 connection has died. Connection is down; indicating MTP problem at either end Check if the point codes are correct or the other side device works properly
90 CRI SS7(A)/MTP2 connection has died. (operator) Connection is down; operator cut the line at MTP level Set A:MTP2 auto-connecting to be true ([SS7]/A: Allow MTP2 auto-connecting menuitem)
90 CRI SS7(A)/MTP2 connection has died. (PCM also) Connection is down; indicating PCM problem Check that PCM connection is correct
91 CEA SS7(B)/MTP2 connection is up.    
91 CRI SS7(B)/MTP2 connection has died. Connection is down; indicating MTP problem at either end Check if the point codes are correct or the other side device works properly
91 CRI SS7(B)/MTP2 connection has died. (operator) Connection is down; operator cut the line at MTP level Set B:MTP2 auto-connecting to be true ([SS7]/B: Allow MTP2 auto-connecting menuitem)
91 CRI SS7(B)/MTP2 connection has died. (PCM also) Connection is down; indicating PCM problem Check that PCM connection is correct
92 INF TCP connection #... is up.    
92 ERR/CEA Received ... bytes of illegible request on TCP connection #... - dropping connection. Illegal request has been received Check if the remote module works properly or the TCP connection is reliable. Possibly an illegal connection was made up.
92 ERR/CEA Received request on TCP connection #... with bad MagicCode - dropping connection. Illegal request has been received Check if the remote module works properly or the TCP connection is reliable. Possibly an illegal connection was made up.
92 ERR/CEA Received ... bytes of illegible request(SMS) on TCP connection #... - dropping connection. Illegal request has been received Check if the remote module works properly or the TCP connection is reliable. Possibly an illegal connection was made up.
92 ERR/CEA Received request(SMS) on TCP connection #... with bad MagicCode - dropping connection. Illegal request has been received Check if the remote module works properly or the TCP connection is reliable. Possibly an illegal connection was made up.
92 ERR/CEA TCP connection #... closed by the remote side. Only if INI/[RemoteRequest]/bSuppressDisconnectTrap=False
When the remote module shuts the connection down
 
92 ERR/CEA TCP connection #... closed by operator. Only if INI/[RemoteRequest]/bSuppressDisconnectTrap=False
When the operator disconnects using Disconnect this connection menuitem
 
93 WAR Answer (for [[OPERATION_CODE]] [MSISDN]) timed-out on TCP connection #... No CEA is related
When an answer does not arrive or arrive later than INI/[SS7 Advanced]/dwRequestValiditySec
Check parameters of the request
94 WAR Received an unexpected MSU, or its format is unknown. Badly formatted MSU or the of the arrived MSU is not recognized Check if the MSU traffic directed to this device is formatted properly
95 CRI No more TCP connections are available. No CEA is related
More than INI/[SS7 Advanced]/wMaxConcurrentConnectionCount connection try to be established
Increase value of that configuration entry
If bAlternateTrapUID is set to FALSE
0 INF 'Sga-SS7/L4 v1.07' module is started. Send a welcome message; indication of module start-up  
0 WAR 'Sga-SS7/L4 v1.07' module has been shut down by operator. Send a farewell warning message; indication of module shut-down Start the 'Sga-SS7/L4 v1.07' module
0 INF SS7(A/B)/MTP2 connection is up. Connection A/B is up for the very first time; subsequent ones are indicated with the corresponding CEA  
++N CRI SS7(A/B)/MTP2 connection has died. Connection A/B is down; indicating MTP problem at either end Check the SS7 connection
++N CRI SS7(A/B)/MTP2 connection has died. (operator) Connection A/B is down; operator cut the line at MTP level Try to set MTP2 auto-connecting to be true to enable the connection ([SS7]/(A|B): Allow MTP2 auto-connecting menuitem)
++N CRI SS7(A/B)/MTP2 connection has died. (PCM also) Connection A/B is down; indicating PCM problem Check that PCM connections are correct
++N CEA SS7(A/B)/MTP2 connection has died. When connection A/B is up after a down  
0 INF TCP connection #... is up. Given TCP connection is up for the very first time; subsequent ones are indicated with the corresponding CEA  
++N ERR TCP connection #... closed by the remote side. Given TCP connection is down; other side closed the connection  
++N ERR TCP connection #... closed by operator. Given TCP connection is down; operator closed the connection  
N CEA TCP connection #... closed. TCP connection #... is up after a down  
++N CRI No more TCP connections are available. All available connections have already been in use; a new one has just been refused Check and increase value of INI/[SS7 Advanced]/wMaxConcurrentConnectionCount entry
++N ERR Received ... bytes of illegible request on TCP connection #... - dropping connection. Illegal request has been received Check if the remote module works properly or the TCP connection is reliable. Possibly an illegal connection was made up.
++N WAR Answer (for [[OPERATION_CODE]] [MSISDN]) timed-out on TCP connection #.... TCAP dialog with MAP operation has not finished within the time-out interval (INI/[SS7 Advanced]/dwRequestValiditySec) Check parameters of the message

Version history