Hi everyone,

suppose someone told you about gsm-ussd, you tried it – and it doesn’t work as expected. Now what to do?

There are some option you can supply to get debugging output. Don’t worry, it sounds scarier than it is! Option „-d“ or „–debug“ will make gsm-ussd quite verbose; every step in communicating with the modem is reported. Option „-l“ or „–logfile“ with a filename as argument will write the chat between gsm-ussd and the modem into the named log file.

So, if you have a problem, try the following command:

gsm-ussd -d -l chat.out <…further options as needed> 2>&1 | tee gsm-ussd.out

This will show you the debug output and create two files: chat.out containing the chat log and gsm-ussd.out containing the debugging output. Mail these files to me; I promise to take a look.

Cheers,
Jochen