TSP Lab Sga-SMS - The SMS Sender (via SMPP over TCP/IP) Sga-SMS

The SMS Sender module (SMPP version)
("SgaSMS")

Features

Basic operation

User interface

The main menu

Menu Menuitem Shortcut(s) Meaning
[Log]
  Find line containing... (Ctrl-F) Find text in log window
  Find next matching line (F3) Find next occurrence of text in log window
  Details   Detail level of logging (Off, Normal, Detailed, or Debug)
[SMSC]
  Check and load input queue (Ctrl-L, or left-side ) Allow periodical loading of INI/[Advanced]/sSMSPath
  Allow auto-connect to SMSC (Ctrl-S, or right-side ) Allow automatic (re-)connecting to the SMSC
  Process waiting SM requests (Ctrl+P, pr ) Send Short Messages that have been loaded in the waiting queue
  Unload SMSC waiting queue   Put all prefetched Short Messages back to INI/[Advanced]/sSMSPath
  Forget SMSC waiting queue   Simply forget all prefetched Short Messages
  Terminate all SMSC connections gracefully   Disconnect all SMSC connections in the normal way
  Abort all SMSC connections immediately (!!!BRUTAL!!!)   Disconnect all SMSC connections immediately by breaking low layer sockets
  test: 36309304049   Send a test Short Message to the application developer at +36309304049
[White list]
  Syntax-check list   Check syntax (but do not load) white list file at INI/[Advanced]/sWhiteListFile
  Reload list   Reload white list file at INI/[Advanced]/sWhiteListFile now
[Options]
  Auto scroll (ScrollLock, or ) Allow automatic scrolling of the log screen
  Show log (Ctrl-Tab) Show log screen
  Show SMSC queues (Ctrl-Tab) Show SMSC waiting queue and SMSC connection status window
  Save settings   Save actual settings into the configuration (INI) file

The popup menu of the SMSC waiting queue

Right-click on the SMSC waiting queue window to access this menu!
  Menuitem Shortcut(s) Meaning
  Unload this SMSC request   Put the highlighted (prefetched) Short Message back to INI/[Advanced]/sSMSPath
  Simply forget this SMSC request   Simply forget the highlighted (prefetched) Short Message

The popup menu of the SMSC connection status window

Right-click on the SMSC connection status window to access this menu!
  Menuitem Shortcut(s) Meaning
  Cancel request   (Not available in the SMPP-based version.)
  Terminate this connection gracefully   Disconnect the highlighted SMSC connection in the normal way
  Abort this connection immediately (!!!BRUTAL!!!)   Disconnect the highlighted SMSC connection immediately by breaking its low layer socket

The bottom status-line

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 corresponding menuitem!)
[SMSC]
  sConnectID1 MY_SMPP_1 SMPP ConnectID, for even (every second) connections (username)
  sConnectID2 MY_SMPP_2 SMPP ConnectID, for odd (every other) connections (username)
  sPassword1 1234567 SMPP connection password, for even (every second) connections
  sPassword2 7654321 SMPP connection password, for odd (every other) connections
  sConnectType1   SMPP ConnectionType, for even (every second) connections (system type)
  sConnectType2   SMPP ConnectionType, for odd (every other) connections (system type)
  sIPAddress1 111.222.33.44 SMSC IP Address, for even (every second) connections
  sIPAddress2 111.222.33.45 SMSC IP Address, for odd (every other) connections
  wTCPPort1 8000 SMSC TCP Port, for even (every second) connections
  wTCPPort2 8000 SMSC TCP Port, for odd (every other) connections
  bBindAsTransceiver1 True SMSC connections can be bound either as Transmitter or as Transceiver. "True" defines that even connections will be bound as Transceiver.
The default is "False" for compatibility reason and makes connections in Transmitter mode.
  bBindAsTransceiver2 True SMSC connections can be bound either as Transmitter or as Transceiver. "True" defines that odd connections will be bound as Transceiver.
The default is "False" for compatibility reason and makes connections in Transmitter mode.
  sLocalMSISDN1 9123456 ANumber (sender MSISDN) if left empty in input file, for even (every second) connections
  sLocalMSISDN2 9654321 ANumber (sender MSISDN) if left empty in input file, for odd (every other) connections
  byLocalNoA1 0x10 Defines the Type of Number (TON=1) and Numbering Plan Indicator (NPI=0) parameters for even connections
Format of the example is hexadecimal as the leading '0x' shows it.
'16' for this value means the same but in decimal format.
  byLocalNoA2 0x10 TON=1 and NPI=0 for every other connections
  bAllowAutoReadInput True (Refer to the corresponding menuitem!)
  dwSMSCMaxWaitingRequests 40 Size of the pre-fetch queue
  bAllowAutoConnect False (Refer to the corresponding menuitem!)
  wSMSCAutoConnectIntervalSec 4 Retry interval for SMPP connections, given in seconds
  wSMSCMaxConcurrentConnections 5 Number of simultaneous threads
  bSMSCProcessWaitingSMRequests False (Refer to the corresponding menuitem!)
  dwValidityPeriodSec 3600 Validity period for the short messages, given in seconds
  wSMSCTimeOutSec 5 An SMPP-level time-out is implemented: if the SMSC does not answer the Invoke message (the SMS submit request) within this configured interval (e.g., 5 seconds), then the sender module will abort and rebuild the connection.
  byTestSMS_NoA 0x91 Destination NoA for the periodic test SMS
  sTestSMS_MSISDN 36309123456 Destination MSISDN for the periodic test SMS; leave it empty for not sending any
[Simply Drop SMS For These Error Codes] Reconnection in case of failed Submit (SUBMIT_SM) is optional, based on the Error Code of returned Command Status value.
  3 Invalid Command ID If Error Code = 3 then there is no reconnection.
  20 Message Queue Full If Error Code = 20 then there is no reconnection.
[Advanced]
  wLogDetailLevel 3 (Equals to the listed order; refer to the corresponding menuitem!)
  dwMaxLinesInLogWindow 1000 Number of lines in the log window on screen
  sSMSPath d:\SMSFiles Path for the SMS files to be sent
  sSMSNOKPath d:\SMS_NOK Short messages, for which sending failed, can be stored in a this directory
Defaults to "" (empty string), which means not to store.
  sLogFilesPath d:\LogFiles Path for the LOG files
  sWhiteListFile c:\Sga-SMS\WhiteList.txt Path and filename for the White List file to be applied
  sTrapFilesPath d:\TrapFiles Path for the SNMP Trap files to be sent
  sCaption SMSC12 Instance 1 Alternative caption text for easy distinguishing amongst multiple instances of this module
  bRetryIfFailedDuringSending False Retry strategy if transmission fails during the actual sending

The white list feature

Periodic test SMS feature

SNMP Traps

Start-up (INF) trap

Built-in limitations

Version history

To-do list

Known bugs