Block seedbox traffic when VOIP traffic is detected

Hello people,
I have a seedbox connected to my router, and its activity interferes with VOIP quality.
I have already tried to limit its bandwidth and prioritize VOIP traffic but it’s not enough: all torrents must be paused to have a decent VOIP quality.
Is it possible to create a script to completely block the in/out traffic of the seedbox’s IP when VOIP traffic of a certain speed is detected?
I have already marked VOIP traffic.
Thanks and regards.

Have you used the limit-at parameter on your queues to guarantee a minimum amount of bandwidth.
If two queues need bandwidth, and one is above limit-at while the other is below, then the one below will receive bandwidth first.

Make sure that your queues are limiting the UPSTREAM bandwidth - you have much more control over this than the downstream. On the downstream side, you should probably put a max-limit on the p2p traffic which is a few megaibts slower than the real connection speed. In fact, your downstream could be “non voip traffic” = max bandwidth - a few megs - this will reserve that few megs for VoIP. If you allow your downstream to consume 100% bandwidth, then you’re not going to be able to prioritize voip because your ISP is almost certainly not doing it, and the congestion has already happened before the packets reach your router.

Hello, no, I wasn’t. My total bandwidth really sucks: just two mb (here in Brazil it costs a lot).
Could you please tell me how you would set the Max Limit and Limit At parameters for both the VOIP and SEEDBOX queues?

Yes, I’m keeping the seedbox download speed lower than 2 mb and also limiting the upstream.
Thanks a lot for your help.

Just edit the queue. On the Advanced tab, there is Limit At: for target upload and target download.

If you are using queue trees instead of simple queues, then just put the value right into the “limit at” field for each queue.

I think you’re going to need to use a parent queue though - so make a queue called total, and it just has the max-limits.
Then you make child queues which have this single queue as their parent, but they have no limit on the max-limit, and a specific amount set for the limit-at.