Send SMS with UbiNetics PCMCIA G

vwktaivwktai
I got a trouble on using the UbiNetics PCMCIA GSM modem to send a sms’s alert from ServersCheck 7.10.1 trial. Both testing under SMS General settings and GSMmodem_tester.exe are success to send out a SMS message, but it was failure on send under the alert occurred and alert_sms.exe /debug.



smscommand.ini

[Provider]

Protocol=TAP

SmsCenterNumber=+xxxxxxx

CommSettings=8,n,1

BaudRate=19200

OpType=30

TextLength=160

Id=7



[Modem]

Port=4

ConnectionTimeout=60



[Options]

EventLog=Y





And log from alert_sms.exe /debug



18/4/2008 15:17:16 License file is valid

18/4/2008 15:17:16 PROFESSIONAL VERSION - Registered to : serverscheck

18/4/2008 15:17:16 Sms Number : xxxxx

18/4/2008 15:17:16 Sms Message : testingServersCheck

18/4/2008 15:17:17

18/4/2008 15:17:17 Using the following configuration settings:

18/4/2008 15:17:17 Provider Id : 7

18/4/2008 15:17:17 Protocol : TAP

18/4/2008 15:17:17 SmsCenterNumber : +85290288000

18/4/2008 15:17:17 OpType : 30

18/4/2008 15:17:17 CommSettings : 8,n,1

18/4/2008 15:17:17 BaudRate : 19200

18/4/2008 15:17:17 TextLength : 160

18/4/2008 15:17:17 Port : 4

18/4/2008 15:17:17 ConnectionTimeout : 60

18/4/2008 15:17:17

18/4/2008 15:17:17 Initializing modem.

18/4/2008 15:17:17 Dialing sms center (+85290288000)

18/4/2008 15:17:20 Sending : ATDT85290288000<CR>

18/4/2008 15:17:20 Comm Event: Sending data

18/4/2008 15:17:20 Comm Event: Receiving data

18/4/2008 15:17:20 Received : <CR>

Error: [523] Connection timed out. No response from Modem. Make sure you've selected the right com port.



Any help would be greatly appreciated.



Tanks,

Vincent

Comments

  • AdministratorAdministrator
    The alert_sms component is no longer used since release 7



    Run the s-alerts.exe in debug mode as per following knowledge base article and simulate a failure triggering a SMS alert.

    http://kb.serverscheck.com/index.php?page=index_v2&id=42&c=6





    Please note that GSM modems are opened exclusively by one application at the time. Make sure that the GSM_modem tester is not running.
  • vwktaivwktai
    I did follow the procedure to create the debug.txt, but it did no create any log when I repeat simulate the sms alert.



    #

    #

    # ServersCheck Alerting & Notification Component

    # version 7.8.8

    #

    #

    # (c) Copyright 2003-2007 - ServersCheck BVBA

    # www.serverscheck.com

    #

    # IP address: 10.103.12.164

    #

    #



    Thanks

    Vincent
  • AdministratorAdministrator
    How did you simulate a SMS alert? You should do it by defining a number in the DOWN alert option and then have a rule fail.
  • vwktaivwktai
    I was captured the s-alerts screen.



    image
  • AdministratorAdministrator
    Can you confirm that the GSM_modem_tester or any other app using the GSM modem is not running?



    COM4 port seems not to respond to the SMS alert.
  • vwktaivwktai
    But testing under SMS General settings was success, only fail in s-alerts.exe. Does any different between each of them.
  • AdministratorAdministrator
    Stop the 2 ServersCheck services and then try running the s-alerts again in debug mode.



    Can you also confirm that the PIN code has been deactivated for the SIM card?
  • vwktaivwktai
    No luck, I got same result as last time I post.
  • AdministratorAdministrator
    Can you also confirm that the PIN code has been deactivated for the SIM card?


  • vwktaivwktai
    Does PIN code means SIM password? I havn't set any password on the sim card.
  • AdministratorAdministrator
    PIN Code is same as SIM password. The password is set by default when purchasing a SIM card and has to be deactivated.
This discussion has been closed.