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

Diff of /smsdaemon/smsdaemon.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 171 by torben, Wed Dec 10 08:59:58 2008 UTC revision 680 by torben, Wed Apr 28 07:38:39 2010 UTC
# Line 15  user = smsd Line 15  user = smsd
15  group = smsd  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    # General arguments
30    #   privileged - if this is set to 1(one) only the phones in the privileged list are allowed
31    #                to invoke the plugin
32    plugin = echo
33    plugin = spam privileged=1
34    plugin = status
35    plugin = hoststatus
36    plugin = tog
37    plugin = weather
38    plugin = list
39    plugin = urltrigger trigger=tou; url=http://t-hoerup.dk/test.php
40    plugin = shellexec trigger=wake; cmd=/usr/local/bin/wake; allowparms=0; returnoutput=0
41    plugin = shellexec trigger=ping; cmd=nmap -sP 192.168.10.1-255 | grep appears | awk '{print $2}'; allowparms=0; returnoutput=1
42    plugin = shellexec trigger=fortune; cmd=/usr/games/fortune -s -n 300 ; allowparms=0; returnoutput=1
43    
44    # Option task
45    # Specify which tasks should be loaded
46    task = spool
47    
48    
49    # Enforce Country Code
50    # if this is set, all outgoing messages must go to phone numbers
51    # starting with this
52    countrycode = 45
53    
54    # Option blacklist
55    # A comma seperated list of phone numbers that should be ignored
56    # regarding both incomming and outgoing messages
57    # Note: it is a good idea to put the servers own phonenumber in this list
58    blacklist = 4542407617,
59    
60    # Option privileged
61    # A comma seperated list of privileged phonenumbers
62    privileged = 4522337617
63    
64    
65    # listen port for embedded http server (comment out or set to 0 to disable)
66    httpport = 5080
67    
68    
69  #config section for internal gsm modem transceiver  #config section for internal gsm modem transceiver
70  [gsmmodem]  [gsmmodem]
# Line 26  serialport = /dev/ttyUSB0 Line 76  serialport = /dev/ttyUSB0
76    
77  # Option pin  # Option pin
78  # PIN code for the SIM card  # PIN code for the SIM card
79  pin =  pin = 0067
80    
81    
82    
83  #this is the config section if the smstools transceiver is chosen  #this is the config section if the smstools transceiver is chosen

Legend:
Removed from v.171  
changed lines
  Added in v.680

  ViewVC Help
Powered by ViewVC 1.1.20