【发布时间】:2017-06-12 11:27:04
【问题描述】:
我的 SMS 服务提供商要求我在通过 SMPP 连接到他时设置以下 TLV 参数:
- 价格点 (0x1400)
- 产品 (0x1401)
- 合作伙伴角色 ID (0x1402)
如何在 Kannel 中进行配置,因为这是我第一次使用这个 SMPP 客户端应用程序,我在 Kannel.conf 文件中设置了以下数据,但是当我推送/发送消息时,网关没有感觉我设置的 TLV。
group = smpp-tlv
name = PRICEPOINT
tag = 0x1400
type = integer
length = 4
smsc-id = SMSC01
group = smpp-tlv
name = PRODUCT
tag = 0x1401
type = integer
length = 4
smsc-id = SMSC01
group = smpp-tlv
name = PARTNERROLEID
tag = 0x1402
type = integer
length = 4
smsc-id = SMSC01
但在实时 TCP 跟踪中,我没有找到它:
【问题讨论】:
-
另外,我需要知道我应该在 SendSms HTTP 回调中发送一些东西,还是只在 Kannel.conf 中设置 TLV 参数?