I tried to make two smsbox, one with smsbox-id and second one is without smsbox-id. in mysql I have only one table - dlr. should be there any other tables, or that is enough ? Below are my Kannel config file - kannel.conf, fakebox.log and bearerbox.logfiles. I continue reading manual and searching forum, but those solutions seem to be not solve mine.
Kannel.conf: group = core admin-port = 13000 admin-password = bar admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1" log-file = "/var/log/kannel/bearerbox.log" box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" smsbox-port = 13001 dlr-storage = mysql group = smsc smsc = fake log-file = "/var/log/kannel/fakebox.log" port = 10000 group = smsbox smsbox-id = smsbid bearerbox-host = localhost group = smsbox bearerbox-host = localhost group = sms-service keyword = default text = "No action specified" group = mysql-connection id = mydlr host = localhost username = kannel password = kannel database = 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 fakesmsc -i 1 -m 3 "100 200 text nop" "100 300 text echo this" fakebox.log: 2007-02-08 01:05:46 [5225] [6] DEBUG: Thread 6 (gw/smsc/smsc_fake.c:fake_listener) terminates. 2007-02-08 01:06:23 [5435] [6] INFO: Fakesmsc client connected from 127.0.0.1 2007-02-08 01:06:23 [5435] [6] DEBUG: smsc_fake: new message received 2007-02-08 01:06:23 [5435] [6] WARNING: smsbox_list empty! 2007-02-08 01:06:24 [5435] [6] DEBUG: smsc_fake: new message received 2007-02-08 01:06:24 [5435] [6] WARNING: smsbox_list empty! 2007-02-08 01:06:25 [5435] [6] DEBUG: smsc_fake: new message received 2007-02-08 01:06:25 [5435] [6] WARNING: smsbox_list empty! bearerbox.log: 2007-02-08 01:06:19 [5435] [0] INFO: Added logfile `/var/log/kannel/bearerbox.log' with level `0'. 2007-02-08 01:06:19 [5435] [0] INFO: SSL not supported, no SSL initialization done. 2007-02-08 01:06:19 [5435] [0] INFO: HTTP: Opening server at port 13000. 2007-02-08 01:06:19 [5435] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2007-02-08 01:06:19 [5435] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2007-02-08 01:06:19 [5435] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2007-02-08 01:06:19 [5435] [0] DEBUG: starting smsbox connection module 2007-02-08 01:06:19 [5435] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2007-02-08 01:06:19 [5435] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 2007-02-08 01:06:19 [5435] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run) 2007-02-08 01:06:19 [5435] [0] INFO: Set SMS resend frequency to 60 seconds. 2007-02-08 01:06:19 [5435] [0] INFO: SMS resend retry set to unlimited. 2007-02-08 01:06:19 [5435] [0] INFO: DLR rerouting for smsc id <(null)> disabled. 2007-02-08 01:06:19 [5435] [0] INFO: Added logfile `/var/log/kannel/fakebox.log' with level `0'. 2007-02-08 01:06:19 [5435] [0] DEBUG: Started thread 6 (gw/smsc/smsc_fake.c:fake_listener) 2007-02-08 01:06:19 [5435] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router) 2007-02-08 01:06:19 [5435] [0] INFO: ---------------------------------------- 2007-02-08 01:06:19 [5435] [0] INFO: Kannel bearerbox II version 1.4.1starting 2007-02-08 01:06:19 [5435] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 5435. 2007-02-08 01:06:19 [5435] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 5435. 2007-02-08 01:06:19 [5435] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 5435. 2007-02-08 01:06:19 [5435] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 5435. 2007-02-08 01:06:19 [5435] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 5435. 2007-02-08 01:06:19 [5435] [0] INFO: MAIN: Start-up done, entering mainloop 2007-02-08 01:06:19 [5435] [0] DEBUG: smsc_fake: start called 2007-02-08 01:06:19 [5435] [6] DEBUG: Thread 6 (gw/smsc/smsc_fake.c:fake_listener) maps to pid 5435. 2007-02-08 01:06:19 [5435] [6] INFO: Logging thread `6' to logfile `/var/log/kannel/fakebox.log' with level `0'. 2007-02-08 01:06:19 [5435] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 5435. 2007-02-08 01:06:19 [5435] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2007-02-08 01:06:19 [5435] [7] DEBUG: sms_router: gwlist_len = 0 2007-02-08 01:07:19 [5435] [4] WARNING: smsbox_list empty! 2007-02-08 01:07:19 [5435] [4] WARNING: smsbox_list empty! 2007-02-08 01:07:19 [5435] [4] WARNING: smsbox_list empty! 2007-02-08 01:07:19 [5435] [4] WARNING: smsbox_list empty! 2007-02-08 01:08:19 [5435] [4] WARNING: smsbox_list empty! 2007-02-08 01:08:19 [5435] [4] WARNING: smsbox_list empty! 2007-02-08 01:08:19 [5435] [4] WARNING: smsbox_list empty! 2007-02-08 01:08:19 [5435] [4] WARNING: smsbox_list empty! On 2/8/07, Kanat Zaiitov <[EMAIL PROTECTED]> wrote:
Thanks for reply, unfortunately that did not help (tried earlier), tried to make two smsbox, one with smsbox-id and second with no smsbox-id. :( I read the manual, and reading the forum archive (doing my homework :) ), can't find the solution. On 2/7/07, Heru Tjatur <[EMAIL PROTECTED]> wrote: > > It might help to add: > smsbox-id = some_id > to smsbox group in your conf > > --tjatur > > On Wed, 2007-02-07 at 14:23 +0500, Kanat Zaiitov wrote: > > it is third day I am trying to work with Kannel, started with > > fakesmsc. > > why it always says that I have - WARNING: smsbox_list empty! ? > > I can't find any more info in manual. in forum archive found several > > threads saying that it may be of sqlbox-id - did not help. > > and another thread about WARNING: smsbox_list empty! were regarding to > > PostgreSql. > > How my messages are stored in database, how to put there? what fields > > should it have at least? > > > > > > sudo bearerbox -v 1 /etc/kannel/kannel1.conf > > 2007-02-07 15:15:40 [5831] [0] INFO: Debug_lvl = 1, log_file = <none>, > > log_lvl = 0 > > 2007-02-07 15:15:40 [5831] [0] INFO: MYSQL: Connected to server at > > localhost. > > 2007-02-07 15:15:40 [5831] [0] INFO: MYSQL: server version > > 5.0.24a-Debian_9-log, client version 5.0.24a. > > 2007-02-07 15:15:40 [5831] [0] INFO: DLR using storage type: mysql > > 2007-02-07 15:15:40 [5831] [0] INFO: Added logfile > > `/var/log/kannel/bearerbox.log' with level `0'. > > 2007-02-07 15:15:40 [5831] [0] INFO: SSL not supported, no SSL > > initialization done. > > 2007-02-07 15:15:40 [5831] [0] INFO: HTTP: Opening server at port > > 13000. > > 2007-02-07 15:15:40 [5831] [0] INFO: BOXC: 'smsbox-max-pending' not > > set, using default (100). > > 2007-02-07 15:15:40 [5831] [0] INFO: Set SMS resend frequency to 60 > > seconds. > > 2007-02-07 15:15:40 [5831] [0] INFO: SMS resend retry set to > > unlimited. > > 2007-02-07 15:15:40 [5831] [0] INFO: DLR rerouting for smsc id > > <(null)> disabled. > > 2007-02-07 15:15:40 [5831] [0] INFO: Added logfile > > `/var/log/kannel/fakebox.log' with level `0'. > > 2007-02-07 15:15:40 [5831] [0] INFO: > > ---------------------------------------- > > 2007-02-07 15:15:40 [5831] [0] INFO: Kannel bearerbox II version 1.4.1 > > starting > > 2007-02-07 15:15:40 [5831] [0] INFO: MAIN: Start-up done, entering > > mainloop > > 2007-02-07 15:15:40 [5831] [6] INFO: Logging thread `6' to logfile > > `/var/log/kannel/fakebox.log' with level `0'. > > > > > > running fakesmsc: > > Desktop/Kannel/Source/kannel-1.4.1/test/fakesmsc -i 0.1 -m 5 "100 200 > > text nop" "100 300 text echo this" > > bash: Desktop/Kannel/Source/kannel- 1.4.1/test/fakesmsc: No such file > > or directory > > [EMAIL PROTECTED]:~/Desktop$ Kannel/Source/kannel-1.4.1/test/fakesmsc -i > > 0.1 -m 5 "100 200 text nop" "100 300 text echo this" > > 2007-02-07 15:20:40 [5965] [0] INFO: Debug_lvl = -1, log_file = > > <none>, log_lvl = 0 > > 2007-02-07 15:20:40 [5965] [0] INFO: Host localhost Port 10000 > > interval 0.100 max-messages 5 > > 2007-02-07 15:20:40 [5965] [0] INFO: fakesmsc starting > > 2007-02-07 15:20:40 [5965] [0] DEBUG: fakesmsc: sent message 1 > > 2007-02-07 15:20:40 [5965] [0] DEBUG: fakesmsc: sent message 2 > > 2007-02-07 15:20:40 [5965] [0] DEBUG: fakesmsc: sent message 3 > > 2007-02-07 15:20:40 [5965] [0] DEBUG: fakesmsc: sent message 4 > > 2007-02-07 15:20:40 [5965] [0] INFO: fakesmsc: sent message 5 > > > > after that I have these in bearebox.log: > > 2007-02-07 15:20:40 [5831] [4] WARNING: smsbox_list empty! > > 2007-02-07 15:20:40 [5831] [4] WARNING: smsbox_list empty! > > 2007-02-07 15:21:40 [5831] [4] WARNING: smsbox_list empty! > > 2007-02-07 15:21:40 [5831] [4] WARNING: smsbox_list empty! > > > > in table kannel I have only one table dlr, should be there other > > tables too? > > > > > > my kannel.conf: > > > > group = core > > admin-port = 13000 > > admin-password = bar > > admin-deny-ip = "*.*.*.*" > > admin-allow-ip = "127.0.0.1" > > log-file = "/var/log/kannel/bearerbox.log" > > box-deny-ip = "*.*.*.*" > > box-allow-ip = "127.0.0.1" > > smsbox-port = 13001 > > dlr-storage = mysql > > > > group = smsc > > smsc = fake > > log-file = "/var/log/kannel/fakebox.log" > > port = 10000 > > > > group = smsbox > > bearerbox-host = localhost > > > > group = sms-service > > keyword = default > > text = "No action specified" > > > > group = mysql-connection > > id = mydlr > > host = localhost > > username = kannel > > password = kannel > > database = 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 > > > > > > > > -- > > Sincerely Yours, > > Kanat Zaiitov > > > -- Sincerely Yours, Kanat Zaiitov
-- Sincerely Yours, Kanat Zaiitov
