0

我使用Jasmin 短信网关,我必须连接到服务器: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
4

2 回答 2

0

我仍然相信 Jasmin 可以通过我的服务提供商进行配置,但我不知道所有JasminSMS设置,就像NowSMS一样有效,而且我用于测试,我截取了配置截图,如果有人可以帮助我找到缺少的 2 个参数,systype smpp被接受,但也可能是SMSC 字符集,其值应为:IA5 (GSM)。

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

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

于 2018-04-13T10:03:19.433 回答
0

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

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

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

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

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

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

于 2019-01-18T06:33:23.123 回答