--- smsdaemon/smsdaemon.conf 2008/12/10 22:02:28 175 +++ smsdaemon/smsdaemon.conf 2010/04/28 09:02:30 685 @@ -6,7 +6,7 @@ # * internal # * smstools # * debug -transceiver = smstools +transceiver = debug #Which user / group should the daemon run as @@ -21,6 +21,49 @@ # 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 + + +# listen port for embedded http server (comment out or set to 0 to disable) +httpport = 5080 #config section for internal gsm modem transceiver @@ -33,7 +76,8 @@ # Option pin # PIN code for the SIM card -pin = +pin = 0067 + #this is the config section if the smstools transceiver is chosen