我希望有人可以为我阐明多部分短信。
目前,如果字符少于 140 个字符,则 kannel 中的以下配置适用于向移动设备发送消息。我想要的是,如果消息包含 140 个字符,则消息将作为 1 条 SMS 消息而不是 2 或 3 条单独的 SMS 消息传递到手机。
我从我们的上游 SMPP 提供商那里得到的指导是“需要 sar_msg_ref_num 来构建多部分消息”。
但我不知道从哪里开始配置 kannel 以满足该要求。
任何有关相关材料的提示或指示将不胜感激:
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
dlr-storage = mysql
log-file = "/var/log/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "x.x.x.x"
sms-combine-concatenated-mo = true
#iTouch SMPP Server
group = smsc
smsc = smpp
smsc-id = iTouch
interface-version = 34
host = SMPP_PROVIDER
port=9500
smsc-username = SMPP_USRNAME
smsc-password = SMPP_PASSWD
system-type = kannel
transceiver-mode = true
msg-id-type = 0x01
throughput = 15
group = smsbox
bearerbox-host = x.x.x.x
sendsms-port = 13013
log-level = 0
group = mysql-connection
id = mydlr
host = localhost
username = kannel
password = **********
database = kannel
max-connections = 1
#DLR DB GROUP
group = dlr-db
id = mydlr
table = msg_pending
field-smsc = smsc
field-timestamp = ts
field-source = source
field-destination = destination
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc
group = sendsms-user
username = linux
password = t3mp0
max-messages = 3
concatenation = 1
default-sender = 99999999