1

我正在尝试使用带有 SMSC 的 SMPP 协议配置 Kannel 以进行短信推送。运营商提供了特定的端口以及用户名和密码。我已经多次阅读 Kannel 用户指南,但找不到“sendsms-user”组的任何端口设置。SMSC 提供商提供了以下示例设置

Uname: smppout
pwd:  smppout
port: 9999

每当我发送 SMS 时,Kannel 响应都是“排队等待稍后发送”。我猜 Kannel 会尝试在某个默认端口上将 SMS 推送到 SMSC。谁能帮我设置发送短信的端口。

4

3 回答 3

0
# Example complete configuration
group  = smsc
smsc   = smpp
smsc-id  = TEST-SMSC
allowed-smsc-id  = TEST-SMSC
host = X.X.X.X
port = 9999
transceiver-mode  = true
smsc-username  = smppout
smsc-password  = smppout
source-addr-ton  = 0
source-addr-npi  = 1
dest-addr-ton  = 0
dest-addr-npi  = 1
system-type  =  ""
address-range  =  ""

'Queued for later delivery' is because the smsc in not **online** which is in **reconnecting stage** , make sure smsc is in online state by checking status from http://xxx.xxx.xxx.xxx:12000/status?password=xxxxxxx
于 2013-09-19T15:49:40.357 回答
0

你的 smsc 组应该看起来像这样

SMPP
Route-SMS
smsc-id = A
group = smsc
smsc = smpp
port = 9999
host = host.ip.address
receive-port = 9999
smsc-username = smppout
smsc-password = smppout
system-type = ""
address-range =
interface-version = 0x34
inquire-link-interval = 60
于 2013-09-04T11:02:44.120 回答
0

如果我正确理解您的问题,您正在尝试连接到某个端口上的 SMSC。为此,您需要使用 group = smsc。它看起来像这样:

group = smsc
smsc = smpp
smsc-id = test
port = 9999
host = <IP>
smsc-username= smppout
smsc-password= smppout
system-type = "VMA"
transceiver-mode=true

“sendsms-user”组是您的提供商用来使 Web 请求能够访问它的组。希望这可以帮助。

于 2013-08-01T15:45:37.783 回答