|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Fri May 09, 2025 08:35 |
Page: 1
Keywords: Mode: All keywords (AND) |
Thu Jan 17, 2019 22:10
|
Kaulquappe: After a few months testing with the €185 device MTD-H5-2.0: Doesn't run stable with smstools too, at least when used to receive SMS.
|
Sat Sep 01, 2018 20:55
|
Kaulquappe: I've now bought two MTD-H5-2.0 as suggested by Machtl. I hope they work and will come back when I have results.
|
Sat Sep 01, 2018 16:41
|
Kaulquappe: I've tested the K3772 with smstools now for long time: It does not work for long-term use. It works a day and then stops working. I don't know if smstools or the K3772 is the reason for this.
|
Thu Aug 16, 2018 09:06
|
Kaulquappe: Thats correct but it is €185 and a Huawei Stick is €5.
|
Sun Aug 12, 2018 23:15
|
Kaulquappe: Now I only get hundreds of them while modem is working:
2018-08-12 23:04:30,3, DE0: Unexpected input: ^STIN: 7, 0, 0 ^STIN: 7, 0, 0
2018-08-12 23:04:43,3, DE0: Unexpected input: ^STIN: 7, 0, 0 ^STIN: 7, 0, 0
2018-08-12 23:04:57,3, DE0: Unexpected input: ^STIN: 7, 0, 0 ^STIN: 7, 0, 0
2018-08-12 23:05:00,3, DE0: Unexpected input: ^STIN: 7, 0, 0
2018-08-12 23:05:10,3, DE0: Unexpected input: ^STIN: 7, 0, 0 ^STIN: 7, 0, 0
2018-08-12 23:05:23,3, DE0: Unexpected input: ^STIN: 7, 0, 0 ^STIN: 7, 0, 0
2018-08-12 23:05:37,3, DE0: Unexpected input: ^STIN: 7, 0, 0 ^STIN: 7, 0, 0
2018-08-12 23:05:40,3, DE0: Unexpected input: ^STIN: 7, 0, 0
2018-08-12 23:05:50,3, DE0: Unexpected input: ^STIN: 7, 0, 0 ^STIN: 7, 0, 0
2018-08-12 23:06:03,3, DE0: Unexpected input: ^STIN: 7, 0, 0 ^STIN: 7, 0, 0
2018-08-12 23:06:17,3, DE0: Unexpected input: ^STIN: 7, 0, 0 ^STIN: 7, 0, 0
2018-08-12 23:06:20,3, DE0: Unexpected input: ^STIN: 7, 0, 0
2018-08-12 23:06:30,3, DE0: Unexpected input: ^STIN: 7, 0, 0 ^STIN: 7, 0, 0
2018-08-12 23:06:43,3, DE0: Unexpected input: ^STIN: 7, 0, 0 ^STIN: 7, 0, 0
2018-08-12 23:06:57,3, DE0: Unexpected input: ^STIN: 7, 0, 0 ^STIN: 7, 0, 0
|
Tue Aug 07, 2018 18:33
|
Kaulquappe: Operating system name and version: Debian 9.4 (Stretch)
Version of smsd: 3.1.15
Smsd installed from: package repository
Name and model of a modem / phone: Huawei Technologies Co., Ltd. K3772
Interface: /dev/ttyGSM0
When I remove my USB modem I get this error messages:
2018-08-07 17:38:09,3, AT0: write_to_modem: error 5: Input/output error
2018-08-07 17:38:19,3, AT0: write_to_modem: error 5: Input/output error
2018-08-07 17:38:30,3, AT0: write_to_modem: error 5: Input/output error
The problem is: When I reconnect the USB modem the error messages keep showing up, they do not go away. smsd does not realize that the interface is available again.
The interface (/dev/ttyGSM0) does not change because it gets automatically symlinked by udev, so that does not cause the issue:
/etc/udev/rules.d/20-gsm0.rules
SUBSYSTEMS=="usb", KERNELS=="1-1.5:1.0", SYMLINK+="ttyGSM0"
|
Tue Aug 07, 2018 18:26
|
Kaulquappe: Currently I use the K3772. I'm not sure if it is stable for long-term use but so far both receiving and sending of SMS work.
|
Mon Aug 06, 2018 13:09
|
Kaulquappe: Now I also get these errors:
2018-08-06 12:24:49,3, AT0: Error: Modem is not registered to the network
2018-08-06 12:28:20,3, AT0: Error: Modem is not registered to the network
2018-08-06 12:31:52,3, AT0: Error: Modem is not registered to the network
Hundreds of them:
2018-08-05 21:10:43,3, AT0: Unexpected input: ^STIN: 7, 0, 0
2018-08-05 21:10:55,3, AT0: Unexpected input: ^STIN: 7, 0, 0 ^STIN: 7, 0, 0
|
Thu Aug 02, 2018 07:32
|
Kaulquappe: Operating system name and version: Debian 9.4 (Stretch)
Version of smsd: 3.1.15
Smsd installed from: package repository
Name and model of a modem / phone: Huawei Technologies Co., Ltd. K3772
Interface: /dev/ttyUSB0
As I want the SMS to be UTF-8 I use incoming_utf8 = yes and decode_unicode_text = yes.
But when I send a SMS with following content
Äezc
the Ä is lost:
From: ...
From_TOA: 91 international, ISDN/telephone
From_SMSC: 4369900XXX
Sent: 18-08-02 09:29:18
Received: 18-08-02 09:29:32
Subject: AT0
Modem: AT0
IMSI: 232056312XXXXXX
Report: no
Alphabet: UTF-8
Length: 4
ezc
incoming_utf8 = yes
[AT0]
memory_start = 0
device = /dev/ttyUSB0
incoming = yes
keep_open = yes
decode_unicode_text = yes
baudrate = 19200
signal_quality_ber_ignore = yes
report_device_details = yes
|
Thu Aug 02, 2018 07:07
|
Kaulquappe: Operating system name and version: Debian 9.4 (Stretch)
Version of smsd: 3.1.15
Smsd installed from: package repository
Name and model of a modem / phone: Huawei Technologies Co., Ltd. K3772
Interface: /dev/ttyUSB0
Hi!
I got the following error message when starting the modem:
2018-08-01 20:19:01,3, AT0: Unexpected input: ^STIN: 99, 0, 0 ^STIN: 99, 0, 0 ^S
And also I got following error message today:
2018-08-02 09:00:00,3, smsd: Cannot write statistic file. /var/log/smstools/smsd_stats/180802.090000 Permission denied
2018-08-02 09:00:00,3, AT0: Error: Unexpected answer from Modem after +CREG?, waiting 1 sec. before retrying
2018-08-02 09:00:02,7, AT0: ## Start of device details
2018-08-02 09:00:02,7, AT0: # Manufacturer identification:
2018-08-02 09:00:02,7, AT0: -> AT+CGMI
2018-08-02 09:00:02,3, smsd: FATAL ERROR: Looks like another smsd (13517) is running. I (10068) quit now.
2018-08-02 09:00:02,2, smsd: Smsd mainprocess terminated abnormally. PID: 10068.
2018-08-02 09:00:02,3, AT0: Error: Unexpected answer from Modem after +CREG?, waiting 1 sec. before retrying
2018-08-02 09:00:02,2, AT0: Modem handler 0 terminated. PID: 10069, was started 18-08-01 20:19:01.
2018-08-02 09:00:02,7, AT0: <- +CREG: 2,5,"2DC0","007E7728"
But I definitely did not start another smsd process. It is running via systemctl. Also smsd:smsd is owner of /var/log/smstools/smsd_stats.
smsd.conf
devices = AT0
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
incoming = /var/spool/sms/incoming
logfile = /var/log/smstools/smsd.log
infofile = /var/run/smstools/smsd.working
pidfile = /var/run/smstools/smsd.pid
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
sent = /var/spool/sms/sent
stats = /var/log/smstools/smsd_stats
eventhandler = /home/sms/eventhandler.sh
loglevel = 6
receive_before_send = no
autosplit = 3
[AT0]
memory_start = 0
device = /dev/ttyUSB0
incoming = yes
keep_open = yes
baudrate = 19200
signal_quality_ber_ignore = yes
report_device_details = yes
smsd.log
2018-08-01 20:19:01,2, smsd: Smsd v3.1.15 started.
2018-08-01 20:19:01,2, smsd: Running as smsd:dialout.
2018-08-01 20:19:01,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2018-08-01 20:19:01,5, smsd: Outgoing file checker has started. PID: 10068.
2018-08-01 20:19:01,5, AT0: Modem handler 0 has started. PID: 10069.
2018-08-01 20:19:01,5, AT0: Using check_memory_method 1: CPMS is used.
2018-08-01 20:19:01,6, AT0: Checking device for incoming SMS
2018-08-01 20:19:01,6, AT0: Checking if modem is ready
2018-08-01 20:19:01,3, AT0: Unexpected input: ^STIN: 99, 0, 0 ^STIN: 99, 0, 0 ^S
2018-08-01 20:19:01,6, AT0: Pre-initializing modem
2018-08-01 20:19:02,6, AT0: Checking if modem needs PIN
2018-08-01 20:19:03,6, AT0: Signal Strength Indicator: (11,99) -91 dBm (Workable)
2018-08-01 20:19:03,6, AT0: Checking if Modem is registered to the network
2018-08-01 20:19:03,6, AT0: Modem is registered to a roaming partner network
2018-08-01 20:19:03,6, AT0: Location area code: 2DC0, Cell ID: 7728
2018-08-01 20:19:04,6, AT0: Signal Strength Indicator: (11,99) -91 dBm (Workable)
2018-08-01 20:19:04,6, AT0: Selecting PDU mode
2018-08-01 20:19:05,5, AT0: CGSN: XXX
2018-08-01 20:19:05,5, AT0: IMSI: XXX
2018-08-01 20:19:05,6, AT0: Checking if reading of messages is supported
2018-08-01 20:19:06,7, AT0: ## Start of device details
2018-08-01 20:19:06,7, AT0: # Manufacturer identification:
2018-08-01 20:19:06,7, AT0: -> AT+CGMI
2018-08-01 20:19:06,7, AT0: <- Vodafone (Huawei)
OK
2018-08-01 20:19:06,7, AT0: # Model identification:
2018-08-01 20:19:07,7, AT0: -> AT+CGMM
2018-08-01 20:19:07,7, AT0: <- K3772
OK
2018-08-01 20:19:07,7, AT0: # Revision identification:
2018-08-01 20:19:07,7, AT0: -> AT+CGMR
2018-08-01 20:19:07,7, AT0: <- 21.157.40.10.11
OK
2018-08-01 20:19:07,7, AT0: # New message indications, list of supported modes:
2018-08-01 20:19:08,7, AT0: -> AT+CNMI=?
2018-08-01 20:19:08,7, AT0: <- +CNMI: (0-2),(0-3),(0,2),(0-2),(0,1)
OK
2018-08-01 20:19:08,7, AT0: # New message indications, current settings:
2018-08-01 20:19:08,7, AT0: -> AT+CNMI?
2018-08-01 20:19:08,7, AT0: <- +CNMI: 0,0,0,0,0
OK
2018-08-01 20:19:08,7, AT0: # Preferred message storage, list of supported mem's:
2018-08-01 20:19:09,7, AT0: -> AT+CPMS=?
2018-08-01 20:19:09,7, AT0: <- +CPMS: ("SM","ME"),("SM","ME"),("SM","ME")
OK
2018-08-01 20:19:09,7, AT0: # Phonebook storage, available mem's:
2018-08-01 20:19:09,7, AT0: -> AT+CPBS=?
2018-08-01 20:19:09,7, AT0: <- +CPBS: ("SM","EN","ON")
OK
2018-08-01 20:19:09,7, AT0: # List messages, list of supported stat's:
2018-08-01 20:19:10,7, AT0: -> AT+CMGL=?
2018-08-01 20:19:10,7, AT0: <- +CMGL: (0-4)
OK
2018-08-01 20:19:10,7, AT0: # Delete message, list of supported values:
2018-08-01 20:19:10,7, AT0: -> AT+CMGD=?
2018-08-01 20:19:10,7, AT0: <- +CMGD: (),(0-4)
OK
2018-08-01 20:19:10,7, AT0: # Phone activity status, list of supported stat's:
2018-08-01 20:19:11,7, AT0: -> AT+CPAS=?
2018-08-01 20:19:11,7, AT0: <- +CPAS: (0-5)
OK
2018-08-01 20:19:11,7, AT0: # TE character set, list of supported charset's:
2018-08-01 20:19:11,7, AT0: -> AT+CSCS=?
2018-08-01 20:19:11,7, AT0: <- +CSCS: ("IRA","UCS2","GSM")
OK
2018-08-01 20:19:11,7, AT0: # TE character set, current setting:
2018-08-01 20:19:12,7, AT0: -> AT+CSCS?
2018-08-01 20:19:12,7, AT0: <- +CSCS: "IRA"
OK
2018-08-01 20:19:12,7, AT0: ## End of device details
2018-08-01 20:19:12,6, AT0: Checking memory size
2018-08-01 20:19:12,6, AT0: Used memory is 0 of 20
2018-08-01 20:19:12,6, AT0: No SMS received
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|