/[projects]/smsdaemon/smsdaemon.conf
ViewVC logotype

Contents of /smsdaemon/smsdaemon.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 216 - (show annotations) (download)
Tue Dec 23 12:09:08 2008 UTC (15 years, 4 months ago) by torben
File size: 2014 byte(s)
Added config option of privileged and blacklisted phone numbers, and applied the blacklist to
Proxy Transceiver.

Am still missing the equivalent for incomming messages (ProxyPlugin)

1 [smsdaemon]
2
3 # Option transceiver
4 # which transceiver should be used:
5 # possible values:
6 # * internal
7 # * smstools
8 # * debug
9 transceiver = smstools
10
11
12 #Which user / group should the daemon run as
13 #
14 user = smsd
15 group = smsd
16
17
18 # Where should logmessages go
19 # options:
20 # logfile : logs to /var/log/smsdaemon.log)
21 # syslog : use the system logger
22 log = logfile
23
24 # Option plugin
25 # Specify which plugin(s) should be loaded
26 # Several plugin statements are allowed
27 # syntax
28 # plugin = <pluginname> [arguments]
29 plugin = echo
30 plugin = spam
31 plugin = status
32 plugin = hoststatus
33 plugin = tog
34 plugin = weather
35 plugin = list
36 plugin = urltrigger trigger=tou; url=http://t-hoerup.dk/test.php
37 plugin = shellexec trigger=wake; cmd=/usr/local/bin/wake; allowparms=0; returnoutput=0
38 plugin = shellexec trigger=ping; cmd=nmap -sP 192.168.10.1-255 | grep appears | awk '{print $2}'; allowparms=0; returnoutput=1
39 plugin = shellexec trigger=fortune; cmd=/usr/games/fortune -s -n 300 ; allowparms=0; returnoutput=1
40
41
42 # Option task
43 # Specify which tasks should be loaded
44 task = spool
45
46
47 # Enforce Country Code
48 # if this is set, all outgoing messages must go to phone numbers
49 # starting with this
50 countrycode = 45
51
52 # Option blacklist
53 # A comma seperated list of phone numbers that should be ignored
54 # regarding both incomming and outgoing messages
55 # Note: it is a good idea to put the servers own phonenumber in this list
56 blacklist = 4542407617,
57
58 # Option privileged
59 # A comma seperated list of privileged phonenumbers
60 privileged = 4522337617
61
62
63 #config section for internal gsm modem transceiver
64 [gsmmodem]
65
66 # Option serialport
67 # Specifies which serial port the modem is attached to
68 serialport = /dev/ttyUSB0
69
70
71 # Option pin
72 # PIN code for the SIM card
73 pin = 0067
74
75
76
77 #this is the config section if the smstools transceiver is chosen
78 [smstools]
79
80 # Option inboxdir
81 # where should the files be read from
82 inboxdir = /var/spool/sms/inbox
83
84 # Option outgoingdir
85 # where should the outgoing messages be written
86 outgoingdir = /var/spool/sms/outgoing

  ViewVC Help
Powered by ViewVC 1.1.20