Bryan Gintz schrieb:
Hello,
I recompiled Kannel with --with-mysql and have the following in my conf file:
group = core
.....
dlr-storage = mysql
and
group = mysql-connection
id = mydlr
host = localhost
username = devec_kannel
password = dvkannel
database = devec_kannel
max-connections = 1
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
And here is the output from starting bearerbox
2008-06-20 08:25:19 [1689] [0] INFO: MYSQL: Connected to server at localhost.
2008-06-20 08:25:19 [1689] [0] INFO: MYSQL: server version 4.0.24-standard, clie
nt version 4.1.10.
2008-06-20 08:25:19 [1689] [0] INFO: DLR using storage type: mysql
It looks like it connects, but in my mysql table, there is nothing. I didn't see anything in the documentation about how to set up the table, and I am wondering if I did it wrong.
Any ideas?
obviously bearerbox does connect to your mysql server, so the config
looks ok. Are you missing to inject the
"...&dlr-mask=<mask>&dlr-url=<url>&..." values to the sendsms HTTP
interface?
Kannel will only ask for DLRs and hence store the temp data to it's DLR
storage if the backend application caller does signal the DLR interest
via the above values. See the user's guide for details.
Stipe
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany
tolj.org system architecture Kannel Software Foundation (KSF)
http://www.tolj.org/ http://www.kannel.org/
mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------