SMS Server Tools 3
 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. The forum is currently read-only, but will open soon. Fri Nov 22, 2024 05:14
SMSTools3 Community » Help and support Bottom

[answered] how to make on demand ussd

  This topic is locked

Page:  1

Author Post
Member
Registered:
Mar 2010
Location: Yogyakarta, Indonesia
can we use smstools3 to handle on demand ussd command....?

so i will only get ussd answer when i need it, not in regular run....

if yes, how?

thanks

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Use the regular run... ;)

For example, define:

regular_run_post_run = /var/spool/sms/rr.sh
regular_run_cmdfile = /var/spool/sms/GSM1_regular_run_cmdfile
regular_run_statfile = /var/spool/sms/GSM1_regular_run_statfile
regular_run_logfile = /var/log/GSM1_regular_run.log
regular_run_interval = 30


The regular_run_cmdfile is checked every 30 seconds. If this file does not exist, nothing is done. When you need the USSD information, put your command to the regular_run_cmdfile. Smsd will send the command to the modem, and the answer is written to the regular_run_logfile and to the regular_run_statfile. The script regular_run_post_run is executed after the answer is received. That script can capture the answer and do whatever is required.

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
If you are using USSD for getting the balance of a prepaid SIM, check this newly created sample: Sample config and script for regular_run and balance of prepaid SIM using USSD.

Or are you using USSD for other purposes?

Member
Registered:
Mar 2010
Location: Yogyakarta, Indonesia
Topic owner
that's right, i'm using ussd command for checking balance.... thank you for your big help keke....

but i think later on maybe i will use ussd for another purpose, but for now i stick to checking balance purpose... hope that i'm able to use your sample script

regards

  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.