summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/gammu/gammu/gammu-smsdrc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-connectivity/gammu/gammu/gammu-smsdrc')
-rw-r--r--meta-oe/recipes-connectivity/gammu/gammu/gammu-smsdrc80
1 files changed, 80 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/gammu/gammu/gammu-smsdrc b/meta-oe/recipes-connectivity/gammu/gammu/gammu-smsdrc
new file mode 100644
index 000000000..da413c2d3
--- /dev/null
+++ b/meta-oe/recipes-connectivity/gammu/gammu/gammu-smsdrc
@@ -0,0 +1,80 @@
1# This is a sample Gammu SMSD configuration file. It's required for gammu-smsd,
2# see gammu-smsdrc(5) for documentation.
3
4# Gammu configuration, this section is like section "gammu" in "gammurc" file,
5# see gammurc(5) for documentation.
6[gammu]
7device = /dev/ttyUSB0
8model = at115200
9#connection = dlr3
10#synchronizetime = yes
11#logfile = gammulog # this is not used at all in SMSD mode
12#logformat = textall
13#use_locking = yes
14#gammuloc = gammu.us
15#startinfo = yes
16
17# When uncomment this section and insert numbers here, smsd will process
18# incoming sms only from numbers written here (incoming sms from all other
19# numbers will be deleted)
20#[include_numbers]
21#number1 = 1234
22
23# When uncomment this section and insert numbers here, smsd will process
24# incoming sms from all numbers not written here (incoming sms from numbers
25# written here will be deleted). This is "black" list.
26# Note: after using "include_numbers" section this one will be ignored
27#[exclude_numbers]
28#number1 = 1234
29
30# General SMSD settings, see gammu-smsdrc(5) for detailed description.
31[smsd]
32# SMSD service to use, one of FILES, MYSQL, PGSQL, DBI
33service = files
34# PIN for SIM card
35PIN = 0000
36# File (or stderr, syslog, eventlog) where information will be logged
37logfile = smsdlog
38# Amount of information being logged, each bit mean one level
39debuglevel = 0
40# Configuration for using more phones on same database
41#phoneid = MyPhone1
42# Script to be executed when new message has been received
43#runonreceive = /some/script
44# Commication frequency settings
45commtimeout = 30
46sendtimeout = 30
47#receivefrequency = 0
48
49# Phone communication settings
50#checksecurity = 1
51#resetfrequency = 0
52
53# Delivery report configuration
54#deliveryreport = no
55#deliveryreportdelay = 10
56
57# Ignoring broken SMSC
58#skipsmscnumber = +48602123456
59
60# Database backends congfiguration
61user = gammu
62password = gammupassword
63pc = localhost
64# pc can also contain port or socket path after colon (eg. localhost:/path/to/socket)
65database = sms
66
67# DBI configuration
68driver = sqlite
69# driverspath = /usr/lib/dbd/
70# Database directory for sqlite
71# dbdir = /var/lib/smsd
72
73# Files backend configuration
74inboxpath = /var/spool/sms/inbox/
75outboxpath = /var/spool/sms/outbox/
76sentsmspath = /var/spool/sms/sent/
77errorsmspath = /var/spool/sms/error/
78inboxformat = detail
79transmitformat = auto
80outboxformat = detail