I suppose, I've found the reason and just in case it could be useful for
someone, I'll describe it:

   1. SMSC sends deliver_sm "stat:SEEN" for Viber messages with wrong
   "esm_class: 0" for DLR same as described here:
   https://www.kannel.org/pipermail/devel/2016-June/006004.html
   2. That messages was added in store queue as MO with no BOX ID.
   3. I had smsbox-id set, but smsbox-route - hadn't, so I got "WARNING:
   smsbox_list empty!" log messages growing.
   https://www.kannel.org/pipermail/users/2015-November/022479.html
   https://www.kannel.org/pipermail/users/2006-August/000279.html
   4. After I commented out smsbox-id this MO messages started to be
   replied back by kannel with default reply-requestfailed "Request failed"
   message. Each of this message SEEN by end user was spawning more "Request
   failed" messages recursively.
   5. As a workaround group = sms-service may be used:
   https://www.kannel.org/pipermail/users/2008-June/005074.html

As for now -- I still waiting for an answer from operator.


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


чт, 19 дек. 2019 г. в 04:33, Александр Недзельский <to.na...@gmail.com>:

> 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 <davor.spaso...@a1.mk>:
>
>> 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, Александр Недзельский <to.na...@gmail.com>
>> 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 = 10000
>>> 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 Македонија ДООЕЛ Скопје не
>> презема одговорност за несоодветно или нецелосно пренесување на
>> информациите содржани во оваа комуникација, ниту пак за било какво
>> задоцнување на приемот или оштетувања на вашиот систем.
>> Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте
>> ја природата!
>>
>

Reply via email to