Mikrotik support gave me following scheduler script, that can be used as a workarround.
Code:
/system scheduler remove [find name=refresh_locked_SIM]/system scheduler add name=refresh_locked_SIM start-time=startup interval=10s on-event="\ :local lteInterfaces [/interface print as-value where type=lte and disabled=no]\r\ \n:foreach lte in=\$lteInterfaces do={\r\ \n :if ([/interface/lte/monitor (\$lte->\"name\") as-value once]->\"status\"=\"sim locked\") do={\r\ \n /interface lte set (\$lte->\"name\") disabled=yes\r\ \n :delay 3s\r\ \n /interface lte set (\$lte->\"name\") disabled=no\r\ \n }\r\ \n }\r\ \n"
Statistics: Posted by noah — Wed Dec 27, 2023 9:12 pm