dlr setup error
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
hi, I am trying to configure kannel with dlr storage mysql and fake smsc just for testing purpose but i am getting the following error: 2013-04-24 18:31:20 [3983] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0 2013-04-24 18:31:20 [3983] [0] PANIC: DLR: MySQL: connection settings for id 'mydlr' are not specified! 2013-04-24 18:31:20 [3983] [0] PANIC: /usr/local/kannel/sbin/bearerbox(gw_panic+0xd2) [0x80cd372] 2013-04-24 18:31:20 [3983] [0] PANIC: /usr/local/kannel/sbin/bearerbox(dlr_init_mysql+0x14a) [0x806171a] 2013-04-24 18:31:20 [3983] [0] PANIC: /usr/local/kannel/sbin/bearerbox(dlr_init+0x89) [0x805f4f9] 2013-04-24 18:31:20 [3983] [0] PANIC: /usr/local/kannel/sbin/bearerbox(main+0xea) [0x8051c9a] 2013-04-24 18:31:20 [3983] [0] PANIC: /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0xb71324d3] 2013-04-24 18:31:20 [3983] [0] PANIC: /usr/local/kannel/sbin/bearerbox() [0x8052ae1] and here is my kannel.conf: group = core admin-port = 13000 admin-password = prestige status-password = prestige admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1;200.100.0.*" smsbox-port = 13003 wapbox-port = 13004 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1;200.100.0.*" wdp-interface-name = "*" log-file = "/usr/local/kannel/logs/kannel.log" log-level = 1 access-log = "usr/local/kannel/kannel.access" unified-prefix = "+249,00249,0;+,00" dlr-storage = mysql #SMSBOX GROUP group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 log-file = "/usr/local/kannel/logs/smsbox.log" log-level = 0 #FAKE SMSC group = smsc port = 10000 connect-allow-ip = 127.0.0.1 #MYSQL CONNECTION group = mysql-connection host = localhost username = root password = bashria database = dlr 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 i hope u can help me. Many Thanks Mohamed A.aziz Mahmoud,