SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Fri Feb 26, 2021 18:19
SMSTools3 Community » Help and support Bottom

[solved] Problem with sending service SMS

  This topic is locked

Page:  1

Author Post
Member
Registered:
Mar 2011
Location: Russian Federation
I use smstool3 with USB modem Huawei E150 to send and receive SMS. All work well but I cannot get account information (how much money is on my SIM card). Tech.support of operator says to send SMS on service number "000105100" (this is public number) and then I will get SMS with my account status. When I send SMS I get this errors:

smsd.log


smsd_trouble.log


So modem tries to send to 0105100 but not to 000105100. May be this is the reason ?

How to send SMS to number with starting zeros ?
Is any other way to get account information without using mobile phone but with modem only ?

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
warm wrote
How to send SMS to number with starting zeros ?

In this case the number is a "short" number, which should be presented with 's', like: "To: s000105100". When smsd is sending it, "unknown" is used as a number format. In some countries this does not work, and number format must be defined in the SMS file, using "To_TOA: National" header. See Using Type Of Address selection for more details and samples.

warm wrote
Is any other way to get account information without using mobile phone but with modem only ?

If with your handset you can get the information with "*100#", you can use USSD message to check the amount of money. Read this topic: Sample config and script for regular_run and balance of prepaid SIM using USSD. There is shown the config and script which will do the job.

In your country the answer probably is received in "7bit packet" format, and in this case a modem setting ussd_convert = 2 is required.

Assuming that the answer is something like: "Баланс: 399.01р. 16.02.11 18:50 МегаФон-Логин", working settings in the script are:

ussd_command="AT+CUSD=1,AA180C3602,15"

balance_prefix="Баланс: "

balance_suffix="."

balance_expiration=""

If the command should be something else than *100#, or the answer does not match to what I assumed, tell the correct command, or show the answer from the log.

Member
Registered:
Mar 2011
Location: Russian Federation
Topic owner
Thank You. The "s" resolves this problem. I wrongly supposed that short numbers are only 4-digit numbers :-). Did not try USSD yet but I will.

  This topic is locked

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.