# Sample configuration file for 'samsemd' 4.x # Configuration contains "keyword = value" pairs. # Keywords are case insensitive. # Empty lines and lines beginning with # are ignored. # Number of the SMS Center. (mandatory) # Ask your network operator for the right number. # It must be in international format. # Digits may be mixed with spaces and dashes for readabilty. # #Message_Center = +36 30 9-888-000 #Message_Center = +36 20 930-0099 # Type of your GSM device. (optional) # Possible values are: # auto, # siemensm1, siemensm20, siemensa1, # falcoma1, falcoma2, falcoma2d, # nokiaphonecard, nokiadatacard, nokia6210, # ericssont10s, ericssont18s, ericssontgm12, # bosch909, # telitalgm360 # See samsem.pl for details and the actual list. # Default is auto. #Device = siemensm20 # Serial line where your GSM device is connected. (mandatory) # Use the callout device (e.g. /dev/cua1) instead of # callin (/dev/ttyS1) if you have any choice. # Absolute path is required. # #Port = /dev/modem #Port = /dev/ircomm0 # Line speed. (optional) # Default is 9600. # Top speed allowed by POSIX is 38400. # Higher speeds are allowed if your 'stty' utility supports them. # Note: Many devices have no autobaud feature. In this case # set DTE speed manually with AT+IPR command, then save the # configuration with AT&W. #Speed = 38400 # Personal Identification Number. (optional unless your device requires it) # #PIN = 9999 # Optional time interval while SMS center stores your outgoing message if # undeliverable. It must contain a (real) number and a suffix. Suffix # is one of m, h, d or w. (Minutes, hours, days, weeks respectively.) # Possible range of Validity Period is 5m-63w. # (Your SMS Center is probably limits VP to much lower, e.g. 15d.) # This settings may be overridden by command line option of 'spoolmsg'. # If you don't give VP at all, SMSC uses its own default. # #Valid = 3.5d # Spool directory. (mandatory) # Directory where outgoing messages are spooled. # You should create this dir manually. # If it has a subdirectory 'unsent', unprocessable job files will be moved here. # Absolute path is required. # #Spooldir = /var/spool/samsemd # A command to fork and exec when a message is arrived. # Be careful because it will run with the rights of 'samsemd' # (e.g. root). Environment variables $SMS_TIME, $SMS_FROM, $SMS_STATUS, $SMS_MSG # are set to time stamp of the received message, the sender's ID, OLD/NEW and # the message text respectively. # #User_Hook = echo time=$SMS_TIME from=$SMS_FROM stat=$SMS_STATUS msg=$SMS_MSG >> /tmp/sms # logfile. (optional) # #logfile = /var/log/gsm # Should the daemon process old messages found in memory of GSM device or not? # "Yes" means that the program checks preferred message store at startup # time and handles stored incoming messages like fresh ones. # "No" means that the program leaves all stored message untouched. # This parameter is optional. Default value is "yes". # Note: this parameter does not affect stored outgoing messages. # #Cleanup = no # Name of optional phonebook file. # Absolute path is required. #Phonebook = /usr/local/etc/samsem_phonebook