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

Diff of /smsdaemon/smsdaemon.conf

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

revision 147 by torben, Sun Dec 7 20:11:40 2008 UTC revision 211 by torben, Sun Dec 21 22:08:20 2008 UTC
# Line 6  Line 6 
6  # * internal  # * internal
7  # * smstools  # * smstools
8  # * debug  # * debug
9  transceiver = internal  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    
40    # Option task
41    # Specify which tasks should be loaded
42    task = spool
43    
44    
45    # Enforce Country Code
46    # if this is set, all outgoing messages must go to phone numbers
47    # starting with this
48    countrycode = 45
49    
50    #config section for internal gsm modem transceiver
51    [gsmmodem]
52    
53  # Option serialport  # Option serialport
54  # Only used by internal transceiver, specifies which serial port  # Specifies which serial port the modem is attached to
 # the modem is attached to  
55  serialport = /dev/ttyUSB0  serialport = /dev/ttyUSB0
56    
57    
58    # Option pin
59    # PIN code for the SIM card
60    pin = 0067
61    
62    
63    
64    #this is the config section if the smstools transceiver is chosen
65    [smstools]
66    
67    # Option inboxdir
68    # where should the files be read from
69    inboxdir = /var/spool/sms/inbox
70    
71    # Option outgoingdir
72    # where should the outgoing messages be written
73    outgoingdir = /var/spool/sms/outgoing

Legend:
Removed from v.147  
changed lines
  Added in v.211

  ViewVC Help
Powered by ViewVC 1.1.20