# Default kannel configuration file group = core admin-port = 17401 admin-password = root status-password = root #admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1" smsbox-port = 17402 #wapbox-port = 17403 #box-deny-ip = "*.*.*.*" box-allow-ip = "*.*.*.*" #wdp-interface-name = "*" log-file = "/var/logs/kannel/bearerbox.log" store-file = "/var/logs/kannel/kannel.store" log-level = 0 #dlr-storage=mysql # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 17405 sendsms-chars = "0123456789 +-" global-sender = +254721804390 log-file = "/var/log/kannel/smsbox.log" log-level = 0 #access-log = "access.log" #white-list = #black-list = #reply-couldnotfetch = #reply-couldnotrepresent = #reply-requestfailed = #reply-emptymessage = # SENDSMS USERS SETUP group = sendsms-user username = joe password = 0000 # SQLBOX SETUP #group = sqlbox #id = sqlbox-db #smsbox-id = smsbox #global-sender = "" #bearerbox-host = localhost #bearerbox-port = 13001 #smsbox-port = 13005 #smsbox-port-ssl = false #sql-log-table = sent_sms #sql-insert-table = send_sms #log-file = "/var/log/kannel/kannel-sqlbox.log" #log-level = 0 #white-list = "" #black-list = "" #white-list-regex = "" #ssl-client-certkey-file = "" #ssl-server-cert-file = "" #ssl-server-key-file = "" #ssl-trusted-ca-file = "" #group = mysql-connection #id = sqlbox-db #host = localhost #username = root #password = "ibibe" #database = kannel #max-connections = 10 # DLR SETUP #mysql connection #group = mysql-connection #id = mydlr #host = localhost #username = root #password = "ibibe" #database = dlr #max-connections = 10 #group = dlr-db #id = mydlr #table=dlr #field-smsc=smsc #field-timestamp=ts #field-destination=destination #field-source=source #field-service=service #field-url=url #field-mask=mask #field-status=status #field-boxc-id=boxc # SMSC Real group = smsc smsc = at modemtype = auto device = /dev/ttyUSB1 pin = my-number = +254721804390 log-level = 0 speed = 9600 validityperiod = 167 sms-center = +254722500039 sim-buffering = true # A do-nothing service. group = sms-service #keyword = keyword-regex = .* catch-all = yes max-messages = 0 get-url = "http://127.0.0.1/sms/sms.php?phone=%p&text=%a" #get-url = "http://localhost:9001/cgi-bin/sms/mo?phone=%p&destination=%P&message=%a" # SMS SERVICE black-list group = sms-service keyword = black text = "You are not allowed to use this service, Go away!" # SMSC SMPP #group = smsc #smsc = smpp #host = 127.0.0.1 #port = 2775 #receive-port = 2776 #smsc-username = smppclient #smsc-password = password #system-type = "" #address-range = "" #modem group = modems id = HUAWEI name = HUAWEI #Huawei e160 #(0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1) init-string = "AT+CNMI=0,0,0,0,0" enable-mms = 1 message-storage = "SM" # If modemtype=auto, try everyone and defaults to this one group = modems id = generic name = "Generic Modem" group = modems id = keegan name = Keegan detect-string = "KEEGAN" speed = 115200 no-pin = true no-smsc = true #message-storage = "SM" enable-hwhs = "AT+IFC=2,2" enable-mms = true reset-string = "ATZ" #init-string = "AT+CNMI=0,0,0,0,0" #init-string = "AT+CMGF=1" group = modems id = wavecom name = Wavecom detect-string = "WAVECOM" group = modems id = premicell name = Premicell detect-string = "PREMICEL" no-pin = true no-smsc = true group = modems id = siemens_tc35 name = "Siemens TC35" detect-string = "SIEMENS" detect-string2 = "TC35" init-string = "AT+CNMI=1,2,0,1,1" speed = 19200 enable-hwhs = "AT\\Q3" need-sleep = true group = modems id = siemens_m20 name = "Siemens M20" detect-string = "SIEMENS" detect-string2 = "M20" speed = 19200 enable-hwhs = "AT\\Q3" keepalive-cmd = "AT+CBC;+CSQ" need-sleep = true group = modems id = siemens_sl45 name = "Siemens SL45" detect-string = "SIEMENS" detect-string2 = "SL45" init-string = "AT+CNMI=1,2,2,2,1" keepalive-cmd = "AT+CBC;+CSQ" speed = 19200 enable-hwhs = "AT\\Q3" need-sleep = true message-storage = "SM" group = modems id = nokiaphone name = "Nokia Phone" detect-string = "Nokia Mobile Phone" need-sleep = true keepalive-cmd = "AT+CBC;+CSQ" enable-mms = true group = modems id = falcom name = "Falcom" detect-string = "Falcom" #no-smsc = true group = modems id = ericsson_r520m name = "Ericsson R520m" detect-string = "R520m" init-string = "AT+CNMI=3,2,0,0" group = modems id = ericsson_t68 name = "Ericsson T68" detect-string = "T68" init-string = "AT+CNMI=3,3" keepalive-cmd = "AT+CBC;+CSQ" broken = true group = modems id = sonyericsson_gr47 name = "Sony Ericsson GR47" detect-string = "GR47" message-storage = "ME" # use this init-string for non sim-buffering init-string = "AT+CNMI=3,2,0,0" # use this init-string for sim-buffering #init-string = "AT+CNMI=3,1,0,0" reset-string = "ATZ" broken = true group = modems id = alcatel name = "Alcatel" detect-string = "Alcatel" init-string = "AT+CNMI=3,2,0,0" group = modems id = sonyericsson_T630-T628 name = "Sony Ericsson T630-T628? init-string = "AT+CNMI=2,3,2,0,0;+CMGF=0? keepalive-cmd = "AT+CBC;+CSQ;+CMGF=0? broken = true