Linux^2

Linux^2

What you may find here

In this blog you'll mainly find all things Linux - problems, solutions, reports, rants, tips & tricks etc. with the occasional off-topic entry thrown in. You never would have guessed looking at the URL, huh?
In diesem Blog findet ihr hauptsächlich Themen rund um Linux - Probleme, Lösungen, Berichte, Meinungen, Tips & Tricks und dazwischen ein paar überhaupt nicht dazu passende Einträge. Wärt ihr bei der URL nie drauf gekommen, ne?

Mailt mal! Email me!

gsm-ussd v0.3.0: Session aware

gsm-ussdPosted by Jochen Fri, May 21, 2010 20:42:41
Alright, you know the drill: v0.3.0 is out.

Why the jump in the version number, you ask? gsm-ussd now supports USSD sessions. Normally, USSD queries are one-shot commands: You ask for some info like your prepaid account balance, receive an answer and you're done. But sometimes, the answer requests more information from you and displays a simple menu or some text with instructions which data to enter.

Now you can a further calls to gsm-ussd to
a) enter the requested data or choose menu entries until you're done
or
b) cancel the session.

If you'd like an example before you try anything yourself, have a look at ussd-sessions.txt in the docs directory (which will be /usr/share/doc/gsm-ussd-0.3.0/ussd-sessions.txt or /usr/share/doc/gsm-ussd/ussd-sessions.txt for you RPM/DEB users).

Here are the new files for download:

http://linux.zum-quadrat.de/downloads/gsm-ussd_0.3.0-0.tar.gz
http://linux.zum-quadrat.de/downloads/gsm-ussd-0.3.0-0.noarch.rpm
http://linux.zum-quadrat.de/downloads/gsm-ussd_0.3.0-0_all.deb

For an overview of all gsm-ussd downloads, have a look at
http://linux.zum-quadrat.de/downloads/index.html.
But please use the most recent version! And if you're tempted to have a look at the innards of gsm-ussd and see if you can hack it to do what you want, don't hesitate to clone the full git repository at

http://github.com/JochenHoch2/gsm-ussd.git
or
git://github.com/JochenHoch2/gsm-ussd.git

Bye & enjoy,
Jochen