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. Wed Apr 24, 2024 23:15
SMSTools3 Community » Help and support Bottom

[answered] USSD & different ttyUSB*

  This topic is locked

Page:  1

Author Post
Member
Registered:
Feb 2011
Location: St.Petersburg, Russian Federation
Hi!
I use smsd with Huawei 1550 (but there are many other devices like this). smsd work well. But I'd like to send USSD-request '*100#' , and there is a problem:

When I sens a command to ttyUSB0, modem responds "OK" and that's all...
When I send a command to ttyUSB2, I receive response. But smsd is confused by the messages like "^RSSI:11", so it can't work with ttyUSB2 ...

Can this problem be solved without "external" scripts ?


Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Disable those messages with ^CURC:

device = /dev/ttyUSB2
init = AT^CURC=0


Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
If you are going to use the script "Sample config and script for regular_run and balance of prepaid SIM using USSD" for checking the balance, you need to use the modem setting ussd_convert = 2 and the following settings in the script:

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

balance_prefix="Баланс: "

balance_suffix="."

balance_expiration=""


The sample answer was: "Баланс: 399.01р. 16.02.11 18:50 МегаФон-Логин". What is the date in the answer, not a date of expiration?

Member
Registered:
Feb 2011
Location: St.Petersburg, Russian Federation
Topic owner
keke wrote
init = AT^CURC=0

Thank you very much! I couldn't find this command!

Quote
What is the date in the answer, not a date of expiration?

No... I don't understand what's this :) I suppose that it's a date of the last balance change...
But I use smsd with nagios, it send 3-5 SMS every day, so balance had to be changed many times... Maybe I have several "bonus" SMS ? This monday I'll call "Megafon" and ask these questions :)

Thank you, I'll try all your recommendations.

  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.