Unable to send SMS via USB modem

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
dazhallt5
Posts: 30
Joined: Wed Aug 02, 2006 3:09 am
Location: Hull, UK

Post by dazhallt5 »

Hi Max

Thats done the Trick! Just receiving the 1 SMS now!!! Cheers

I am using v 6.42

I now have another slight problem... I have mutipul numbers that need to receive the SMS. Only the 1st number in the list are getting the message.

I have this setup as 2 seperate actions

sms number1
sms number2

I have also tried setting it as 1 action using a comma to seperate the number but neither number received the SMS?

number1, number2 also tried number1,number2

I tested via the SMS test, and i get the following results

send as follows Number1, Number2

Sending...
Com port open .. Ok
GSM modem initialization .. Ok
Error: Cannot send message to 'number1', 'number2'. GSM modem error. +CMS ERROR: 322 "Memory full" was returned on AT command: AT+CMGS=30>00010018817017377671C4F0871023532100F10CD4F29C0E6A97E7F3F0B90C
Com port close .. Ok
GSM modem deinitialization .. Ok

and Number1,Number2

Sending...
Com port open .. Ok
GSM modem initialization .. Ok
Error: Cannot send message to 'number1','number2'. GSM modem error. +CMS ERROR: 322 "Memory full" was returned on AT command: AT+CMGS=30>00010017817017377671C47008313215F200F10CD4F29C0E6A97E7F3F0B90C
Com port close .. Ok
GSM modem deinitialization .. Ok


Cheers Darren
SMSPaul
Posts: 12
Joined: Tue Dec 19, 2006 10:37 am
Location: Newbury, UK
Contact:

Post by SMSPaul »

dazhallt5 wrote:Hi Max

Thats done the Trick! Just receiving the 1 SMS now!!! Cheers

I am using v 6.42

I now have another slight problem... I have mutipul numbers that need to receive the SMS. Only the 1st number in the list are getting the message.

I have this setup as 2 seperate actions

sms number1
sms number2

I have also tried setting it as 1 action using a comma to seperate the number but neither number received the SMS?

number1, number2 also tried number1,number2

I tested via the SMS test, and i get the following results

send as follows Number1, Number2

Sending...
Com port open .. Ok
GSM modem initialization .. Ok
Error: Cannot send message to 'number1', 'number2'. GSM modem error. +CMS ERROR: 322 "Memory full" was returned on AT command: AT+CMGS=30>00010018817017377671C4F0871023532100F10CD4F29C0E6A97E7F3F0B90C
Com port close .. Ok
GSM modem deinitialization .. Ok

and Number1,Number2

Sending...
Com port open .. Ok
GSM modem initialization .. Ok
Error: Cannot send message to 'number1','number2'. GSM modem error. +CMS ERROR: 322 "Memory full" was returned on AT command: AT+CMGS=30>00010017817017377671C47008313215F200F10CD4F29C0E6A97E7F3F0B90C
Com port close .. Ok
GSM modem deinitialization .. Ok


Cheers Darren
Hi,

The modem has got filled up with all the unsent tests mesages.

You may wish to reset the modem via HyperTerminal (fully exit any other program accesing the modem).

AT+NDFT Loads the default configuration
Resets the configuration to the factory default.
The AT+NDFT comand resets all parameters and erases any stored mesages, resetting the modem to the factory state, which has the correct service centre numbers for UK use. It is not normally necessary to change any of these parameters, unless the modem is being used on a PABX or outside the UK.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

dazhallt5 wrote:I now have another slight problem... I have mutipul numbers that need to receive the SMS. Only the 1st number in the list are getting the message.
If you are trying to send SMS using "SMS Test" window, it really sends SMS to first recipient only. However, if SMS is sent by "Send SMS" action, it is possible to specify several numbers, separated by semicolon ;
Quote from the manual:
http://www.ks-soft.net/hostmon.eng/mfra ... htm#actSMS
==============
Destination phone
Provide phone number to which the message should be sent. More than one recipients separating with a semicolon ( ; ). For example "+12063979723;+1555204090".
==============

Regards,
Max
dazhallt5
Posts: 30
Joined: Wed Aug 02, 2006 3:09 am
Location: Hull, UK

Post by dazhallt5 »

Hi,

I've tried setting modem back to default as Paul suggested and also set the numbers up with a semicolon separating them and still only the 1st number is receiving the SMS.

Any other ideas?

Cheers Darren
SMSPaul
Posts: 12
Joined: Tue Dec 19, 2006 10:37 am
Location: Newbury, UK
Contact:

Post by SMSPaul »

dazhallt5 wrote:Hi,

I've tried setting modem back to default as Paul suggested and also set the numbers up with a semicolon separating them and still only the 1st number is receiving the SMS.

Any other ideas?

Cheers Darren
Can you post the log
dazhallt5
Posts: 30
Joined: Wed Aug 02, 2006 3:09 am
Location: Hull, UK

Post by dazhallt5 »

Hi Paul,

I'm not sure how to create a log from the Send SMS action, the other log's I've been posting have been from the SMS Test. And i can use the semicolon in the SMS Test.

Max is it possible to generate a log from the Send SMS Action?

Cheers Darren
dazhallt5
Posts: 30
Joined: Wed Aug 02, 2006 3:09 am
Location: Hull, UK

Post by dazhallt5 »

Sorry forget that last post i've got the logs.....


[21/12/2006 12:36:20] Sys Message has been added to queue
[21/12/2006 12:36:20] Sys Message has been added to queue
[21/12/2006 12:36:20] Sys Com port open .. Ok
[21/12/2006 12:36:24] Sys GSM modem initialization .. Ok
[21/12/2006 12:36:32] Sys Error: Cannot send message to 'number1'. GSM modem error. No reply on AT command: AT+CMGS=138>0001000B817008313215F200F18ECDF27C1E3E974166F9BB0D42BEE7F4E6DB9DA6BFE50A05B53CA7834020900E14BBC95CB3982B0683B9648A66998E7E93752078DA7D06A1E8E976F95DA7835A20190C0603B5E729C5941EA6D7E7201DC8F90685DDF37B59AE2086E965100804D28164B1574CF692C16036504CA69BD9743298425A86B3F3201048075200
[21/12/2006 12:36:38] Sys Error: Cannot send message to 'nuimber2'. GSM modem error. No reply on AT command: AT+CMGS=138>0001000B817017377671F400F18ECDF27C1E3E974166F9BB0D42BEE7F4E6DB9DA6BFE50A05B53CA7834020900E14BBC95CB3982B0683B9648A66998E7E93752078DA7D06A1E8E976F95DA7835A20190C0603B5E729C5941EA6D7E7201DC8F90685DDF37B59AE2086E965100804D28164B1574CF692C16036504CA69BD9743298425A86B3F3201048075200
[21/12/2006 12:36:38] Sys Com port close .. Ok
[21/12/2006 12:36:38] Sys GSM modem deinitialization .. Ok

Cheers Darren
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

dazhallt5 wrote:Max is it possible to generate a log from the Send SMS Action?
The log, you have posted above is the only log. The same information you may find in system log (file is specified in "Options > System" log tab) in case the "Record info about successful actions" and "Record info about failed actions" options are enabled.

I am working on logging improvements. From the foregoing log, i can see that Host Monitor has sent two messages to the modem. Probably, you mistyped the second number? Or number is incorrect?

Paul, probably your software, that is supplied with modem, offers built-in logging functions? Is it possible to enable them?

Regards,
Max
SMSNigel
Posts: 5
Joined: Tue Dec 19, 2006 12:04 pm
Contact:

Post by SMSNigel »

Darren is getting exactly the same results as my own tests. I have verified that the +CMGS:xx is being sent by the Z-text, and appears to have been received by Host Monitor.

Is it possible that Host Monitor is looking for <CR>+CGMS: xx<CR> rather than just +CGMS: xx<CR> which is what the Z-text sends? I can't think of what else could be causing it to not be recognised.
probably your software, that is supplied with modem, offers built-in logging functions?
It does, but that isn't running when using Host Monitor. The USB driver doesn't have any logging capability. As mentioned previously, I have been using PortMon to log the communications.
dazhallt5
Posts: 30
Joined: Wed Aug 02, 2006 3:09 am
Location: Hull, UK

Post by dazhallt5 »

Hi,

Max, Just wanted to confirm that number I have entered are correct!.

Nigel, I don't really have any knowledge for the AT commands so I'll have the leave the inns and outs of all that to you and Max.

Cheers Darren
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

SMSNigel wrote:Is it possible that Host Monitor is looking for <CR>+CGMS: xx<CR> rather than just +CGMS: xx<CR> which is what the Z-text sends? I can't think of what else could be causing it to not be recognised.
"No reply on AT command" error appears when HostMonitor does not receive reply from modem within specified timeout.

Darren, Nigel, please, download the new version of KSGsmXLib.ocx and copy to HostMonitor folder. http://www.ks-soft.net/download/ksgsmxlib.zip
Please note: you should stop HostMonitor instance before copying.

Could you try the following:
- add registry key HKEY_LOCAL_MACHINE\SOFTWARE\KS-Soft\GSMX, set DefaultRetries DWORD value to 1 (should be already done)
- set DefaultRecTimeOut DWORD value to 20000
- restart HostMonitor and test SMS function

DefaultRecTimeOut is the timeout in ms used when the object is waiting for character receiving.

By default, HostMonitor uses 6000 ms timeout. You may try to increase timeout. Probably, 20000 ms should be enough. Could you try it?

Regards,
Max
dazhallt5
Posts: 30
Joined: Wed Aug 02, 2006 3:09 am
Location: Hull, UK

Post by dazhallt5 »

Hi Max,

I've done as you have requested but i've had no joy with the 2nd SMS still.

I aslo tried setting DefaultRecTimeOut DWORD value to 40000 and 60000, but still no joy?

Cheers Darren
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

dazhallt5 wrote:I've done as you have requested but i've had no joy with the 2nd SMS still.I aslo tried setting DefaultRecTimeOut DWORD value to 40000 and 60000, but still no joy?
It's a pity. It seems I need closely work with Nigel and Paul. Anyway, thank you for your help.

Regards,
Max
thomasschmeidl
Posts: 166
Joined: Sat Apr 15, 2006 2:14 pm
Location: Germany, Bavaria

Post by thomasschmeidl »

@dazhallt5,

Hi,

we have an SMS-Service running via clickatell.com. It uses the HTTP-Request-Action
(we started before the send-SMS-Action was introduced). It was set up within 30 mins,
you can send as many SMS to as many admins you want, it costs about 0,08€ per SMS and it works fine.

The only thing you cannot monitor is your internet access itself ;-)

If you are interested in more details, drop me a line.

Cheers

Thomas
dazhallt5
Posts: 30
Joined: Wed Aug 02, 2006 3:09 am
Location: Hull, UK

Post by dazhallt5 »

Hi Thomas,

I think this would be well worth looking into thanks whilst we are getting the z-text modem sorted out. Great to have this as a backup also.

I'll have a poke about with it but if you can point me in the right direction that would be great!.


Cheers Darren
Post Reply