We're looking to migrate our monitoring from RGE IPSentry to Advanced HostMonitor. Everything in our evaluation is working fine, except one thing - the SMS alerting.
We're using a Wavecom Fasttrack M1306B modem to send SMS alerts. Right now, IPSentry is using the following settings:
Destination Type: Text via SMS/TAP - (Cell, Pager, PDA, etc...)
TAP terminal #: phone number (ex. 0501234567 where 050 is operator prefix)
SMS Device #: (empty)
Pzssword (if required): (empty)
Connect timeout: 45 sec
Error retry count: 0
Com port: 3
Speed (bps): 115200
Settings: N81
Dial command: AT+CMGS=
Modem init: AT+CMGF=1
Custom script (for non TAP providers):
SEND "<MODEMINIT><CR>"
WAITFOR 1 "ok"
SEND "<DIALSTRING><DIALNUMBER><CR>"
WAITQUIET 1
SEND "<MESSAGETEXT><CR>"
WAITQUIET 1
send “<\026><CR>”
QUIT
-------------------------
This setup works, and has worked for many years. However, when I try to replicate it in HostMonitor, it fails to send anything. HostMonitor settings are as follows:
Com Port: Com3
Baud rate: 115200
Modem Type: Wavecom Fasttrack
Mode: Text
PIN: (empty)
Service Center: 0501234567
Attempting to send returns the following message:
Sending...
Error: Cannot send SMS. Primary GSM account is not specified
If I put '0000' into PIN, then I get the following:
Sending...
Com port open .. Ok
GSM modem initialization .. Ok
Error: Cannot send message to 0508122702. GSM modem error. ERROR was returned on AT command: AT+CMGS="0508122702",129>Test message
Com port close .. Ok
GSM modem deinitialization .. Ok
I found a link to GSMCenter.exe in another thread and tried to test with it, receiving the following result:
13/05/2012 14:49:04: ATE1
13/05/2012 14:49:04: OK
13/05/2012 14:49:04: AT+WIND=12
13/05/2012 14:49:04: OK
13/05/2012 14:49:04: AT+CPIN?
13/05/2012 14:49:04: +CPIN: READY
13/05/2012 14:49:04: AT+CREG?
13/05/2012 14:49:04: +CREG: 1,1
13/05/2012 14:49:04:
13/05/2012 14:49:04: OK
13/05/2012 14:49:05: AT+CREG=1
13/05/2012 14:49:05: OK
13/05/2012 14:49:05:
13/05/2012 14:49:05: +CREG: 1
13/05/2012 14:49:05: AT+CPMS?
13/05/2012 14:49:05: +CPMS: "SM",0,30,"SM",0,30
13/05/2012 14:49:05:
13/05/2012 14:49:05: OK
13/05/2012 14:49:05: AT+CSMS?
13/05/2012 14:49:05: +CSMS: 0,1,1,1
13/05/2012 14:49:05:
13/05/2012 14:49:05: OK
13/05/2012 14:49:05: AT+CSCA="0501234567"
13/05/2012 14:49:05: OK
13/05/2012 14:49:05: AT+CMGF=1
13/05/2012 14:49:05: OK
13/05/2012 14:49:05: AT+CSDH=1
13/05/2012 14:49:05: OK
13/05/2012 14:49:06: AT+CNMI=?
13/05/2012 14:49:06: +CNMI: (0-3),(0-3),(0-3),(0-2),(0,1)
13/05/2012 14:49:06:
13/05/2012 14:49:06: OK
13/05/2012 14:49:06: AT+CNMI?
13/05/2012 14:49:06: +CNMI: 2,1,0,2,1
13/05/2012 14:49:06:
13/05/2012 14:49:06: OK
13/05/2012 14:49:06: AT+CNMI=2,2,2,1,1
13/05/2012 14:49:06: OK
13/05/2012 14:49:06: AT+CMGL="ALL"
13/05/2012 14:49:06: OK
13/05/2012 14:49:06: AT+CGMI
13/05/2012 14:49:06: WAVECOM MODEM
13/05/2012 14:49:06:
13/05/2012 14:49:06: OK
13/05/2012 14:49:06: AT+CGMM
13/05/2012 14:49:06: MULTIBAND 900E 1800
13/05/2012 14:49:06:
13/05/2012 14:49:06: OK
13/05/2012 14:49:07: AT+CGMR
13/05/2012 14:49:07: 641b09gg.Q2406B 1339080 041604 16:04
13/05/2012 14:49:07:
13/05/2012 14:49:07: OK
13/05/2012 14:49:07: AT+CGSN
13/05/2012 14:49:07: 354056000709521
13/05/2012 14:49:07:
13/05/2012 14:49:07: OK
13/05/2012 14:49:07: AT+CSMP=1,,0,240
13/05/2012 14:49:07: OK
13/05/2012 14:49:07: AT+CMGS="0501234567"
13/05/2012 14:49:10: > First Test-Message
13/05/2012 14:49:10: ERROR
13/05/2012 14:49:10: AT+CMGS="0501234567"
13/05/2012 14:49:13: > First Test-Message
13/05/2012 14:49:13: ERROR
Is there anything that can be done?
Edit: after rebooting the host and power cycling the modem, I now get a somewhat more detailed error when trying to send:
Sending...
Com port open .. Ok
GSM modem initialization .. Ok
Error: Cannot send message to 0508122702. GSM modem error. +CMS ERROR: 513 "unable to store" was returned on AT command: AT+CMGS="0508122702",129>Test message
Com port close .. Ok
GSM modem deinitialization .. Ok
GSMCentral returns the following:
13/05/2012 16:28:55: ATE1
13/05/2012 16:28:55: OK
13/05/2012 16:28:55: AT+WIND=12
13/05/2012 16:28:55: OK
13/05/2012 16:28:56: AT+CPIN?
13/05/2012 16:28:56: +CPIN: READY
13/05/2012 16:28:56: AT+CREG?
13/05/2012 16:28:56: +CREG: 1,1
13/05/2012 16:28:56:
13/05/2012 16:28:56: OK
13/05/2012 16:28:56: AT+CREG=1
13/05/2012 16:28:56: OK
13/05/2012 16:28:56:
13/05/2012 16:28:56: +CREG: 1
13/05/2012 16:28:56: AT+CPMS?
13/05/2012 16:28:56: +CPMS: "SM",0,30,"SM",0,30
13/05/2012 16:28:56:
13/05/2012 16:28:56: OK
13/05/2012 16:28:56: AT+CSMS?
13/05/2012 16:28:56: +CSMS: 0,1,1,1
13/05/2012 16:28:56:
13/05/2012 16:28:56: OK
13/05/2012 16:28:56: AT+CSCA="0501234567"
13/05/2012 16:28:56: OK
13/05/2012 16:28:57: AT+CMGF=1
13/05/2012 16:28:57: OK
13/05/2012 16:28:57: AT+CSDH=1
13/05/2012 16:28:57: OK
13/05/2012 16:28:57: AT+CNMI=?
13/05/2012 16:28:57: +CNMI: (0-3),(0-3),(0-3),(0-2),(0,1)
13/05/2012 16:28:57:
13/05/2012 16:28:57: OK
13/05/2012 16:28:57: AT+CNMI?
13/05/2012 16:28:57: +CNMI: 2,2,2,1,1
13/05/2012 16:28:57:
13/05/2012 16:28:57: OK
13/05/2012 16:28:57: AT+CNMI=2,2,2,1,1
13/05/2012 16:28:57: OK
13/05/2012 16:28:57: AT+CMGL="ALL"
13/05/2012 16:28:57: OK
13/05/2012 16:28:58: AT+CGMI
13/05/2012 16:28:58: WAVECOM MODEM
13/05/2012 16:28:58:
13/05/2012 16:28:58: OK
13/05/2012 16:28:58: AT+CGMM
13/05/2012 16:28:58: MULTIBAND 900E 1800
13/05/2012 16:28:58:
13/05/2012 16:28:58: OK
13/05/2012 16:28:58: AT+CGMR
13/05/2012 16:28:58: 641b09gg.Q2406B 1339080 041604 16:04
13/05/2012 16:28:58:
13/05/2012 16:28:58: OK
13/05/2012 16:28:58: AT+CGSN
13/05/2012 16:28:58: 354056000709521
13/05/2012 16:28:58:
13/05/2012 16:28:58: OK
13/05/2012 16:29:02: AT+CSMP=1,,0,240
13/05/2012 16:29:02: OK
13/05/2012 16:29:02: AT+CMGS="0501234567"
13/05/2012 16:29:04: > First Test-Message
13/05/2012 16:29:05: +CMS ERROR: 513
13/05/2012 16:29:05: AT+CMGS="0501234567"
13/05/2012 16:29:08: > First Test-Message
13/05/2012 16:29:08: +CMS ERROR: 513
Wavecom Fasttrack M1306B configuration
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Same error.
14/05/2012 11:26:37: ATE1
14/05/2012 11:26:37: OK
14/05/2012 11:26:37: AT+WIND=12
14/05/2012 11:26:37: OK
14/05/2012 11:26:37: AT+CPIN?
14/05/2012 11:26:37: +CPIN: READY
14/05/2012 11:26:38: AT+CREG?
14/05/2012 11:26:38: +CREG: 1,1
14/05/2012 11:26:38:
14/05/2012 11:26:38: OK
14/05/2012 11:26:38: AT+CREG=1
14/05/2012 11:26:38: OK
14/05/2012 11:26:38:
14/05/2012 11:26:38: +CREG: 1
14/05/2012 11:26:38: AT+CPMS?
14/05/2012 11:26:38: +CPMS: "SM",0,30,"SM",0,30
14/05/2012 11:26:38:
14/05/2012 11:26:38: OK
14/05/2012 11:26:38: AT+CSMS?
14/05/2012 11:26:38: +CSMS: 0,1,1,1
14/05/2012 11:26:38:
14/05/2012 11:26:38: OK
14/05/2012 11:26:38: AT+CSCA="+972501234567"
14/05/2012 11:26:38: OK
14/05/2012 11:26:38: AT+CMGF=1
14/05/2012 11:26:38: OK
14/05/2012 11:26:39: AT+CSDH=1
14/05/2012 11:26:39: OK
14/05/2012 11:26:39: AT+CNMI=?
14/05/2012 11:26:39: +CNMI: (0-3),(0-3),(0-3),(0-2),(0,1)
14/05/2012 11:26:39:
14/05/2012 11:26:39: OK
14/05/2012 11:26:39: AT+CNMI?
14/05/2012 11:26:39: +CNMI: 0,1,0,0,0
14/05/2012 11:26:39:
14/05/2012 11:26:39: OK
14/05/2012 11:26:39: AT+CNMI=2,2,2,1,1
14/05/2012 11:26:39: OK
14/05/2012 11:26:39: AT+CMGL="ALL"
14/05/2012 11:26:39: OK
14/05/2012 11:26:39: AT+CGMI
14/05/2012 11:26:39: WAVECOM MODEM
14/05/2012 11:26:39:
14/05/2012 11:26:39: OK
14/05/2012 11:26:40: AT+CGMM
14/05/2012 11:26:40: MULTIBAND 900E 1800
14/05/2012 11:26:40:
14/05/2012 11:26:40: OK
14/05/2012 11:26:40: AT+CGMR
14/05/2012 11:26:40: 641b09gg.Q2406B 1339080 041604 16:04
14/05/2012 11:26:40:
14/05/2012 11:26:40: OK
14/05/2012 11:26:40: AT+CGSN
14/05/2012 11:26:40: 354056000709521
14/05/2012 11:26:40:
14/05/2012 11:26:40: OK
14/05/2012 11:26:59: AT+CSMP=1,,0,240
14/05/2012 11:26:59: OK
14/05/2012 11:26:59: AT+CMGS="+972501234567"
14/05/2012 11:27:02: > First Test-Message
14/05/2012 11:27:02: +CMS ERROR: 513
14/05/2012 11:27:03: AT+CMGS="+972501234567"
14/05/2012 11:27:05: > First Test-Message
14/05/2012 11:27:05: +CMS ERROR: 513
14/05/2012 11:26:37: ATE1
14/05/2012 11:26:37: OK
14/05/2012 11:26:37: AT+WIND=12
14/05/2012 11:26:37: OK
14/05/2012 11:26:37: AT+CPIN?
14/05/2012 11:26:37: +CPIN: READY
14/05/2012 11:26:38: AT+CREG?
14/05/2012 11:26:38: +CREG: 1,1
14/05/2012 11:26:38:
14/05/2012 11:26:38: OK
14/05/2012 11:26:38: AT+CREG=1
14/05/2012 11:26:38: OK
14/05/2012 11:26:38:
14/05/2012 11:26:38: +CREG: 1
14/05/2012 11:26:38: AT+CPMS?
14/05/2012 11:26:38: +CPMS: "SM",0,30,"SM",0,30
14/05/2012 11:26:38:
14/05/2012 11:26:38: OK
14/05/2012 11:26:38: AT+CSMS?
14/05/2012 11:26:38: +CSMS: 0,1,1,1
14/05/2012 11:26:38:
14/05/2012 11:26:38: OK
14/05/2012 11:26:38: AT+CSCA="+972501234567"
14/05/2012 11:26:38: OK
14/05/2012 11:26:38: AT+CMGF=1
14/05/2012 11:26:38: OK
14/05/2012 11:26:39: AT+CSDH=1
14/05/2012 11:26:39: OK
14/05/2012 11:26:39: AT+CNMI=?
14/05/2012 11:26:39: +CNMI: (0-3),(0-3),(0-3),(0-2),(0,1)
14/05/2012 11:26:39:
14/05/2012 11:26:39: OK
14/05/2012 11:26:39: AT+CNMI?
14/05/2012 11:26:39: +CNMI: 0,1,0,0,0
14/05/2012 11:26:39:
14/05/2012 11:26:39: OK
14/05/2012 11:26:39: AT+CNMI=2,2,2,1,1
14/05/2012 11:26:39: OK
14/05/2012 11:26:39: AT+CMGL="ALL"
14/05/2012 11:26:39: OK
14/05/2012 11:26:39: AT+CGMI
14/05/2012 11:26:39: WAVECOM MODEM
14/05/2012 11:26:39:
14/05/2012 11:26:39: OK
14/05/2012 11:26:40: AT+CGMM
14/05/2012 11:26:40: MULTIBAND 900E 1800
14/05/2012 11:26:40:
14/05/2012 11:26:40: OK
14/05/2012 11:26:40: AT+CGMR
14/05/2012 11:26:40: 641b09gg.Q2406B 1339080 041604 16:04
14/05/2012 11:26:40:
14/05/2012 11:26:40: OK
14/05/2012 11:26:40: AT+CGSN
14/05/2012 11:26:40: 354056000709521
14/05/2012 11:26:40:
14/05/2012 11:26:40: OK
14/05/2012 11:26:59: AT+CSMP=1,,0,240
14/05/2012 11:26:59: OK
14/05/2012 11:26:59: AT+CMGS="+972501234567"
14/05/2012 11:27:02: > First Test-Message
14/05/2012 11:27:02: +CMS ERROR: 513
14/05/2012 11:27:03: AT+CMGS="+972501234567"
14/05/2012 11:27:05: > First Test-Message
14/05/2012 11:27:05: +CMS ERROR: 513
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Tried using PIN 1111, same result:
Sending...
Com port open .. Ok
GSM modem initialization .. Ok
Error: Cannot send message to +972501234567. GSM modem error. +CMS ERROR: 513 "unable to store" was returned on AT command: AT+CMGS="+972501234567",145>Test message
Com port close .. Ok
GSM modem deinitialization .. Ok
Tried using local number format, same:
Sending...
Com port open .. Ok
GSM modem initialization .. Ok
Error: Cannot send message to 0501234567. GSM modem error. +CMS ERROR: 513 "unable to store" was returned on AT command: AT+CMGS="0501234567",129>Test message
Com port close .. Ok
GSM modem deinitialization .. Ok
Com port: 3
Baud rate: 115200
Modem type: Wavecom Fasttrack
Mode: Text
PIN: 1111
Service Center: +972501234567
I tried using 19200 for baud rate, but that simply resulted in inability to communicate with the modem.
Sending...
Com port open .. Ok
GSM modem initialization .. Ok
Error: Cannot send message to +972501234567. GSM modem error. +CMS ERROR: 513 "unable to store" was returned on AT command: AT+CMGS="+972501234567",145>Test message
Com port close .. Ok
GSM modem deinitialization .. Ok
Tried using local number format, same:
Sending...
Com port open .. Ok
GSM modem initialization .. Ok
Error: Cannot send message to 0501234567. GSM modem error. +CMS ERROR: 513 "unable to store" was returned on AT command: AT+CMGS="0501234567",129>Test message
Com port close .. Ok
GSM modem deinitialization .. Ok
Com port: 3
Baud rate: 115200
Modem type: Wavecom Fasttrack
Mode: Text
PIN: 1111
Service Center: +972501234567
I tried using 19200 for baud rate, but that simply resulted in inability to communicate with the modem.
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
AT+CMGS="+972501234567"
Could you please specify correct destination number, as I can see, you are trying to send SMS to Service Center number.Error: Cannot send message to +972501234567. GSM modem error. +CMS ERROR: 513 "unable to store" was returned on AT command: AT+CMGS="+972501234567",145>Test message
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact: