Introduction to number substitution

According to the network requirements, you can first configure a number substitution rule list, and then define specific number substitution rules, dot-match rules, and preferred number substitution rules for the list. Finally, you can apply these substitution rules globally or to voice entities and voice subscriber lines to substitute calling/called numbers flexibly.

If there exist multiple number substitution rules in a number substitution rule list, only one number substitution rule will be matched. The match process is as follows:

  1. The preferred number substitution rule is matched first. If the match succeeds, the gateway substitutes numbers based on this rule.

  2. If the match fails, the gateway matches other number substitution rules in sequence. Once a rule is matched successfully, the gateway stops matching other number substitution rules.

Here, the dot represents virtually matched digits. Virtually matched digits, including dot (.), plus sign (+), percent sign (%), exclamation points (!), and brackets ([]), see those that match the variable part in a regular expression. For example, the virtually matched digits are the digit "2", the digit "5", and the digits "25" respectively when the number 1255 matches the regular expressions 1[234]55, 125+, and 1..5.