Keywords: Mode: All keywords (AND) |
Wed Feb 07, 2024 11:13
|
eugeny_brychkov: Operating system name and version: openwrt
smstools3: 3.1.21-4
Sometimes something weird happens with the modem on the interface used by the smstools3, and smstools/smsd start logging error messages every second. Log file in /tmp grows very quickly, fills the whole space and device gets general problems.
Is there any possibility to configure smstools3 or related underlying software to do something special on the error (e.g. reset modem), and is there a way to put cap onto the log file / set up log rotation?
|
Tue Dec 27, 2022 13:36
|
eugeny_brychkov: blocktime=10
into the device section seems to be a solution!
|
Tue Dec 27, 2022 13:09
|
eugeny_brychkov: Apologies, I still have an issue, but in different place.
I implemented as you advised, and it works well.
But smstools says the following:
Fatal error: sending failed 3 times. Blocking 3600 sec.
and stops sending. I did not wait an hour, but suspect next time it will try sending is in 1 hour. But the task is to make smstools trying sending SMS as hard as possible until connectivity restores (e.g. in one or two minutes) or 10 minutes elapse. This 1 hour sleep breaks the whole algorithm...
|
Mon Dec 26, 2022 17:55
|
|
Mon Dec 26, 2022 15:47
|
eugeny_brychkov: Operating system name and version: openwrt
Version of smsd: 3.1.21
Smsd installed from: sources
Name and model of a modem / phone: n/a
Interface: n/a
I need smstools 3 retrying sending SMS for 10 minutes whatever error happens. Tried errorsleeptime=10 and send_retries=12 and check_sim_retries=-1 with SIM card removed, and SMS goes into FAILED state within 30 seconds.
How to achieve the goal? Thank you!
|