I try to add mysql support to kannel1.4.1 but it returned panic error
I compiled source code and this error run after dlr-storage declaration
and when I comment this line the error will return after id=mydlr
so when comment all of mysql declarations it run correctly


group = core
admin-port = 13000
admin-password = foo
status-password = foo
smsbox-port = 13001
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
#wapbox-port = 13002
#wdp-interface-name = "*"
log-file = "/var/log/kannel/kannel.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
log-level=0
access-log = "/var/log/kannel/access.log"

dlr-storage = mysql
group = mysql-connection
id = mydlr
host = localhost
mysql-username = engine
mysql-password = engine
database = dlr
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
.
.
.


--
--Vahid Ghafarpour.
http://vahid.ghafarpour.ir/
vahid at ghafarpour dot ir
ghafarpour at gmail dot com

Reply via email to