playSMS Forum

Kannel is not resending messages with NACK

Hello,
The question is basically about Kannel, not PlaySMS but I hope there are lots of Kannel users who can help me. I have a problem that Kannel is not resending messages which got NACK error like this:
2021-08-16 12:02:55 FAILED Send SMS [SMSC:kannel] [SVC:playsms] [ACT:admin] [BINF:] [FID:] [META:?smpp_resp?] [from:1234] [to:77906XXXXXX] [flags:-1:0:-1:-1:31] [msg:40:B4, we usd 2 go 2 NY 2C my bro, his GF44] [udh:0:] 2021-08-16 12:02:55 Receive DLR [SMSC:kannel] [SVC:playsms] [ACT:] [BINF:] [FID:] [META:?smpp_resp?] [from:1234] [to:77906XXXXXX] [flags:-1:-1:-1:-1:16] [msg:73:NACK/0x00000400/Vendor-specific error, please refer to your SMPP provider] [udh:0:]

I want such messages to be resent, so I can get 100% of delivery rate, yet I cannot find proper settings, please have a look and advise:

CORE

================================================================================

group = core
admin-password = pass
status-password = pass
admin-port = 13000
admin-deny-ip = ...
admin-allow-ip = 127.0.0.1
smsbox-interface = 127.0.0.1
smsbox-port = 13001
box-deny-ip = ...
box-allow-ip = 127.0.0.1
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/access.log
store-type = spool
store-location = /var/spool/kannel/store
smsbox-max-pending = 100
sms-resend-retry = -1

SMSBOX

================================================================================

group = smsbox
smsbox-id = smsbox1
bearerbox-host = localhost
bearerbox-port = 13001
sendsms-interface = 127.0.0.1
sendsms-port = 13131
sendsms-chars = "0123456789+ "
log-file = /var/log/kannel/smsbox1.log
log-level = 0
access-log = /var/log/kannel/access.log

================================================================================

group = smsc
smsc-id = smpp1
smsc = fake
port = 10001

group = smsc
smsc-id = kannel
smsc = smpp
host = 10.50.1.189
smsc-username = user
smsc-password = pass
port = 2775
system-type=“VMA”
wait-ack-expire = 0x01
wait-ack=600
window = 2
throughput = 1
flow-control = 0

================================================================================

group = smsbox-route
smsbox-id = smsbox1
smsc-id = smpp1

group = smsbox-route
smsbox-id = smsbox1
smsc-id = smpp2

SENDSMS-USER - Outgoing SMS

================================================================================

group = sendsms-user
smsc=smpp1
default-smsc = none
username = user
password = pass
max-messages = 6
concatenation = true

SMS SERVICE - Incoming SMS

================================================================================

group = sms-service
keyword = default
omit-empty = true
max-messages = 0
get-url = “http://localhost/playsms/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a&Q=%Q&smsc=%i”`