Operating system name and version: centos 7
Version of smsd: 3.1.21
Smsd installed from: source
Name and model of a modem / phone: unknown generic
Interface: USB

Hi! I am trying to test ussd manually.

I was able to execute a balance check. The response was still in ussd response. And no accompanying sms received.
The response was logged in the regular_run_logfile. However, I cannot find a statfile. Was the statfile created? was it deleted immediately?

What I got to do was use eventhandler_ussd. Does the answer file always writes to /tmp ? I tried to move the file so that I have a copy.

If I execute a ussd command and the result need a reply command, then I overwrite the file (ex: /tmp/smsd.TZdUc9) with something like AT+CUSD=1,"1" . Is this correct? And for that response a different execution of eventhandler_ussd is created right?

Thanks


Config below:

[default]
regular_run_interval = 10
regular_run_logfile = /var/log/sms/smsd_regular_run.log

[GSM7]
device = /dev/ttyUSB7
incoming = yes
baudrate = 115200
smsc = 639170000130
queues = GSM7
logfile = /var/log/sms/modemname.log
loglevel = 5

eventhandler_ussd = /home/sms/eventhandler/eventhandler_ussd.sh
regular_run_cmdfile = /var/spool/sms/regular_run/GSM7.cmdfile
regular_run_statfile = /var/spool/sms/regular_run/GSM7.statfile