TSP Lab SgaWC_SS7 - The 'Who Called' Module SgaWC_SS7

The 'Who Called' module for SS7
("SgaWC_SS7")

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)
[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 from the MSC
  A: Send BLO for all speech channels   Blocks all speech channels on PCM 'A' by sending 'Blocking circuit' message
  A: Send RSC for all speech channels   Resets all speech channels on PCM 'A' by sending 'Reset circuit' message
  A: Send UBL for all speech channels   Unblocks speech channels on PCM '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 from the MSC
  B: Send BLO for all speech channels   Blocks all speech channels on PCM 'B' by sending 'Blocking circuit' message
  B: Send RSC for all speech channels   Resets all speech channels on PCM 'B' by sending 'Reset circuit' message
  B: Send UBL for all speech channels   Unblocks speech channels on PCM 'B'
  X: Send BLO for all speech channels   Blocks all virtual speech channels
  X: Send RSC for all speech channels   Resets all virtual speech channels
  X: Send UBL for all speech channels   Unblocks all virtual speech channels'
[BlackLists]
  Reload Content Ctrl+B Reloads blacklist files
[MSISDN Memory]
  Drop contents   All MSISDN pairs will be deleted
  Dump contents   List all MSISDN pairs into the log.
Be careful with it, logging onto screen is very resource consuming!
[Options]
  Auto scroll (ScrollLock, or ) Allows automatic scrolling of the log screen
  Flush counters   Logs the status bar counters into the log and onto the screen
  Flush & reset counters   Logs the status bar counters and clear them
  Save settings   Saves actual settings into the configuration (SgaWC_SS7.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

The bottom status-line

Black list feature

An example

        [BlackList - WCBusy]
        3620=PGSM subscribers are banned

        ; it is a short remark here
        363093040
        36309304056 = this is my phone
        363093040491

        363156789012345678901234567890=abcdefghijklmnopqrstuvwxyz
        3670=VRAM is also banned
        363156789012345678901234567890 = This is the very same as the one two lines above.

Statistics

Statistics reports are concatenated in every quarter hour to a daily CSV file with the naming convention "SgaWC_SS7_Stat_YYYYMMDD.csv" residing in the directory referred by INI/[Advanced]/sStatFilesPath. Statistics data represent the actual value of the particular counters incremented since software start-up. Hence hourly or daily statistics can simply be derived by focusing (grep'ing) onto the requested data.

Fields of statistics file:

Configuration (SgaWC_SS7.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 on the card
  sMTP2ObjectFile MTP2_47 v2.06 (+00 dB 120 Ohm).obj The file name of the firmware program
[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 True Enables MTP2 Emergency Startup option. Provides faster MTP2 establishing.
  bySS7ATimeSlot 1 SS7 signaling time slot on the PCM A
  bySS7BTimeSlot 1 SS7 signaling time slot on the PCM B
  wSS7LocalPointCode_NI2 130 Local SS7 point code for messages with national numbering (Network Indicator = 2)
  wSS7LocalPointCode_NI3 130 Local point code for messages with international numbering (Network Indicator = 3)
  szSS7LocalGT 38167100015 Global Title of this service centre, used as GT parameter in MAP messages sent to the HLR
  wSS7ARemotePointCode 8579 Point code of the remote system (MSC) what the SgaWC_SS7 connected to by PCM 'A'
  wSS7BRemotePointCode 8579 Point code of the remote system (MSC) what the SgaWC_SS7 connected to by PCM 'B'
  wSS7ACICOffset 0 Offset for circuit identifiers in the PCM 'A' when they have higher number than 31
  wSS7BCICOffset 32 Offset for CICs in the PCM 'B' when they have higher number than 31
  sMCC 36 Calling number from the IAM is prefixed with sMCC and then put into a reportSM_DeliveryReport message as MSISDN
  dwChannelSeizedTimeOut 2 A speech channel is released after this time (time between ACM and REL)
  byISUPCongestionReleaseCause 42 Release cause value in the REL messages (42 - Switching equipment congestion)
  sSS7FakeGT 38167100015 Used in ForwardSM/SM-RP-OA as SCAddressOA; should usually be the same as the value of sSS7LocalGT
  sInvisibleSMSFile C:\Sga-WhoCalled\SgaWC_InvisibleSMS.sms Loaded on-the-fly; applied in ForwardSM (except B-Number); defaults to c:\InvisibleSMS.sms
  bySS7smsSCTSTZ 0x40 TimeZone of ServiceCenter parameter (TP-Service-Centre-Time-Stamp) can be adjusted.
(0x40 means GMT+1 hour. The value is interpreted as specified in GSM 03.40; can be set either as decimal or hexadecimal, defaults to 0x00.)
  wThreadPeriod 100 Time period when idle threads are given CPU time slice (given in milliseconds)
[MSISDN Memory]
  dwCount 100000 Maximum number of existing MSISDN pairs for 'Not Reachable' case
  dwTimeOutSec 259200 Specifies a remembering time for 'Not Reachable' pairs in seconds. Pairs reaching this time will be forgotten.
  sBackupFile c:\SgaWC_MSISDNMemoryBackupFile.bin "MSISDN Memory" is saved at exit, and can optionally be reloaded at next start-up.
  byAutoloadBackupFile 2 Possible values are:
  • 0 - means never load the saved MSISDN memory at startup
  • 1 - means always load the saved MSISDN memory without asking
  • 2 - means that at startup a dialog box appears asking whether load the saved MSISDN number or not (default).
[BlackLists]
  dwMaxEntriesEach 50000 Each lists can contain at most 50000 entries
  sBLFileWCBusy C:\Sga-WhoCalled\SgaWC_SS7_BL_WCBusy.lst List for those people who do not allow a WhoCalled SMS sent while he/she is busy.
  sBLFileWCOther C:\Sga-WhoCalled\SgaWC_SS7_BL_WCOther.lst List for those people who do not allow a WhoCalled SMS sent while he/she is not reachable.
  sBLFileNotifyA C:\Sga-WhoCalled\SgaWC_SS7_BL_NotifyA.lst List for those people who do not allow a NotifyMe SMS sent when his/her called party becomes available again.
  sWLFileNotifyA C:\Sga-WhoCalled\SgaWC_SS7_WL_NotifyA.lst Exception for sBLFileNotifyA
  sBLFileNotifyB C:\Sga-WhoCalled\SgaWC_SS7_BL_NotifyB.lst List for those people who do not allow a NotifyMe SMS sent to others about his/her availability
  sRemoteRequestRemoteIPAddress 11.22.33.44 Accepts remote 'ReloadBlackLists' requests from the given IP address.
(Can hold numeric Internet address only; default: empty, which means no restriction).
  wRemoteRequestLocalUDPPort 1967 UDP port when the application listens to the reload requests. (Suggested value for operation: 1967; default: 0, which means off)
[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
  sSMSPath d:\SMSFiles Defines the paths for storing created short messages in SMS files.
  sLogFilesPath d:\LogFiles Path for the LOG files
  sStatFilesPath d:\StatFiles Path for statistics reports
  sTrapFilesPath d:\TrapFiles Path for the SNMP Trap files to be sent to the NMC/NOC
  bAlternateTrapUID False Allows using fixed UIDs in SNMP traps (See SNMP trap list below for details)
[TimeSlots_A] This section contains the list of timeslots defined as speech channels in PCM 'A'
  wTS#02 1 The 2nd timeslot is used as a speech channel.
[TimeSlots_B] This section contains the list of timeslots defined as speech channels in PCM 'B'
  wTS#03 1 The 3rd timeslot is used as a speech channel.
[TimeSlots_X] 'Virtual' timeslots can be defined with the pointcode where from messages can arrive and the list of the circuit identifiers
  200 1,17,29,34 Messages using speech channel 1 or 17 or 29 or 34 can arrive from PC=200
[SMS Templates] Here the SMSs can be preset which will be sent in the different cases
  sWCBusy "Dear +#B, you are busy. +#A called you #N time(s), last on #D; please call him/her back!" This text is put in the 'WhoCalled'SMS in 'Busy' cases
  sWCBusySenderMSISDN 36311234567 This field defines the sender of the SMS in Busy case. Sender can be numeric (normal MSISDN) or alphanumeric.
  byWCBusySenderNoA 0x91 The value from this entry is copied transparently into the Type-of-Address field(s) of the SMS PDU. Its value depends on what kind of sWCBusySenderMSISDN was set:
  • 0x91 if the sender is numeric,
  • 0xD0 if the sender is alphanumeric.
  sWCOther "Dear +#B, you are other. +#A called you #N time(s), last on #D; please call him/her back!" In other cases this text is sent to the unreachable subscriber
  sWCOtherSenderMSISDN 36311234567 This value will used as the sender of the SMS's in Other cases. Sender can be numeric (normal MSISDN) or alphanumeric.
  byWCOtherSenderNoA 0x91 The value from this entry is copied transparently into the Type-of-Address field(s) of the SMS PDU. Its value depends on what kind of sWCOtherSenderMSISDN was set:
  • 0x91 if the sender is numeric,
  • 0xD0 if the sender is alphanumeric.
  sNotify "Dear +#B, you've tried to reach #N time(s) +#A, who is on again. Try to call him/her now!" This notification SMS is transmitted to the subscriber who tried to reach another when he/she is as on again
  sNotifySenderMSISDN YourOperator This field defines the sender of the SMS in Notify cases. Sender can be numeric (normal MSISDN) or alphanumeric.
  byNotifySenderNoA 0xD0 The value from this entry is copied transparently into the Type-of-Address field(s) of the SMS PDU. Its value depends on what kind of sWCNotifySenderMSISDN was set:
  • 0x91 if the sender is numeric,
  • 0xD0 if the sender is alphanumeric.
  sDateTime "%A, day %d of %B in the year %Y" The date and time can be formatted by this entry put into the SMSs.
For details see the next section!

SMS-text templates

SNMP trap list

UID Type Text Remarks To Do
If bAlternateTrapUID is set to TRUE
9 CEA 'SGA - Who Called (SS7) v0.92' module is started. Sends a welcome message  
9 CRI 'SGA - Who Called (SS7) v0.92' module has been shut down by operator. Sends a farewell WARning message Start the 'SGA - Who Called (SS7) v0.92' module
90 CEA SS7(A)/MTP2 connection is up.    
90 CRI SS7(A)/MTP2 connection has died.   Check whether PCM connection is correct
90 CRI SS7(A)/MTP2 connection has died. (operator)   Check if PCM connection is correct
90 CRI SS7(A)/MTP2 connection has died. (PCM also)   Check if PCM connection is correct
91 CEA SS7(B)/MTP2 connection is up.    
91 CRI SS7(B)/MTP2 connection has died.   Check whether PCM connection is correct
91 CRI SS7(B)/MTP2 connection has died. (operator)   Check whether PCM connection is correct
91 CRI SS7(B)/MTP2 connection has died. (PCM also)   Check if PCM connection is correct
93 CRI Permanently could not open SMS files for writing. Tried to create SMS file 25 times, but all attempts failed Check if there are SMS file in the path defined in the configuration file
93 CRI Failed to create an(y) SMS file. Generating temporary file name for SMS file failed Check if the settings are correct in the SS7MSMS.INI configuration file or if there is the directory where the SMS files have to be placed
94 WAR Received an unexpected MSU, or its format is unknown.   An MSU with unknown parameters received. (Wrong PC, CIC, GT, OperationCode.) Check the SS7 configuration.
If bAlternateTrapUID is set to FALSE
0 INF 'SGA - Who Called (SS7) v0.92' module is started. Sends a welcome message  
0 WAR 'SGA - Who Called (SS7) v0.92' module has been shut down by operator. Sends a farewell WARning message Start the module
0 INF SS7(A/B)/MTP2 connection is up. When connection A/B is up first  
++N CRI SS7(A/B)/MTP2 connection has died.   Check if PCM connection is correct
++N CRI SS7(A/B)/MTP2 connection has died. (operator)   Check whether PCM connection is correct
++N CRI SS7(A/B)/MTP2 connection has died. (PCM also)   Check if PCM connection is correct
N CEA SS7(A/B)/MTP2 connection has died. When connection A/B is up after a down  
++N CRI Permanently could not open SMS files for writing. Tried to create SMS file 25 times, but all attempts failed Check if there are SMS file in the path defined in the configuration file
++N CRI Failed to create an(y) SMS file. Generating temporary file name for SMS file failed Check if the settings are correct in the SS7MSMS.INI configuration file or if there is the directory where the SMS files have to be placed


The Remote Client utility for reloading BlackLists
("SgaWC_UDP_LoadBlackList")

Features

Ways to reload black lists

There are two ways to reach the remote 'ReloadBlackLists' feature:

Configuration (SgaWC_UDP_LoadBlackList.ini) file settings

Section Entry Example Meaning
[Advanced]
  sRemoteIPAddress 10.22.33.45 IP address of the machine where the Sga-WhoCalled application is running on.
  wRemoteUDPPort 1967 Communication port where the reload request are sent to.