SMSserver

From Mesopoly 3.0
Revision as of 11:46, 23 April 2009 by Zlatko (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  1. AUTOMATICALLY CREATED CONFIGURATION FILE -- DO NOT EDIT BY HAND!
  2. Description: Main configuration file for the smsd
  3. Last changed: Pon Ožu 2 12:51:51 CET 2009
  4. Please note that this is _not_ a dpkg-conffile. It has been created because
  5. you have choosen to manage smsd configuration with debconf. This file is not meant
  6. to be and should not be editted directly.
  7. Instead
  8. Run: dpkg-reconfigure <-plow> smstools
  9. If you want to manage your configuration file by hand at a later time
  10. you may run the above command, too and say that you don't want to manage
  11. smsd configuration with debconf.
  1. Global configuration

devices = GSM1 logfile = /var/log/smstools/smsd.log infofile = /var/run/smstools/smsd.working pidfile = /var/run/smstools/smsd.pid outgoing = /var/spool/sms/outgoing checked = /var/spool/sms/checked failed = /var/spool/sms/failed incoming = /var/spool/sms/incoming sent = /var/spool/sms/sent stats = /var/log/smstools/smsd_stats

  1. You can specify here an external program that is started whenever an alarm occurs.
  2. alarmhandler = /path/to/an/alarmhandler/script
  3. Specifies what levels start an alarmhandler. You can use value between 2 and 5.
  4. alarmlevel = 4
  5. eventhandler = @EVENTHANDLER@
  6. blacklist = /etc/smstools/blacklist
  7. whitelist = /etc/smstools/whitelist

autosplit = 3 loglevel=7

  1. Modem configuration

[GSM1]

  1. init = AT+CPMS="SM"

init = AT+CPMS="ME","SM","SM" device = /dev/ttyS1 incoming = yes

  1. pin =

baudrate = 9600