Administrator’s Guide for SIP-T2xP IP Phones84Creating a replace rule template:1. Using an ASCII editor, create a new file.2. Type to indicate the start of the replace rule template.3. Add the following string to the template, each starting on a separate line:‖‖ LineID=""/>Where:Prefix="" specifies the numbers to be replaced.Replace=‖‖ specifies the alternate string instead of what the user enters.LineID="" specifies the desired line(s) for this rule. When leaving it blank, the IPphone will apply to all lines.4. When completed, type to indicate the end of the replace ruletemplate.5. Save this file to the root directory of the configuration server.The following is an example of a replace rule template: Prefix="1" Replace="05928665234" LineID=""/> Prefix="2(xx)" Replace="002$1" LineID="0"/> Prefix="5([6-9])(.)" Replace="3$2" LineID="1,2,3"/> Prefix="0(.)" Replace="9$1" LineID="2"/> Prefix="1009" Replace="05921009" LineID="1"/>You can create multiple dial-now rules using the dial-now template. After creating thedial-now template, save the dial-now template to the root directory of the configurationserver and specify the access URL in the configuration files.When creating a dial-now template, remember the following: A dial-now template must be in .xml format. indicates the start of a template and indicates the end ofa template. At most 20 rules can be added to the IP phone. The expression syntax in the dial-now rule template is the same as introduced inthe section Creating Dial Plan on page 21. Specify the values within double quotes. When specifying the desired line(s) for the dial-now rule, the valid values are 0 and