# THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL # # Modified by Donald Jackson based on the original smskannel.conf by # Kalle Marjola for Kannel project 2001, 2004 # # Default settings for DME by Excitor, used with a Siemens MC35i added. # #--------------------------------------------- # CORE # # There is only one core group and it sets all basic settings # of the bearerbox (and system). You should take extra notes on # configuration variables like 'store-file' (or 'store-dir'), # 'admin-allow-ip' and 'access.log' group = core admin-port = 13000 smsbox-port = 13001 wapbox-port = 13002 wdp-interface-name = "*" admin-password = almost2secret #status-password = almost2secret #admin-deny-ip = "" #admin-allow-ip = "" #log-file = "/tmp/kannel.log" #log-level = 0 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" #unified-prefix = "+358,00358,0;+,00" #access-log = "/tmp/access.log" #store-file = "kannel.store" #ssl-server-cert-file = "cert.pem" #ssl-server-key-file = "key.pem" #ssl-certkey-file = "mycertandprivkeyfile.pem" #--------------------------------------------- # SMSC CONNECTIONS # # SMSC connections are created in bearerbox and they handle SMSC specific # protocol and message relying. You need these to actually receive and send # messages to handset, but can use GSM modems as virtual SMSCs group = smsc sim-buffering = true smsc = at modemtype = siemens_tc35 device = /dev/com1 # This is a fake smsc connection, _only_ used to test the system and services. # It really cannot relay messages to actual handsets! # group = smsc # smsc = fake # smsc-id = FAKE # port = 10000 # connect-allow-ip = 127.0.0.1 #--------------------------------------------- # SMSBOX SETUP # # Smsbox(es) do higher-level SMS handling after they have been received from # SMS centers by bearerbox, or before they are given to bearerbox for delivery group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 13013 #sendsms-chars = "0123456789 +-" #log-file = "/tmp/smsbox.log" #log-level = 0 #access-log = "/tmp/access.log" #--------------------------------------------- # WAPBOX SETUP # group = wapbox bearerbox-host = 127.0.0.1 #log-file = "/tmp/wapbox.log" #log-level = 0 syslog-level = none #access-log = "/tmp/wapaccess.log" # PPG CORE SETUP, for defining the push request interface group = ppg ppg-url = /cgi-bin/wap-push.cgi ppg-port = 13004 concurrent-pushes = 100 trusted-pi = false users = 1024 # PPG USER SETUP, for authorizing a specific push user group = wap-push-user wap-push-user = picom ppg-username = DME_Server ppg-password = almost2secret #--------------------------------------------- # SEND-SMS USERS # # These users are used when Kannel smsbox sendsms interface is used to # send PUSH sms messages, i.e. calling URL like # http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar... group = sendsms-user username = DME_Server password = almost2secret #user-deny-ip = "" #user-allow-ip = "" max-messages = 6 concatenation = true #--------------------------------------------- # SERVICES # # These are 'responses' to sms PULL messages, i.e. messages arriving from # handsets. The response is based on message content. Only one sms-service is # applied, using the first one to match. # There should be always a 'default' service. This service is used when no # other 'sms-service' is applied. group = sms-service keyword = default text = "No service specified" group = sms-service keyword = test text = "Yes, a test" #group = sms-service #keyword = ota #url = "http://localhost:8080/ota.jar?$P&$s" #--------------------------------------------- # Modems configuration # # Example and default values # # group = modems # id = "my-id" # name = "my-name" # detect-string = "MODEM" # detect-string2 = "" [Default] # init-string = "AT+CNMI=1,2,0,0,0" [Default] # speed = 9600 [Default] # enable-hwhs = "AT+IFC=2,2" [Default] # need-sleep = false [Default] # no-pin = false [Default] # no-smsc = false [Default] # sendline-sleep = 100 [Default, miliseconds] # keepalive-cmd = "AT" [Default] # broken = false [Default] # message-storage = "SM" # enable-mms = false [Default] # If modemtype=auto, try everyone and defaults to this one group = modems id = generic name = "Generic Modem" group = modems id = siemens_tc35 name = "Siemens TC35" detect-string = "SIEMENS" detect-string2 = "TC35" init-string = "AT+CNMI=1,2,0,0,1" speed = 19200 enable-hwhs = "AT\\Q3" need-sleep = true