【问题标题】:Sending SMS through Kannel on specific port using SMPP使用 SMPP 在特定端口上通过 Kannel 发送 SMS
【发布时间】:2013-07-11 18:41:22
【问题描述】:

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

Uname: smppout
pwd:  smppout
port: 9999

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

【问题讨论】:

    标签: kannel


    【解决方案1】:

    如果我正确理解您的问题,您正在尝试连接到某个端口上的 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”组是您的提供商用来使网络请求能够命中它的组。希望这会有所帮助。

    【讨论】:

      【解决方案2】:

      你的短信群应该是这样的

      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
      

      【讨论】:

        【解决方案3】:
        # 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
        

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          相关资源
          最近更新 更多