Community discussions

 
Tedionius
just joined
Topic Author
Posts: 10
Joined: Sat Feb 16, 2019 8:29 pm

get sim-slot deprecated?

Fri Jul 19, 2019 1:58 pm

Trying to script an event to swap sims at a certain time of day.

Following this: https://wiki.mikrotik.com/wiki/Dual_SIM_Application

but the following:
:global simSlot [/system routerboard sim get sim-slot]
returns this error: bad command name sim (line 1 column 38) and using the tab for hints returns nothing related to sim.

This on MikroTik RouterOS 6.45.2

Has this command been replaced? If so can someone point me to documentation please. Google is not being very helpful.
 
Elans
MikroTik Support
MikroTik Support
Posts: 46
Joined: Wed Apr 18, 2018 12:41 pm

Re: get sim-slot deprecated?

Fri Jul 19, 2019 3:15 pm

In latest versions (6.45.1 +) this menu is renamed (wiki will be updated with a note).

*) routerboard - renamed 'sim' menu to 'modem';
"/system routerboard modem set ..."

https://mikrotik.com/download/changelogs
 
Tedionius
just joined
Topic Author
Posts: 10
Joined: Sat Feb 16, 2019 8:29 pm

Re: get sim-slot deprecated?  [SOLVED]

Fri Jul 19, 2019 4:15 pm

Thank you. Confirmed.
:global simSlot [/system routerboard modem get sim-slot]
:log warning "Slot is $simSlot"
results in: Slot is a

Who is online

Users browsing this forum: No registered users and 7 guests