Hi, yes, modem-restart could evtl. be a workaround, but it's even worse and I fear Operator-Blacklisting still does not work :-|
I did a simple test, which could be done by teltonika-support too:
After a fresh router-start I added above mentioned Operator-Blacklist and immediately the active sim2 (my default sim) loses data-connection until next reboot. Before reboot the modem is switching between sim1 (not inserted) and sim2 which does not have any data-connection anymore. After reboot sim2 is working again.
Next test after fresh reboot is doing a simple "ubus call sim change" which switches to sim1 (not inserted) and fails back to sim2. Usually this is working well. But now sim2 cannot get data-connection anymore and sim1/2 is switching permanently. See logread-output:
>>> logread -f | egrep -i "sim|mob1|apn"
Tue Jun 21 22:05:42 2022 daemon.info unhandler[2729]: modem_init[1-1.4][8]: get from gsmd '+CME ERROR: SIM not inserted
Tue Jun 21 22:05:46 2022 daemon.info sim_switch[5808]: [1-1.4] SIM switch in progress. Triggered by data_fail rule
Tue Jun 21 22:05:47 2022 daemon.info unhandler[2729]: modem_init[1-1.4][1]: get from gsmd '+CME ERROR: SIM failure
Tue Jun 21 22:05:50 2022 daemon.info unhandler[2729]: modem_init[1-1.4][3]: get from gsmd '+CPIN: SIM PIN
Tue Jun 21 22:05:50 2022 daemon.info unhandler[2729]: modem_init[1-1.4][3]: skipping CFUN calls, SIM detected
Tue Jun 21 22:05:50 2022 daemon.info unhandler[2729]: modem_init[1-1.4][8]: get from gsmd '+CPIN: SIM PIN
Tue Jun 21 22:05:51 2022 daemon.info unhandler[2729]: SMS-Utilities[src/sms_utils.c:161]: count_free_sms s->type: simman
Tue Jun 21 22:05:52 2022 daemon.info unhandler[2729]: modem_init[1-1.4][3]: skipping CFUN calls, SIM detected
Tue Jun 21 22:05:52 2022 daemon.info unhandler[2729]: active_sim: |2|
Tue Jun 21 22:05:52 2022 daemon.info unhandler[2729]: auto_apn: |1|
Tue Jun 21 22:05:52 2022 daemon.info unhandler[2729]: force_apn: |0|
Tue Jun 21 22:05:52 2022 daemon.info unhandler[2729]: Attempt to fetch APN list...
Tue Jun 21 22:05:52 2022 daemon.info unhandler[2729]: Getting APN list from database
Tue Jun 21 22:05:52 2022 daemon.info unhandler[2729]: SIM READY
Tue Jun 21 22:05:52 2022 daemon.info unhandler[2729]: APN Fetch is done.
Tue Jun 21 22:05:53 2022 daemon.info unhandler[2729]: SMS-Utilities[src/sms_utils.c:161]: count_free_sms s->type: simman
Tue Jun 21 22:06:07 2022 kern.info kernel: Changing to SIM2: unable to establish data connection
Tue Jun 21 22:06:27 2022 daemon.info sim_switch[5808]: [1-1.4] SIM switch in progress. Triggered by data_fail rule
As you can see, the next-to-last line shows that sim2 cannot get data-connection after the fail-over from sim1 back to sim2.
The last line then shows that fail-back to sim1 is triggered...
Thx for help,
BR Rainer