7643 questions

9073 answers

14631 comments

12005 members

0 votes
460 views 2 comments
by
I understand that the RUT955 supports rules but I can't figure out how to set the relay contacts to close when the device changes from SIM1 to SIM2 and vice versa.

Is this possible?

If so, how do I achieve that?

1 Answer

0 votes
by
Hi,

There's no rule in the WebUI that could do this. Only way is to write a custom script that periodically checks which SIM slot is in use and changes the state of the Relay output based on that.
by
Thank you for the reply.

Do you know where I can look to find out how to write such a script?

Ash
by
You can enter the script in the System → User Scripts page. The language that should be used is shell. But I'm afraid I won't be able to help you with actual script. :)