Siemens S35i, C35i, MC35i AT Command Manual for Download

2021-02-18 Thread Queye Haach
Hi All,

I just found the Siemens S35i, C35i, MC35i AT Command Manual for download
at:

http://jazi.staff.ugm.ac.id/Mobile%20and%20Wireless%20Documents/s35i_c35i_m35i_atc_commandset_v01.pdf

Might help someone, besides me 8-)


Kannel 1.4.5 will not send on Debian Buster using Siemens MC35i

2021-02-18 Thread Queye Haach
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:

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
 from <127.0.0.1>
2021-02-19 14:15:33 [23139] [3] INFO: sendsms used by 
2021-02-19 14:15:33 [23139] [3] INFO: sendsms
sender: (127.0.0.1) to:<00642108094043>
msg:
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: 
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.


SVN Install of Kannel on Raspberry Pi OS (Debian Buster) Compile Error.

2021-02-13 Thread Queye Haach
Hi All,

I was attempting to install Kannel after downloading the CVS sources using
SVN.

After the 'trunk' was successfully installed, I read the README, INSTALL
and NEWS documentation then decided to do a basic compile selecting zero
additional compile FLAGS.

# Process so far
$ cd ~/Projects
$ svn co https://svn.kannel.org/gateway/trunk
...
Atrunk/addons/opensmppbox/bootstrap
U   trunk/addons/opensmppbox
Checked out external at revision 95.

Checked out revision 5304.
$ /home/pi/Projects/trunk
$ ./configure
...
Generating output files ...
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
~/Projects/trunk $ ls Make*
Makefile.am  Makefile.in_old

It would appear that the necessary input file 'Makefile.in' has been
superseded and the compiling reference not updated.

Is this a bug or have I missed something?

Glad to be back experimenting with Kannel, QH.

P.S. Only after sending this message (Which bounced) did I see that another
user had the same problem in early January. Has this been resolved?