Created
October 13, 2024 18:52
-
-
Save morsine/3d2b456546473ad9d092c309cfc6e404 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# example smsd config file | |
devices = GSM1 | |
outgoing = /var/spool/sms/outgoing | |
checked = /var/spool/sms/checked | |
incoming = /var/spool/sms/incoming | |
logfile = /var/log/smstools/smsd.log | |
infofile = /var/run/smstools/smsd.working | |
pidfile = /var/run/smstools/smsd.pid | |
outgoing = /var/spool/sms/outgoing | |
checked = /var/spool/sms/checked | |
failed = /var/spool/sms/failed | |
incoming = /var/spool/sms/incoming | |
sent = /var/spool/sms/sent | |
stats = /var/log/smstools/smsd_stats | |
receive_before_send = no | |
autosplit = 3 | |
[GSM1] | |
# start device | |
init = AT^CURC=0 | |
# set encoding to IRA from the attached device | |
init = at+cscs="IRA" | |
# select device | |
device = /dev/ttyUSB0 | |
incoming = yes | |
decode_unicode_text = yes | |
baudrate = 115200 | |
eventhandler = /bin/gsm_sms_handler.py | |
# for python code visit: https://gist.github.com/morsine/4b4530ef5cf0df6f11d540d0b3c475b2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment