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

Diff of /smsdaemon/smsdaemon.conf

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

revision 152 by torben, Mon Dec 8 11:30:07 2008 UTC revision 215 by torben, Mon Dec 22 23:27:49 2008 UTC
# Line 8  Line 8 
8  # * debug  # * debug
9  transceiver = smstools  transceiver = smstools
10    
 # Option serialport  
 # Only used by internal transceiver, specifies which serial port  
 # the modem is attached to  
 serialport = /dev/ttyUSB0  
11    
12  #Which user / group should the daemon run as  #Which user / group should the daemon run as
13  #  #
14  user = smsd  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    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    #config section for internal gsm modem transceiver
53    [gsmmodem]
54    
55    # Option serialport
56    # Specifies which serial port the modem is attached to
57    serialport = /dev/ttyUSB0
58    
59    
60    # Option pin
61    # PIN code for the SIM card
62    pin = 0067
63    
64    
65    
66    #this is the config section if the smstools transceiver is chosen
67    [smstools]
68    
69    # Option inboxdir
70    # where should the files be read from
71    inboxdir = /var/spool/sms/inbox
72    
73    # Option outgoingdir
74    # where should the outgoing messages be written
75    outgoingdir = /var/spool/sms/outgoing

Legend:
Removed from v.152  
changed lines
  Added in v.215

  ViewVC Help
Powered by ViewVC 1.1.20