--- smsdaemon/smsdaemon.conf 2008/12/10 08:59:58 171 +++ smsdaemon/smsdaemon.conf 2010/04/27 21:03:37 677 @@ -6,7 +6,7 @@ # * internal # * smstools # * debug -transceiver = smstools +transceiver = debug #Which user / group should the daemon run as @@ -15,6 +15,52 @@ group = smsd +# Where should logmessages go +# options: +# logfile : logs to /var/log/smsdaemon.log) +# syslog : use the system logger +log = logfile + +# Option plugin +# Specify which plugin(s) should be loaded +# Several plugin statements are allowed +# syntax +# plugin = [arguments] +# General arguments +# privileged - if this is set to 1(one) only the phones in the privileged list are allowed +# to invoke the plugin +plugin = echo +plugin = spam privileged=1 +plugin = status +plugin = hoststatus +plugin = tog +plugin = weather +plugin = list +plugin = urltrigger trigger=tou; url=http://t-hoerup.dk/test.php +plugin = shellexec trigger=wake; cmd=/usr/local/bin/wake; allowparms=0; returnoutput=0 +plugin = shellexec trigger=ping; cmd=nmap -sP 192.168.10.1-255 | grep appears | awk '{print $2}'; allowparms=0; returnoutput=1 +plugin = shellexec trigger=fortune; cmd=/usr/games/fortune -s -n 300 ; allowparms=0; returnoutput=1 + +# Option task +# Specify which tasks should be loaded +task = spool + + +# Enforce Country Code +# if this is set, all outgoing messages must go to phone numbers +# starting with this +countrycode = 45 + +# Option blacklist +# A comma seperated list of phone numbers that should be ignored +# regarding both incomming and outgoing messages +# Note: it is a good idea to put the servers own phonenumber in this list +blacklist = 4542407617, + +# Option privileged +# A comma seperated list of privileged phonenumbers +privileged = 4522337617 + #config section for internal gsm modem transceiver [gsmmodem] @@ -26,7 +72,8 @@ # Option pin # PIN code for the SIM card -pin = +pin = 0067 + #this is the config section if the smstools transceiver is chosen @@ -34,8 +81,8 @@ # Option inboxdir # where should the files be read from -inboxdir = /var/spool/sms/inbox +inboxdir = /home/torben/smstool # Option outgoingdir # where should the outgoing messages be written -outgoingdir = /var/spool/sms/outgoing +outgoingdir = /home/torben/smstool