Good day:
I need to create a script that clears all firewall connections if it detects a change in ISP. The problem we have is that when failover occurs, VoIP phones connection hang. This occurs in a place where internet is very unstable.
:foreach i in=[/ip firewall connection find] do={/ip firewall connection remove $i}
/ip firewall connection remove [find]
/ip firewall connection remove [find where connection-type=sip]
I have this exact command in my netwatch when it checks if the Primary ISP's DNS server is there AFTER RECURSIVE ROUTING.This
Code: Select all/ip firewall connection remove [find]