使用SMPP在特定端口上通过Kannel发送SMS

时间:2013-07-11 18:41:22

标签: kannel

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

Uname: smppout
pwd:  smppout
port: 9999

当我发送短信时,Kannel的响应是“排队等待以后发送”。我猜Kannel试图在某个默认端口上将SMS推送到SMSC。可以帮我设置发送短信的端口。

3 个答案:

答案 0 :(得分: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

“发送用户”组是您的提供商用来启用Web请求以及其他内容的用户。希望这会有所帮助。

答案 1 :(得分: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

答案 2 :(得分: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