【问题标题】:Jasmin sms : Bind failed on smpp-1-ire.smscarrier.com:8011Jasmin 短信:在 smpp-1-ire.smscarrier.com:8011 上绑定失败
【发布时间】:2018-09-20 08:20:41
【问题描述】:

我使用 Jasmin sms Gateway,我必须连接到服务器:smpp-1-ire.smscarrier.com 的 8011 端口,我按照您的说明进行操作,但是我无法连接,所有其他配置和测试工作正常:

Establishing TCP connection to smpp-1-ire.smscarrier.com:8011
2018-04-10 15:24:06 INFO 11188 Connecting to IPv4Address(TCP, 'smpp-1-ire.smscarrier.com', 8011) ...
2018-04-10 15:24:07 WARNING 11188 SMPP connection established from 52.31.169.62 to port 51982
2018-04-10 15:24:07 INFO 11188 Connection made to smpp-1-ire.smscarrier.com:8011
2018-04-10 15:24:07 WARNING 11188 Requesting bind as transceiver
2018-04-10 15:24:07 ERROR 11188 Bind failed [[Failure instance: Traceback (failure with no frames): <class 'jasmin.vendor.smpp.pdu.error.SMPPTransactionError'>: ESME_RBINDFA$
]]. Disconnecting...

我试图在 jasmin.cfg 上更改 8011 中的 2275 监听端口,没有...

但这有效:

  • 系统ID:测试
  • 密码:测试
  • 主机:smsc-sim.smscarrier.com
  • 端口:2775

日志:

*2018-04-10 17:35:21 INFO     14022 Establishing TCP connection to smsc-sim.smscarrier.com:2775
2018-04-10 17:35:21 INFO     14022 Connecting to IPv4Address(TCP, 'smsc-sim.smscarrier.com', 2775) ...
2018-04-10 17:35:21 WARNING  14022 SMPP connection established from 35.177.141.136 to port 48570
2018-04-10 17:35:21 INFO     14022 Connection made to smsc-sim.smscarrier.com:2775
2018-04-10 17:35:21 WARNING  14022 Requesting bind as transceiver*
2018-04-10 17:35:21 WARNING  14022 Bind succeeded...now in state BOUND_TRX

【问题讨论】:

  • 如果您无法绑定,这很可能是 SMS 网关未正确配置的情况。我不熟悉那个网关,但它可能与 SMSC 中的相同。有时系统类型也很重要(不仅仅是端口、systemid 和密码),以及可以绑定到的收发器、发射器和接收器的最大数量。

标签: sms sms-gateway smpp jasmin-sms


【解决方案1】:

我建议改进对 SMPP 绑定请求、打印请求参数和响应错误代码的错误响应的日志记录。也可以查看SMPP specification 以了解错误代码的含义。潜在原因:

  • 以下参数值至少有一个错误:system_id、system_type 或密码。

  • 您的绑定请求者源主机 IP 未在 SMPP 服务器端列入白名单。

  • SMPP 服务器端可能拒绝使用相同的 system_id 进行第二个客户端绑定。

  • SMPP 服务可能已强制使用地址范围参数

  • 您的 API 端可能存在 system_id 或密码字符长度限制

【讨论】:

    【解决方案2】:

    我仍然相信 Jasmin 可以使用我的服务提供商进行配置,但我不知道所有 JasminSMS 设置,因为 NowSMS 它有效,而且我用于测试,我拿了一个 screenshot of the configuration,如果有人可以帮我找到缺少的 2 个参数,systype smpp 可以接受,但也可能是 SMSC Character Set,其值应为:IA5 (GSM)。

    JasminSMS 网关可能与该提供商不兼容,鉴于 Jasmin 的恶名,它仍然是非凡的。

    无论如何,谢谢你的帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-06-23
      • 1970-01-01
      • 2014-02-21
      • 1970-01-01
      • 1970-01-01
      • 2012-08-03
      • 1970-01-01
      相关资源
      最近更新 更多