Configuration Task List 2293If there exist multiple number substitution rules in a number substitution rule list,only one number substitution rule will be matched. The match process is asfollows:1 The preferred number substitution rule is matched first. If the match succeeds, thegateway substitutes numbers on basis of this rule.2 If the match fails, the gateway matches other number substitution rules insequence. Once a rule is matched successfully, the gateway stops matching othernumber substitution rules.n Here, the dot represents virtually matched digits. Virtually matched digits,including ., +, %, !, and [], refer to those that match the variable part in anregular expression. For example, the virtually matched digits are the digit “2”, thedigit “5”, and the digits “25” respectively when the number 1255 matches theregular expressions 1[234]55, 125+, and 1..5.Configuration TaskListComplete these tasks to complete a dial plan.Configuring a CallingNumber Permitted toCall InFollow these steps to configure a calling number permitted to call in:n The calling-string argument is in the format of { [ + ] string [ $ ] }| $. For specificmeanings of these symbols in the format, refer to Dial Plan Commands in VoiceVolume.Task Remarks“Configuring a Calling Number Permitted to Call In” onpage 2293Optional“Enabling Private Line Auto Ring-Down” on page 2294 Optional“Configuring a Number Match Mode” on page 2294 Optional“Configuring Voice Entity Selection Priority Rules” on page2295Optional“Configuring a Number Priority Peer” on page 2296 Optional“Configuring a Maximum-Call-Connection Set” on page2297Optional“Configuring Number Substitution” on page 2298 Optional“Configuring Number Sending Mode” on page 2300 Optional“Configuring a Dial Prefix” on page 2301 OptionalTo do... Use the command... RemarksEnter system view system-view -Enter voice view voice-setup -Enter voice dial program view dial-program -Create a voice entity andenter voice entity viewentity entity-number { pots |vofr | voip }-Configure a calling numberpermitted to call incaller-permit calling-string OptionalBy default, no calling numberis configured, that is,incoming calls are notrestricted.