Enforce Valid DNIS Length

In this article, I am going to show you how to block calls that have valid length for the DNIS and ANI.

Here is how a normal basic routing plan looks. It basically just route all calls according to the vendor trunks defined in the dynamic route specified.

However, you can set it so that this rule is applied with the length of ANI and DNIS meets the valid size.

You can do this by clicking "Edit" on this rule:

You can use ANI/DNIS Prefix, Min Length, and Max Length to specify traffic you don't like. For those traffic, you can send them to a different Dynamic or Static Route that either always return 503 or route to a miss call vendors like some of our clients are doing.

Last updated