Hi All,

I am using Kannel 1.4.5, installed using Apt on a vanilla Debian Buster,
with a Siemens MC35i GSM Modem connected by a USB>RS232 converter.

Yesterday I had all the daemons working, can still check STATUS & SEND an
SMS using HTTP and/or Curl, however the SMS will only ever be queued, never
sent.

'tail -f /var/log/kannel/kannel.log'

2021-02-19 14:15:29 [14153] [3] DEBUG: HTTP: Resetting HTTPClient for
`192.168.1.165'.
2021-02-19 14:15:30 [14153] [3] DEBUG: HTTP: Resetting HTTPClient for
`192.168.1.165'.
2021-02-19 14:15:33 [14153] [10] DEBUG: boxc_receiver: sms received
2021-02-19 14:15:33 [14153] [10] DEBUG: send_msg: sending msg to boxc:
<testgarden>
2021-02-19 14:15:35 [14153] [6] DEBUG: AT2[MC35i]: TP-Validity-Period: 24.0
hours
2021-02-19 14:15:35 [14153] [6] DEBUG: AT2[MC35i]: --> AT+CMGS=34^M
2021-02-19 14:15:35 [14153] [6] DEBUG: AT2[MC35i]: <--
2021-02-19 14:15:35 [14153] [6] DEBUG: AT2[MC35i]: <-- >
2021-02-19 14:15:35 [14153] [6] DEBUG: AT2[MC35i]: send command status: 1
2021-02-19 14:15:35 [14153] [6] DEBUG: AT2[MC35i]: -->
0011000C9146128090043400F1A716D2F7BC9C6F49CBE4C8312D0F9BCDE5882C179B01
2021-02-19 14:15:35 [14153] [6] DEBUG: AT2[MC35i]: --> ^Z
2021-02-19 14:15:35 [14153] [6] DEBUG: AT2[MC35i]: <-- ERROR
2021-02-19 14:15:35 [14153] [6] ERROR: AT2[MC35i]: Generic error: ERROR
2021-02-19 14:15:35 [14153] [6] DEBUG: AT2[MC35i]: send command status: -1
2021-02-19 14:15:35 [14153] [7] DEBUG: sms_router: handling message
(0xf2f01d70 vs 0xf2f01d70)
2021-02-19 14:15:35 [14153] [7] DEBUG: re-queing SMS not-yet-to-be resent
2021-02-19 14:15:35 [14153] [7] DEBUG: sms_router: handling message
(0xf2f01d70 vs 0xf2f01d70)
2021-02-19 14:15:35 [14153] [7] DEBUG: re-queing SMS not-yet-to-be resent
2021-02-19 14:15:35 [14153] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2021-02-19 14:15:47 [14153] [6] DEBUG: AT2[MC35i]: --> AT+CSQ^M
2021-02-19 14:15:47 [14153] [6] DEBUG: AT2[MC35i]: <-- +CSQ: 13,0
2021-02-19 14:15:47 [14153] [6] DEBUG: AT2[MC35i]: <-- OK
2021-02-19 14:15:59 [14153] [6] DEBUG: AT2[MC35i]: --> AT+CSQ^M
2021-02-19 14:15:59 [14153] [6] DEBUG: AT2[MC35i]: <-- +CSQ: 13,0
2021-02-19 14:15:59 [14153] [6] DEBUG: AT2[MC35i]: <-- OK
2021-02-19 14:16:05 [14153] [7] DEBUG: sms_router: gwlist_len = 1
2021-02-19 14:16:05 [14153] [7] DEBUG: sms_router: handling message
(0xf2f01d70 vs 0xf2f01d70)
2021-02-19 14:16:05 [14153] [7] DEBUG: re-queing SMS not-yet-to-be resent
2021-02-19 14:16:05 [14153] [7] DEBUG: sms_router: handling message
(0xf2f01d70 vs 0xf2f01d70)
2021-02-19 14:16:05 [14153] [7] DEBUG: re-queing SMS not-yet-to-be resent
2021-02-19 14:16:05 [14153] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2021-02-19 14:16:11 [14153] [6] DEBUG: AT2[MC35i]: --> AT+CSQ^M
2021-02-19 14:16:11 [14153] [6] DEBUG: AT2[MC35i]: <-- +CSQ: 13,0
2021-02-19 14:16:11 [14153] [6] DEBUG: AT2[MC35i]: <-- OK

'tail -f /var/log/kannel/smsbox.log'

2021-02-19 14:15:33 [23139] [2] DEBUG: HTTP: Creating HTTPClient for
`127.0.0.1'.
2021-02-19 14:15:33 [23139] [2] DEBUG: HTTP: Created HTTPClient area
0xf2d00a70.
2021-02-19 14:15:33 [23139] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <127.0.0.1>
2021-02-19 14:15:33 [23139] [3] INFO: sendsms used by <smsadmin>
2021-02-19 14:15:33 [23139] [3] INFO: sendsms
sender:<smsadmin:0064277557774> (127.0.0.1) to:<00642108094043>
msg:<Rosey-Red_Giraffe_2913>
2021-02-19 14:15:33 [23139] [3] DEBUG: Stored UUID
c0d936e0-741a-42d9-9d0e-3ec3d9c92741
2021-02-19 14:15:33 [23139] [3] DEBUG: message length 22, sending 1 messages
2021-02-19 14:15:33 [23139] [3] DEBUG: Status: 202 Answer: <Sent.>
2021-02-19 14:15:33 [23139] [3] DEBUG: Delayed reply - wait for bearerbox
2021-02-19 14:15:33 [23139] [0] DEBUG: Got ACK (0) of
c0d936e0-741a-42d9-9d0e-3ec3d9c92741
2021-02-19 14:15:33 [23139] [0] DEBUG: HTTP: Resetting HTTPClient for
`127.0.0.1'.
2021-02-19 14:15:33 [23139] [1] DEBUG: HTTP: Destroying HTTPClient area
0xf2d00a70.
2021-02-19 14:15:33 [23139] [1] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.

I am reasonably confident that the SMSBOX/SMSC configs are correct, however
there seems to be an issue with the BEARERBOX. I have done extensive
searching of the "DEBUG: Got ACK (0) of
c0d936e0-741a-42d9-9d0e-3ec3d9c92741" string inconjunction with "mc35i" and
believe that the modem strings are functional.

Can anyone see a glaring deficiency or another possible route to
investigate? My view is that the BEARERBOX is not being made available to
manage the SMS from the SMSBOX, and hence Kannel just queues, then discards
the SMS.

Regards, Queye.

Reply via email to