NACK / 0x00000061 / Kannel中的无效预定传递时间错误

时间:2016-10-28 08:17:16

标签: smpp kannel

我一直在尝试使用 Kannel sqlbox 配置SMS网关服务。我的系统已成功连接到Airtel SMSC。但每当我尝试发送短信(当然在send_sms表中插入数据)时,我从SMSC得到了这个奇怪的回应

  

NACK / 0x00000061 /无效的预定交货时间

但我没有提及预定的交货时间。 这是SMSC方面的日志

enter image description here

这是我的kannel配置

#CORE
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = rasello
status-password = rasello
admin-allow-ip = "*.*.*.*"
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
#store-file = "/var/log/kannel/kannel.store"
log-level = 0
#box-deny-ip = "*.*.*.*"
box-allow-ip = "*.*.*.*"
dlr-storage=mysql

#SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
bearerbox-port = 13001
log-file = "/var/log/kannel/smsbox.log"
log-level = 0

# SEND-SMS USERS
group = sendsms-user
username = username
password = password
default-smsc = rasello

#mysql connection
group = mysql-connection
id = sqlbox-db
host = localhost
port = 3306
username = root
password = N3pal@312
database = kannel
max-connections = 10

# DLR SETUP
#mysql connection
group = mysql-connection
id = mydlr
host = localhost
username = root
password = N3pal@312
database = kannel
max-connections = 10

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

# SMSC SMPP
group = smsc
smsc-id = rasello
smsc = smpp
host = ip
port = port
transceiver-mode = false
smsc-username = username
smsc-password = password
system-type = smpp
interface-version = 34
address-range = ""

#SMS SERVICE GET-URL 
group = sms-service
keyword = default
send-sender = true
get-url = "http://localhost/receivesms?phone=%p&text=%a"

请帮助解决此问题

1 个答案:

答案 0 :(得分:1)

你必须联系你的SMPP提供商这个因为他们拒绝你的短信与这个NACK