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

Reply via email to