s-l:
init = AT^CURC=0
Thank you very much! I couldn't find this command!
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.
|
s-l: 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 ?
[root@ns ~]# cu -l ttyUSB0
Connected.
OK
AT+CUSD=1,AA180C3602,15
OK
~[ns].
Disconnected.
[root@ns ~]# cu -l ttyUSB2
Connected.
ate
^RSSI:11
1
OK
AT+CUSD=1,AA180C3602,15
^RSSI:11
^BOOT:46058150,0,0,0,87
OK
+CUSD: 0,"04110430043B0430043D0441003A0020003300390039002E003000310440002E002000310036002E00300032002E00310031002000310038003A003500300020041C0435043304300424043E043D002D041B043E04330438043D",72
^RSSI:11
|