pajikos / sms-gammu-gateway

Simple SMS REST API gateway for sending SMS from gammu supported devices
Apache License 2.0
116 stars 31 forks source link

Reusing gammu config - syslog and message storage missing #18

Open realtmf opened 3 years ago

realtmf commented 3 years ago

Hi - thank you for creating a great tool!

I am switching over from an existing (working) gammu instance, reusing my existing gammu configuration. In doing so, it looks like logging to syslog stopped. I noticed that an empty file named "syslog" gets created in the sms-gammu-gateway working directory.

Also, messages no longer seem to get stored in their respective directories.

My gammu config file:

[gammu]
device = /dev/ttyUSB0
connection = at
logfile = syslog

[smsd]
phoneid = default
service = files
logfile = syslog
checkbattery = 0
hangupcalls = 1
inboxpath = /root/sms/inbox/
outboxpath = /root/sms/outbox/
sentsmspath = /root/sms/sent/
errorsmspath = /root/sms/error/

Cheers, Filip

pajikos commented 3 years ago

Hi, internally the python-gammu is used, so check it there, or configure logging to syslog directly from docker.