Quantcast
Channel: Linux T&T » Sms
Viewing all articles
Browse latest Browse all 2

gammu-smsd

$
0
0

apt-get install gammu-smsd

vim /etc/gammu-smsdrc

port = /dev/ttyACM1

service gammu-smsd restart

echo “Test message” | gammu-smsd-inject TEXT +40746yyyxxx

source

### integrate with playsms ###

chmod 777 -R /var/spool/gammu/*

vim /etc/gammu-smsdrc

# Configuration file for Gammu SMS Daemon

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

# SMSD configuration, see gammu-smsdrc(5)
[smsd]
service = files
#logfile = syslog
logfile = /var/log/gammu/smsd.log
# Increase for debugging information
debuglevel = 1

InboxFormat = unicode
OutboxFormat = unicode
TransmitFormat = auto

DeliveryReport = sms
DeliveryReportDelay = 7200
CheckSecurity = 0

# 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/


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images