How to VoIP

Good day,

I hope all can agree with me that voip can be a headache if its starting to give problems.

The issue I have happens maybe one in 2 Years where there is a major outage on the network, eg a core router dies ect.

Now what happens is most of the clients voip phones loses registration on port 5060

running this script on the gateway router solves most of the problems

:foreach i in=[/ip firewall connection find dst-address~":5060" protocol~"udp"] do={/ip firewall connection remove $i}

The remaining ones is the problem, quickest way to get them to register again is to change the ip of the voip phone or change the radio IP.

Is there any better way to easier get all the voip back online if something like this where to happen again?

The reconnect can only be determined at the clientside. If it does not detect the loss of connection you have to wait till the reconnect timeout of the client.

I Uwe mangle for TOS and DSCP in the VoIP Pakets and routing them to different
Route (Dynamic pppoe over VLAN only for VoIP) , in the Firewall i Deny VoIP Pakets over Other routes

I noticed on the core router when checking the connection tracking, that some of the connections had the Reply dst address of the clients private ip address of their radio and not the public IP where all the voip is router through.

Manually closing these seems to fix the issue

Is there any filter rules i can use to close all connections with the incorrect rep dst address?