Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runonreceive doesn't run #440

Open
pixou313 opened this issue Nov 13, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@pixou313
Copy link

commented Nov 13, 2018

Hi
I configure a runonreceive script in the /etc/gammu-smsdrc file. It doesn't start and there is no output for the process in log file.
I add a runonsent entry with the same script and it run correctly when I send a sms (and there is log output)
Log output for received message
Tue 2018/11/13 20:59:23 gammu-smsd[11526]: Read 1 messages
Tue 2018/11/13 20:59:23 gammu-smsd[11526]: Received IN20181113_205910_00_+XXXXXXXXXX_00.txt

Log output for sent message
Tue 2018/11/13 21:02:24 gammu-smsd[11633]: Transmitted OUTC20181113_210211_00_XXXXXXXXXX_sms0.smsba$
Tue 2018/11/13 21:02:24 gammu-smsd[11633]: Renamed /var/spool/gammu/outbox/OUTC20181113_210211_00_0$
Tue 2018/11/13 21:02:24 gammu-smsd[11656]: Starting run on receive: /var/spool/gammu/receive.sh OUT$
Tue 2018/11/13 21:02:24 gammu-smsd[11633]: Process finished successfully

My /etc/gammu-smsdrc file

# Configuration file for Gammu SMS Daemon

# Gammu library configuration, see gammurc(5)
[gammu]
# Please configure this!
port = /dev/ttyUSBGSM
connection = at19200
# Debugging
#logformat = textall

# SMSD configuration, see gammu-smsdrc(5)
[smsd]
service = files
logfile = /var/log/gammu-smsd.log
# Increase for debugging information
debuglevel = 2
pin = 0000
RunOnReceive = /var/spool/gammu/receive.sh
RunOnSent = /var/spool/gammu/receive.sh

# Paths where messages are stored
inboxpath = /var/spool/gammu/inbox/
outboxpath = /var/spool/gammu/outbox/
sentsmspath = /var/spool/gammu/sent/
errorsmspath = /var/spool/gammu/error/

Gammu version : 1.38.1
Os : raspbian stretch

Thank you for your help


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.