TSP Lab Sga-PSLquery - The Provide Subscriber Location query module Sga-PSLquery

The Provide Subscriber Location query module
("Sga-PSLquery")

Table of Contents

Features

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 occurrence of text in log window
  Details   Detail level of logging (Off, Normal, Detailed, or Debug)
[Client connections]
  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 () Allows automatic scrolling of the log screen
  Show log (Ctrl-Tab) Show the log screen
  Show connections (Ctrl-Tab) Show the connection screen
  Save settings   Saves actual settings into the configuration (Sga-PSLquery.ini) file

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
  Reply "Software malfunctioning"   Sends an error to the client
  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)

Logging

The module creates daily logfiles about its working. The name of the logfile is "Modulename_YYYYMMDD.log" reflecting the day when it is created.
The module can write information into the logfile and onto the screen with several detail levels set by the [Log]/Details menu item. The logging level can be: Status line counters are logged in every fifteen minutes irrespectively of logging level actually set.

The different colors of log entries have different meanings:

Code Color Usage
0 Black Compact data record
1 Red Errors
2 Green Open/close output file/stream
3 Blue Open/close input file/stream
4 Yellow Warnings
5 Light Gray Detailed data (debug info)
6 Dark Grey Detailed data (user info)
7 Purple Operator intervention;
Errors with emphasis

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!)
[SS7]
  sLocalGT 36609998080 SCCP/CallingPartyAddressGT in MAP/PSL_Inv messages
[SS7 over GyX] Settings for GyX connection
  sRemoteIPAddress 127.0.0.3 IP address of GyX_SCTP module
  wRemoteTCPPort 9068 TCP port of GyX_SCTP
  wConnectRetryDelaySec 3 Period of attempts to reconnect
[Client Connections] Settings for ESR-Logic connection
  byMaxConcurrentConnectionCount 4 Maximum number of allowed clients
  wLocalTCPPort 3000 Port number, where the remote modules can connect
  127.0.0.1 Allowed Client with this IP address can connect to the Sga-PSLquery module This section may contain more 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.
[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
  sSS7FilesPath d:\SS7Files If this entry has a valid path then the application saves sent and received SS7 messages into a special message file (*.dsp) which can be viewed with "Sga7w" protocol decoder. This option is useful during the installing/testing process, in normal operation is not needed. To turn off this option the path should be deleted (set "sSS7FilesPath=").
  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)

SNMP trap list

UID Type Text Remarks To Do
If bAlternateTrapUID is set to TRUE
9 CEA 'Sga-PSLquery v0.91' module is started. Send a welcome message; indication of module start-up  
9 CRI 'Sga-PSLquery v0.92' module has been shut down by operator. Send a farewell warning message; indication of module shut-down Start the 'Sga-PSLquery' module
0 INF GyX: Connection to remote module established. Connection to GyX module is established for the first time  
99 CEA GyX: Connection to remote module established.    
99 CRI GyX: Connection to remote module is lost.   Check the state of GyX module.
If bAlternateTrapUID is set to FALSE
0 INF 'Sga-PSLquery v0.91' module is started. Send a welcome message; indication of module start-up  
0 WAR 'Sga-PSLquery v0.91' module has been shut down by operator. Send a farewell warning message; indication of module shut-down Start the 'Sga-PSLquery' module
0 INF GyX: Connection to remote module established. Connection to GyX module is established for the first time  
++N CRI GyX: Connection to remote module is lost.   Check the state of GyX module.
N CEA GyX: Connection to remote module established. When GyX connection is up after a disconnection  

Version history