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 Sep 22, 2017 11:39
SMSTools3 Community » Feature requests Bottom

USSD service

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Feb 2013
Location: Lidingö, Sweden
Hello.

I use the smstools3 a lot and it is a great, powerful and yet simple system.

I have looked for sending an USSD command to modem via Smstools3 and then retrieve the result. I can se traces of this function in the "eventhandler_ussd" directive but I can not find any other references to it.

So, what is the status for USSD-requests?

Best regards
Odd Holstensson

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
What kind of USSD service you are looking for?

With external command files anything can be sent to the modem, and external script can parse the result. For example, see the sample Sample config and script for regular_run and balance of prepaid SIM using USSD which is probably the most popular USSD application.

Member
Registered:
Feb 2013
Location: Lidingö, Sweden
Topic owner
Hello.

I will use USSD for requesting balance, and for refilling prepaids, but it can be used for other purposes also, therefore the feature request.

The script does not suits my needs, but if anyone can give me an example how to use Perl to send and recieve USSD command, I would appreciate it. Or, how to query the modem and fetch the result?

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
I do not have any examples for Perl, or other external program, but as the modem port is closed when regular_run is executed, any external program can be used.

If you just want to send a command to the modem and fetch the result, you probably could use the same method as sample script uses:

1) First the user script is called with argument PRE_RUN. The script writes desired command to the regular_run_cmdfile.

2) smsd will read this file and sends command to the modem. Response is stored to regular_run_statfile.

3) The user script is called again, now with argument POST_RUN. The script can read the response from the statfile.

Of course this technique does not allow very sophisticated dialogue with the modem, and in those cases external modem handler is required.

Login and Post Reply

Page:  1

SMSTools3 Community » Feature requests Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.