Re: WARNING: smsbox_list empty!

2019-12-18 Thread Александр Недзельский
>
> You could have messages in store that are waiting to be routed to an
> smsbox/opensmppbox with id other than your current one.


Davor, thanks, you're supposed to be right: I do see via /store-status
messages that has no BOX ID. Clearing them solves the problem showing error
in logs.
For now im trying to figure out how do they got there among other valid and
sent messages.

Alex, thanks for reply. Warnings were keep popping up after.


С уважением,
Недзельский Александр


ср, 18 дек. 2019 г. в 10:21, Davor Spasoski :

> You could have messages in store that are waiting to be routed to an
> smsbox/opensmppbox with id other than your current one.
> Davor
>
> On Dec 18, 2019, at 02:00, Александр Недзельский 
> wrote:
>
> 
> Hi,
>
> I've searched through similar topics, checked
> https://www.kannel.org/download/1.4.4/gateway-1.4.4/gw/bb_boxc.c, but
> still cannot find a solution:
>
> Upon start and after I see in bearerbox.log multiple messages at moment,
> repeating periodically:
>
> 2019-12-18 03:09:40 [26216] [4] WARNING: smsbox_list empty!
>> 2019-12-18 03:09:40 [26216] [4] WARNING: smsbox_list empty!
>> 2019-12-18 03:09:40 [26216] [4] WARNING: smsbox_list empty!
>> 2019-12-18 03:09:40 [26216] [4] WARNING: smsbox_list empty!
>> 2019-12-18 03:09:40 [26216] [4] WARNING: smsbox_list empty!
>> 2019-12-18 03:09:40 [26216] [4] WARNING: smsbox_list empty!
>> 2019-12-18 03:09:40 [26216] [4] WARNING: smsbox_list empty!
>> 2019-12-18 03:09:40 [26216] [4] WARNING: smsbox_list empty!
>
>
> At the same time all messages are sending and everything is workin fine.
>
> I've tried changing config in smsbox-route and smsbox part but no success.
>
> My kannel.conf:
>
> group = core
>> admin-port = 13000
>> admin-password = [deleted]
>> status-password = [deleted]
>> log-file = "/var/log/kannel/bearerbox.log"
>> log-level = 0
>> store-type = spool
>> store-location = "/var/spool/kannel"
>> box-deny-ip = "*.*.*.*"
>> box-allow-ip = "[deleted]"
>> smsbox-port = 13001
>
>
>
> group = smsbox
>> smsbox-id = smsbox
>> bearerbox-host = localhost
>> bearerbox-port = 13001
>> sendsms-port = 13007
>> sendsms-url = /mt.cgi
>> log-file = "/var/log/kannel/smsbox.log"
>> access-log = "/var/log/kannel/smsbox.access.log"
>> mo-recode = true
>> log-level = 0
>
>
>
> group = smsbox-route
>> smsbox-id = smsbox
>
>
>
> group = sendsms-user
>> username = [deleted]
>> password = [deleted]
>> concatenation = true
>> max-messages = 10
>
>
>
> group = smsc
>> smsc = fake
>> smsc-id = fake
>> allowed-smsc-id = fake
>> port = 1
>> connect-allow-ip = 127.0.0.1
>
>
>
> group = smsc
>> smsc = smpp
>> smsc-id = [deleted]
>> allowed-smsc-id = [deleted]
>> log-file = "/var/log/kannel/[deleted].log"
>> smsc-username = "[deleted]"
>> smsc-password = "[deleted]"
>> host = [deleted]
>> port = 4442
>> transceiver-mode = true
>> system-type= ""
>> service-type = ""
>> address-range = ""
>> source-addr-ton = 0
>> source-addr-npi = 1
>> dest-addr-ton = 1
>> dest-addr-npi= 1
>> log-level = 0
>> alt-charset=ucs-2be
>> connection-timeout = 300
>
>
> Thank you for your help!
>
>
> С уважением,
> Недзельский Александр
>
>
> --
>
> Disclaimer: A1 Makedonija DOOEL Skopje
> This e-mail (including any attachments) is confidential and may be
> protected by legal privilege. If you are not the intended recipient, you
> should not copy it, re-transmit it, use it or disclose its contents, but
> should return it to the sender immediately and delete your copy from your
> system. Any unauthorized use or dissemination of this message in whole or
> in part is strictly prohibited. Please note that e-mails are susceptible to
> change. A1 Makedonija DOOEL Skopje shall not be liable for the improper or
> incomplete transmission of the information contained in this communication
> nor for any delay in its receipt or damage to your system.
> Please, do not print this e-mail unless it is necessary! Think about
> saving the environment!
>
> Напомена: А1 Македонија ДООЕЛ Скопје
> Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да
> биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му е
> наменета пораката, не треба да ја копирате, дистрибуирате или да ја
> откривате нејзината содржина, туку веднаш да ја препратите до испраќачот и
> да ја избришете оригиналната порака и сите нејзини копии од Вашиот
> компјутерски систем. Секое неовластено користење на оваа порака во целост
> или делови од истата е строго забрането. Ве молиме да забележите дека
> електронските пораки се подложни на промени. А1 Македонија ДООЕЛ Скопје не
> презема одговорност за несоодветно или нецелосно пренесување на
> информациите содржани во оваа комуникација, ниту пак за било какво
> задоцнување на приемот или оштетувања на вашиот систем.
> Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте
> ја природата!
>


Re: WARNING: smsbox_list empty!

2019-12-18 Thread Alexander Malysh
Hi,

this warning can popup in the startup phase of bearerbox when 
smsbox/opensmppbpx is still not connected to bearerbox and messages have to be 
routed already.
if it works afterwards and no such warnings are popping up after startup then 
nothing to worry about.

Thanks,
Alex


> Am 18.12.2019 um 01:59 schrieb Александр Недзельский :
> 
> Hi,
> 
> I've searched through similar topics, checked 
> https://www.kannel.org/download/1.4.4/gateway-1.4.4/gw/bb_boxc.c 
> , but still 
> cannot find a solution:
> 
> Upon start and after I see in bearerbox.log multiple messages at moment, 
> repeating periodically:
> 
> 2019-12-18 03:09:40 [26216] [4] WARNING: smsbox_list empty!
> 2019-12-18 03:09:40 [26216] [4] WARNING: smsbox_list empty!
> 2019-12-18 03:09:40 [26216] [4] WARNING: smsbox_list empty!
> 2019-12-18 03:09:40 [26216] [4] WARNING: smsbox_list empty!
> 2019-12-18 03:09:40 [26216] [4] WARNING: smsbox_list empty!
> 2019-12-18 03:09:40 [26216] [4] WARNING: smsbox_list empty!
> 2019-12-18 03:09:40 [26216] [4] WARNING: smsbox_list empty!
> 2019-12-18 03:09:40 [26216] [4] WARNING: smsbox_list empty!
> 
> At the same time all messages are sending and everything is workin fine.
> 
> I've tried changing config in smsbox-route and smsbox part but no success.
> 
> My kannel.conf:
> 
> group = core
> admin-port = 13000
> admin-password = [deleted]
> status-password = [deleted]
> log-file = "/var/log/kannel/bearerbox.log"
> log-level = 0
> store-type = spool
> store-location = "/var/spool/kannel"
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "[deleted]"
> smsbox-port = 13001
>  
> group = smsbox
> smsbox-id = smsbox
> bearerbox-host = localhost
> bearerbox-port = 13001
> sendsms-port = 13007
> sendsms-url = /mt.cgi
> log-file = "/var/log/kannel/smsbox.log"
> access-log = "/var/log/kannel/smsbox.access.log"
> mo-recode = true
> log-level = 0
>  
> group = smsbox-route
> smsbox-id = smsbox 
>  
> group = sendsms-user
> username = [deleted]
> password = [deleted]
> concatenation = true
> max-messages = 10 
>  
> group = smsc
> smsc = fake
> smsc-id = fake
> allowed-smsc-id = fake
> port = 1
> connect-allow-ip = 127.0.0.1 
>  
> group = smsc
> smsc = smpp
> smsc-id = [deleted]
> allowed-smsc-id = [deleted]
> log-file = "/var/log/kannel/[deleted].log"
> smsc-username = "[deleted]"
> smsc-password = "[deleted]"
> host = [deleted]
> port = 4442
> transceiver-mode = true
> system-type= ""
> service-type = ""
> address-range = ""
> source-addr-ton = 0
> source-addr-npi = 1
> dest-addr-ton = 1
> dest-addr-npi= 1
> log-level = 0
> alt-charset=ucs-2be
> connection-timeout = 300
> 
> Thank you for your help!
> 
> 
> С уважением,
> Недзельский Александр