--- smsdaemon/smsdaemon.conf 2008/12/19 22:29:25 205 +++ 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 @@ -26,8 +26,11 @@ # 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 +plugin = spam privileged=1 plugin = status plugin = hoststatus plugin = tog @@ -36,7 +39,31 @@ 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