Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save deanet/6bea22a15bcdafb8a5047f74ae4c1fd1 to your computer and use it in GitHub Desktop.
Save deanet/6bea22a15bcdafb8a5047f74ae4c1fd1 to your computer and use it in GitHub Desktop.
Install dan Configure PlaySMS Web Interface Gammu
[gammu]
# Please configure this!
port = /dev/ttyUSB0
model = at
connection = at115200
synchronizetime = yes
logfile = /var/log/gammu0.log
logformat = textalldate
# Debugging
#logformat = textall
# SMSD configuration, see gammu-smsdrc(5)
[smsd]
service = files
logfile = /var/log/gammu-smsd0.txt
# Increase for debugging information
debuglevel = 0
#ReceiveFrequency = 300
ReceiveFrequency = 60
StatusFrequency = 60
CommTimeout = 60
SendTimeout = 60
LoopSleep = 10
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/
deliveryreport = sms
Install dan Configure PlaySMS Web Interface Gammu
# INSTALL DATA
# ============
# Please change INSTALL DATA below to suit your system configurations
# Please do not change variable name, you may change only the value
# MySQL database username
DBUSER="playsms"
# MySQL database password
DBPASS="pass"
# MySQL database name
DBNAME="playsms"
# MySQL database host
DBHOST="localhost"
# MySQL database port
DBPORT="3306"
# Web server's user, for example www-data2 user by default is www-data
# note: please make sure your web server user
WEBSERVERUSER="www-data"
# Web server's group, for example www-data2 group by default is www-data
# note: please make sure your web server group
WEBSERVERGROUP="www-data"
# Path to playSMS extracted source files
PATHSRC="$(pwd)"
# Path to playSMS web files
# note: please make sure your web root path, in this example its /var/www/html
PATHWEB="/srv/playsms"
# Path to playSMS additional files
PATHLIB="/var/lib/playsms"
# Path to playSMS daemon and other binary files
PATHBIN="/usr/local/bin"
# Path to playSMS log files
PATHLOG="/var/log/playsms"
# Path to playSMS daemon configuration file
# note: this example will create playsmsd.conf in /etc
PATHCONF="/etc"
# END OF INSTALL DATA
# ===================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment