Community discussions

MikroTik App
 
Pante90
just joined
Topic Author
Posts: 9
Joined: Mon Jan 18, 2021 9:10 pm

Change SIM on SXRT automation

Mon Feb 08, 2021 10:30 am

Goodmorning,
i bought a RBSXTR with a R11e-LTE modem. This modem contain 2 SIM card, and i have 50Gb with one and 70Gb with the second one. I want to ask if is possible to have a script that when i'm coming at almost 50gb, the router switch and change on another sim, and the same when i go back. i need to change a modem "a" or "b" for select one sim or the second one, and i need to change the APN with one or another. SIM "a" 50gb and APN1, sim "b" 70gb with APN2. can anyone help me please?! Thanks a lot!!
 
User avatar
SiB
Forum Guru
Forum Guru
Posts: 1888
Joined: Sun Jan 06, 2013 11:19 pm
Location: Poland

Re: Change SIM on SXRT automation

Fri Apr 02, 2021 12:04 am

Yes, it's possible and forum users publish few of that scripts to count and sum interface bandwidth and store it. In LTE you can read it by :get function from lte1 interface or check logs from that info after each disconnection.
example: viewtopic.php?f=13&t=87565

Who is online

Users browsing this forum: No registered users and 21 guests