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

SMS send (not a valid integer value)

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Bug reports
View previous topic :: View next topic  
Author Message
anton-hm



Joined: 06 Apr 2010
Posts: 4

PostPosted: Tue Apr 06, 2010 11:46 am    Post subject: SMS send (not a valid integer value) Reply with quote

Greetengs.
I have a problem similar to this topic http://www.ks-soft.net/cgi-bin/phpBB/viewtopic.php?t=5465. Solution did not work for me.

I have HostMonitor v8.54 (run as service) on Windows Server 2003 Enterprise Edition SP2 (32) with Huawei E1550 USB stick modem.

When i try to do SMS test with settings:
COM4
115200 (tried different)
Huawei Connect 3G/Huawei E220 (tried both)
PDU/Text (tried both)
i get:

Com port open .. Ok
Com port close .. Ok
Error: Cannot send message to +792XXXXXXX. '' is not a valid integer value

Also i tried GSMCenter from those topic.
And got the same result:

ATE1
OK
AT+CPIN?
+CPIN: READY

OK
AT+CREG?
+CREG: 1,1

OK
AT+CREG=1
OK
AT+CPMS?
+CPMS: "SM",19,20,"SM",19,20,"SM",19,20

OK
AT+CSMS?
+CSMS: ,1,1,1

OK

And the same error: '' is not a valid integer value
But i can send SMS through terminal program just using AT commands:

AT+CREG
OK
AT+CMGF=1
OK
AT+CMGS="+792XXXXXXXX"
> test
> 1234
> <ctrl+z>

+CMGS: 57

OK

This work nice, and recipient recives this test message.
Can you help me?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Wed Apr 07, 2010 6:38 am    Post subject: Reply with quote

What version of KSGsmXLib.ocx have you installed?
08 http://www.ks-soft.net/download/KSGsmXLib08.zip ?
or
11 http://www.ks-soft.net/download/test/ksgsmxlib11.zip ?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
anton-hm



Joined: 06 Apr 2010
Posts: 4

PostPosted: Wed Apr 07, 2010 11:51 am    Post subject: Reply with quote

ksgsmxlib11.zip
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Wed Apr 07, 2010 4:16 pm    Post subject: Reply with quote

Could you please try the following update: www.ks-soft.net/download/ksgsmxlib15.zip
You need to terminate HostMonitor, unzip the file, replace current KSGsmXLib.ocx with new one, start HostMonitor again

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
anton-hm



Joined: 06 Apr 2010
Posts: 4

PostPosted: Thu Apr 08, 2010 8:10 am    Post subject: Reply with quote

With ksgsmxlib15.zip i have the following:

Test button in SMS GSM option tab works.
sms.log
[08.04.2010 16:07:01] Sys Com port open .. Ok
[08.04.2010 16:07:03] Sys GSM modem initialization .. Ok
[08.04.2010 16:07:05] Sys SMS to +792XXXXXXX has been sent.

When i try to get SMS by triggering alert i have the same reults as quarkstrudel in his topic.
Nothing happens. In quick log i see "SMS +792XXXXXXX has been passed to SMS control module".
In sms.log i see
[08.04.2010 16:12:20] Sys Message has been added to queue

After this Test button in SMS GSM options gives me error
Sending...
Cannot send message to +792XXXXXXXX. Process terminated.

with GSMX registry key (ForceQueueWaitResult=1) i have almost the same result.

Test button in SMS GSM options works good.
But after triggering an alert i have (still no sms sending)
Message has been added to queue
in sms.log
and after that test button gives me

Sending...
Error: Cannot open Com4.

Com4 is really busy, i can't connect to it with terminal program. Only stop HM service helps.

I tried to do some testing with no HM service installed and no registy key presents.
And i get some different errors.
Test button works well, but sometimes it gives some error in sms.log

[08.04.2010 17:44:15] Sys Com port open .. Ok ###this is fist sms send
[08.04.2010 17:44:17] Sys GSM modem initialization .. Ok
[08.04.2010 17:44:19] Sys SMS to +79128261619 has been sent.
[08.04.2010 17:44:26] Sys Error: Cannot open Com4. ### switch to SMS tab and second sms try
[08.04.2010 17:44:31] Sys Error: Cannot open Com4. ### switch to SMS tab and third try
[08.04.2010 17:44:32] Sys GSM modem deinitialization .. Ok ### close button press
[08.04.2010 17:44:32] Sys Set options .. Ok
[08.04.2010 17:44:33] Sys Set options .. Ok
[08.04.2010 17:44:35] Sys Com port open .. Ok ### 4th sms send
[08.04.2010 17:44:37] Sys GSM modem initialization .. Ok
[08.04.2010 17:44:39] Sys SMS to +792XXXXXXX has been sent.
[08.04.2010 17:44:48] Sys SMS to +792XXXXXXX has been sent. ### switch to SMS tab and 5th sms send
[08.04.2010 17:44:57] Sys SMS to +792XXXXXXX has been sent. ### switch to SMS tab and 6th sms send
[08.04.2010 17:45:02] Sys GSM modem deinitialization .. Ok ### close button press
[08.04.2010 17:45:02] Sys Error: Invalid pointer operation (ClearQuery)
[08.04.2010 17:45:02] Sys Set options .. Ok

triggering alert leads to
[08.04.2010 17:53:18] Sys Message has been added to queue

and playing with test button after this leads to

[08.04.2010 17:54:32] Sys Component is busy ### 1st sms try
[08.04.2010 17:54:34] Sys Component is busy ### switch to SMS tab and 2nd sms try
[08.04.2010 17:54:36] Sys Component is busy ### switch to SMS tab and 3d sms try
[08.04.2010 17:54:38] Sys Set options .. Ok ### close button press
[08.04.2010 17:54:40] Sys Set options .. Ok
[08.04.2010 17:54:44] Sys Com port open .. Ok ### 4th sms send
[08.04.2010 17:54:46] Sys GSM modem initialization .. Ok
[08.04.2010 17:54:48] Sys SMS to +792XXXXXXX has been sent.
[08.04.2010 17:54:59] Sys SMS to +792XXXXXXX has been sent. ### switch to SMS tab and 5th sms send
[08.04.2010 17:55:08] Sys SMS to +792XXXXXXX has been sent. ### switch to SMS tab and 6th sms send
[08.04.2010 17:55:15] Sys Com port close .. Ok ### close button press
[08.04.2010 17:55:15] Sys GSM modem deinitialization .. Ok
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Sat Apr 10, 2010 10:21 am    Post subject: Reply with quote

There is new update at the same place: www.ks-soft.net/download/ksgsmxlib15.zip

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
anton-hm



Joined: 06 Apr 2010
Posts: 4

PostPosted: Sun Apr 11, 2010 10:28 pm    Post subject: Reply with quote

Seems like everything works well now.
Thanks for fast reply and quick solution for the problem.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Mon Apr 12, 2010 11:02 am    Post subject: Reply with quote

Great
Often we fix problems within 24 hours, but sometimes we need a week or more...

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Bug reports 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