Im using advanced 2 wan failover as showed in this example https://wiki.mikrotik.com/wiki/Advanced ... _Scripting
But im having a severe issue, if the WAN1 goes down, it switchs to WAN2, thats OK, but after doing that all UDP connections that were trought WAN1 fail to close, this means, external sip phone cant re-register after DNS update, my VOIP box running Freepbx is also unable to re-register the trunk, and this will stay like this even if WAN1 comes back online.
There are two manual fixes for, i either reboot the router or manually terminate all UDP connections in connection tracking.
Any idea of what is going on here?