I believe I didn't understand the question.
You already have a data table that does the blocking, right?
The question is how to block for specific numbers?
If that's the case, you can put a "Decision" at the beginning of the flow:
Call.CalledAddressOriginal == "phone1" or
Call.CalledAddressOriginal == "phone2" or
Call.CalledAddressOriginal == "phone3" or
Call.CalledAddressOriginal == "xxx"
(If you want to include the DNIS in a data table as well, it would be even better, as you could manipulate it without having to edit the flow.)
If the result is "yes", query the data table and if the call.ANI number is in the table, block it/disconnect or play audio for system not available por exemple.
If the result is "no", do not query the data table and continue the flow.
This ensures that you can block the ANI for some DNIS numbers and not for all DNIS numbers.
------------------------------
Kaio Oliveira
GCP - GCQM - GCS - GCA - GCD - GCO - GPE & GPR - GCWM
PS.: I apologize if there are any mistakes in my English; my primary language is Portuguese-Br.
------------------------------