D
Size: a a a
D
A
ИБ
A
A
AI
k
DD
D
:log info message="Switching active ISP is starting"
:log info message="Disabling provider 1"
/ip route set [find comment="isp1"] disabled=yes
:log info message="Enabling provider 2"
/ip route set [find comment="isp2"] disabled=no
:log info message="Enabling isp2 DNS servers"
/ip dns set servers=dns...
:delay 1
:log info message="Removing sip connections"
/ip firewall connection remove [find where connection-type=sip]
:log info message="Removing udp connections"
/ip firewall connection remove [find where connection-type=udp]
:log info message="Switching active ISP is finished"
/tool fetch url="https://api.telegram.org/botxxxxxxx/sendMessage?chat_id=-100xxxxx65&text=ISP_2_enabled"
AI
k
A
DD
k
A
N
U
:log info message="Switching active ISP is starting"
:log info message="Disabling provider 1"
/ip route set [find comment="isp1"] disabled=yes
:log info message="Enabling provider 2"
/ip route set [find comment="isp2"] disabled=no
:log info message="Enabling isp2 DNS servers"
/ip dns set servers=dns...
:delay 1
:log info message="Removing sip connections"
/ip firewall connection remove [find where connection-type=sip]
:log info message="Removing udp connections"
/ip firewall connection remove [find where connection-type=udp]
:log info message="Switching active ISP is finished"
/tool fetch url="https://api.telegram.org/botxxxxxxx/sendMessage?chat_id=-100xxxxx65&text=ISP_2_enabled"
D
AI
DL