Hi!
Recently I have installed new version of HostMonitor 6.10 I try to use my defined Global Macro Variables as a destination phone number in action Send sms, but a get modem error every time. When I use phone number directly everything is ok and sms is send.
I use the same Global Macro Variable as a destination phone numer to send sms by SMSGateway - Execute external program option. And it's working.
Could you help me with this problem.
Regards,
Margaret
Using Global Macro Variables in action SMS send
-
- Posts: 6
- Joined: Mon Aug 14, 2006 5:41 am
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: Using Global Macro Variables in action SMS send
What exact Error do you get? Do you see the phone number in error string?Malgorzata wrote:Recently I have installed new version of HostMonitor 6.10 I try to use my defined Global Macro Variables as a destination phone number in action Send sms, but a get modem error every time.
I could not reproduce such problem. I have defined global variable like:Malgorzata wrote:Could you help me with this problem.
udv_sms_number in Profiles > Global Macro Variables window and have specified %udv_sms_number% as "Dest. number" in action Properties window. Everithing works fine.
Here is action properties:
Code: Select all
Action: Send SMS
Phone : %udv_sms_number%
Msg class : 2
Message : Mail to customer
Start after: 1 consecutive "good" result(s)
Retries: until status changes
Max
-
- Posts: 6
- Joined: Mon Aug 14, 2006 5:41 am
Re: Using Global Macro Variables in action SMS send
This is the error which I get:
Where %udv_t_gs% is my macro variables defined in Profiles -> Global Defined Variables.
Everything looks like in yours but it does not work.
Regards,
Margaret
Code: Select all
Sending...
Com port open .. Ok
GSM modem initialization .. Ok
Error: Cannot send message to %udv_t_gs%. GSM modem error.
Com port close .. Ok
GSM modem deinitialization .. Ok
Everything looks like in yours but it does not work.
Regards,
Margaret
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: Using Global Macro Variables in action SMS send
Strange. There is new version of KSGsmXLib.ocx. http://www.ks-soft.net/download/ksgsmxlib.zip
Could you try it? Note: you should stop HostMonitor service or exit from aplication before update.
Regards,
Max
Could you try it? Note: you should stop HostMonitor service or exit from aplication before update.
Regards,
Max
-
- Posts: 6
- Joined: Mon Aug 14, 2006 5:41 am
Re: Using Global Macro Variables in action SMS send
After update I got different error, enclosed below:KS-Soft Europe wrote:Strange. There is new version of KSGsmXLib.ocx. http://www.ks-soft.net/download/ksgsmxlib.zip
Could you try it? Note: you should stop HostMonitor service or exit from aplication before update.
Regards,
Max
Code: Select all
Sending...
Com port open .. Ok
GSM modem initialization .. Ok
Error: Cannot send message to %udv_t_gs%. GSM modem error. +CMS ERROR: 500 "Unknown error" was returned on AT command: AT+CMGS=25>0001000D81F5746FF575FFF500F00CD4F29C0E6A97E7F3F0B90C
Com port close .. Ok
GSM modem deinitialization .. Ok
Margaret
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: Using Global Macro Variables in action SMS send
I assume, you are trying to send SMS message using SMS test window (Test button)? In such case Global defined variables really do not work. But it works, when you specify such variable into Dest. phone field in Action Properties window.
You may specify particular log file for SMS action (Options > GSM tab > Log File field) and you may control SMS sending using that log file.
Regards,
Max
You may specify particular log file for SMS action (Options > GSM tab > Log File field) and you may control SMS sending using that log file.
Regards,
Max
-
- Posts: 6
- Joined: Mon Aug 14, 2006 5:41 am
Re: Using Global Macro Variables in action SMS send
Yes, I try to send SMS by test button. When I specify such variable into Dest. phone field in Action Properties window it work fine. Thank You very very much for your help and time.KS-Soft Europe wrote:I assume, you are trying to send SMS message using SMS test window (Test button)? In such case Global defined variables really do not work. But it works, when you specify such variable into Dest. phone field in Action Properties window.
You may specify particular log file for SMS action (Options > GSM tab > Log File field) and you may control SMS sending using that log file.
Regards,
Max
Regards,
Margaret