Yealink Auto provisioning User Guide
18
<dialrule> indicates the start of the template file and </dialrule> indicates the
end of the template file (Applicable to VP530 IP phones).
Create replace rules between <DialRule> (<dialrule>) and </DialRule>
(</dialrule>).
When specifying the desired line(s) to apply the replace rule, the valid values are 0
and line IDs. The digit 0 stands for all lines, multiple line IDs are separated by
comma.
Do not modify the file name.
Refer to the phone-specific user guide for the basic expression syntax of the
replace rule.
To customize a replace rule file:
1. Open the template file using an ASCII editor.
2. For each replace rule you wish to add, add the following string to the file, each
starting on a separate line:
<Data Prefix=”” Replace=”” LineID=””/>
#(For T2xP/T3xG IP phones)
<data rule=”” replace=”” lines=””/>
#(For VP530 IP phones)
Where:
Prefix=””/rule=”” specifies the numbers to be replaced.
Replace=””/replace=”” specifies the alternate string.
LineID=””/lines=”” specifies the desired line(s) for this rule. When leaving it blank,
this replace rule will apply to all lines.
3. Specify the values within double quotes.
4. Save the change.
The following is an example of a replace rule file used for SIP-T2xP and SIP-T3xG IP
phones:
<DialRule>
<Data Prefix="1" Replace="05928665234" LineID=""/>
<Data Prefix="2(xx)" Replace="002$1" LineID="0"/>
</DialRule>
####################################################
## Upload replace rule file ##
####################################################
dialplan_replace_rule.url =
For example: enter “ftp://192.168.1.100/DialPlan.xml” in the “dialplan_replace_rule.url =”
field. During the auto provisioning process, the phone connects to the provisioning
server “192.168.1.100”, and downloads the replace rule file “DialPlan.xml”.