卡内尔:可能是Sim存储满了?我去看看吧(500)

问题描述 投票:1回答:1

服务器正常发送短信,但在某一时刻我收到了这个错误。ERROR: Unknown error. ->可能是Sim存储满了?我去看看。(500)

这是我的日志。

2016-05-25 14:24:53 [27725] [6] DEBUG: AT2[A]: TP-Validity-Period: 24.0 hours
2016-05-25 14:24:53 [27725] [6] DEBUG: AT2[A]: --> AT+CMGS=17^M
2016-05-25 14:24:53 [27725] [6] DEBUG: AT2[A]: <-- >
2016-05-25 14:24:53 [27725] [6] DEBUG: AT2[A]: send command status: 1
2016-05-25 14:24:53 [27725] [6] DEBUG: AT2[A]: --> 0011000A8170440674530000A704E872390F
2016-05-25 14:24:53 [27725] [6] DEBUG: AT2[A]: --> ^Z
2016-05-25 14:24:53 [27725] [6] DEBUG: AT2[A]: <-- >
2016-05-25 14:25:14 [27725] [6] DEBUG: AT2[A]: send command status: 1
2016-05-25 14:25:14 [27725] [7] DEBUG: sms_router: handling message (0x7f2934000fc0 vs 0x7f2934000fc0)
2016-05-25 14:25:14 [27725] [7] DEBUG: re-queing SMS not-yet-to-be resent
2016-05-25 14:25:14 [27725] [7] DEBUG: sms_router: handling message (0x7f2934000fc0 vs 0x7f2934000fc0)
2016-05-25 14:25:14 [27725] [7] DEBUG: re-queing SMS not-yet-to-be resent
2016-05-25 14:25:14 [27725] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2016-05-25 14:25:18 [27725] [6] DEBUG: AT2[A]: <- +CMS ERROR: 500
2016-05-25 14:25:18 [27725] [6] ERROR: AT2[A]: CMS ERROR: +CMS ERROR: 500
2016-05-25 14:25:18 [27725] [6] ERROR: AT2[A]: CMS ERROR: Unknown error. -> maybe Sim storage is full? I'll have a look at it. (500)
2016-05-25 14:25:44 [27725] [7] DEBUG: sms_router: gwlist_len = 1
2016-05-25 14:25:44 [27725] [7] DEBUG: sms_router: handling message (0x7f2934000fc0 vs 0x7f2934000fc0)
2016-05-25 14:25:44 [27725] [7] DEBUG: re-queing SMS not-yet-to-be resent
2016-05-25 14:25:44 [27725] [7] DEBUG: sms_router: handling message (0x7f2934000fc0 vs 0x7f2934000fc0)
2016-05-25 14:25:44 [27725] [7] DEBUG: re-queing SMS not-yet-to-be resent
2016-05-25 14:25:44 [27725] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2016-05-25 14:26:14 [27725] [7] DEBUG: sms_router: gwlist_len = 1
2016-05-25 14:26:14 [27725] [7] DEBUG: sms_router: handling message (0x7f2934000fc0 vs 0x7f2934000fc0)
2016-05-25 14:26:14 [27725] [7] DEBUG: Message routed successfully.

我试着用以下方法来解决这个问题:

  • 我为sendsms-user组配置了max-messages=100,然后重新启动了服务器,但结果还是一样。
  • 我配置了sim-buffering = true和message-storage = "SM",然后重新启动了服务器,但结果还是一样。

我已经查过了

  • SIM卡有积分
  • 接收机的电话号码是正确的。

谢谢你的帮助。

Valentin

sms kannel
1个回答
0
投票

我用了这个,果然有效。只要把内核升级到1.4.5或1.5.0的添加到。

group = modems

message-start = 0 

之后就没有再发生了,希望这个对你有用。

© www.soinside.com 2019 - 2024. All rights reserved.