selivan: Hello keke :)
I didn't understand how does this script work :( And I don't want to use something that I don't understand. Is there a simple way just to check balance before(or after) sending every message? I wrote a simple python script to be used as eventhandler_ussd, it works fine with regular_run_interval, but that is not what I need. How can I run USSD query every time when sms message is sent? I tried using eventhandler with
echo -e 'AT+CUSD=1,"*100#",15\r' > /dev/ttyUSB3
but I'm recieving errors like this:
GSM1: Unexpected input: OK +CUSD: 0,"041C043E04310438043B044C043D044B04390020043F043B04300442043504360020002D0020043F043E043F043E043B043D044F0439002004420435043B04350444043E043D00200441002004310430043D043A043E04320441043A043E04390020043A043004400442044B002E00200418043D0444043E00200030003500330033",72
and eventhandler_ussd is not launched.
Please, help me :?
|