KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Wavecom Fasttrack M1306B configuration

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
bmekler



Joined: 17 Apr 2012
Posts: 38

PostPosted: Sun May 13, 2012 6:04 am    Post subject: Wavecom Fasttrack M1306B configuration Reply with quote

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
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Mon May 14, 2012 1:29 am    Post subject: Reply with quote

CMS ERROR 513 means receiving of an acknowledgement timed out or radio link is lost.
Also, such error can be caused by phone number, specified in local format.
Could you try to use international format for destination phone number like +160....... ?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bmekler



Joined: 17 Apr 2012
Posts: 38

PostPosted: Mon May 14, 2012 2:29 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Mon May 14, 2012 7:15 am    Post subject: Reply with quote

In first post, you tried to use empty PIN. Is it disabled on modem ?
If yes, then please specify PIN 1111
Also, please provide all settings for GSM modem that you have specified on SMS: GSM page of HostMonitor Options dialog: Com Port, Baud rate, Modem Type, Mode, PIN, Service Center.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bmekler



Joined: 17 Apr 2012
Posts: 38

PostPosted: Mon May 14, 2012 10:48 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Mon May 14, 2012 1:32 pm    Post subject: Reply with quote

Quote:
AT+CMGS="+972501234567"

Quote:
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

Could you please specify correct destination number, as I can see, you are trying to send SMS to Service Center number.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bmekler



Joined: 17 Apr 2012
Posts: 38

PostPosted: Mon May 14, 2012 11:08 pm    Post subject: Reply with quote

Ah, I missed the significance of that, since I never had to specify it with IPSentry. I set the service center number to +972521100059 (Cellcom Israel) and it started working.
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Tue May 15, 2012 6:57 am    Post subject: Reply with quote

Great
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index