Re: devel Digest, Vol 75, Issue 31

Navdeep Bagga <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <CADfN156pNWz9EGVPJ+aTJk0YW8Sh86MLh9U0z6T1nHjPg9sdrQ@mail.gmail.com>
What I add or remove in this file so that sent_sms table store
recieved i.e MO sms

kannel.conf

group = core
admin-port = 13003
admin-password =
#admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
dlr-storage = mysql
smsbox-port = 13016
#wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
access-log = "/var/log/kannel/access.log"
#box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
log-level = 0

#group = wapbox
#bearerbox-host = localhost
#log-file = "/var/log/kannel/wapbox.log"
group = smsc
smsc-id = Nokia
smsc = at
modemtype = USB Modem
device= /dev/ttyACM0
my-number = +919888888887
connect-allow-ip = 127.0.0.1
sim-buffering = false
log-level = 0
#log-file = "/var/log/kannel/smsc.log"
# DLR with MySQL support configuration

group = mysql-connection
id = mydlr
host = localhost
username = boot
password = abc
database = key

group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-source=source
field-destination = destination
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc

group = modems
id = Nokia
name = Nokia
detect-string = "Nokia"
init-string = "ATZ"
#init-string = "AT+CMEE=1"
init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
#init-string = "AT+CNMI=2,1,2,2,0;+CMEE=1"
message-storage = SM
message-start = 0
#speed = 460800
#message-start = 0


group = smsbox
smsbox-id = mysmsbox
bearerbox-host = localhost
bearerbox-port = 13020
sendsms-port = 13013
global-sender = +919888888887
access-log = "/var/log/kannel/smsbox-access.log"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
mo-recode = true

group = smsbox-route
smsbox-id = mysmsbox
smsc-id = Nokia

group = sendsms-user
username =
password =
concatenation= true
max-messages = 10000
	
group = sms-service
keyword-regex = .*
catch-all = true
accepted-smsc = Nokia
max-messages = 99
get-url = "http://localhost/api/sms.php?phone=%p&text=%a"

Thanking you.

> If you are talking about log file, then the bearerbox-access log will handle it. And since you use SQLBox as well, then sent_sms should store it.

> Willy Mularto
> F300HD+MR18DE (NLC1725)

-- 
Navdeep Bagga
Happy Bird
[W] http://navdeepbagga.com
[T]  http://www.navdeepbagga.com/category/daily-diary-3/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.