摘要 |
Methods, systems, and computer program products for performing range-based directory number (DN) screening are disclosed. According to one aspect, the subject matter described herein includes a method for determining that a telecommunications device DN is within an allowed set of numerical ranges. The method includes creating a range tree for representing an allowed set of numerical DN ranges, wherein each range is defined by a numerical upper and lower bound, and storing the range tree in a memory device; receiving a telecommunications device DN to be analyzed; traversing the range tree from a root node of the tree, based on analyzing each digit of the DN, until a leaf node is reached; and determining, based on an attribute associated with the leaf node reached, whether the DN is within the allowed set of ranges. |