Administrator’s Guide for SIP-T2 Series/T19(P) E2/T4 Series IP Phones
280
Customizing Replace Rule Template File
The replace rule template helps with the creation of multiple replace rules.
You can ask the distributor or Yealink FAE for replace rule template. You can also obtain the
replace rule template online:
http://support.yealink.com/documentFront/forwardToDocumentFrontDisplayPage. For more
information on obtaining the replace rule template, refer to Obtaining Boot Files/Configuration
Files/Resource Files on page 131.
When editing a replace rule template file, learn the following:
<DialRule> indicates the start of the template file and </DialRule> indicates the end of the
template file.
When specifying the desired line(s) to apply the replace rule, the valid values are 0 and line
ID. Multiple line IDs are separated by commas. It is not applicable to SIP-T19(P) E2 IP
phones.
The following table lists valid values of line ID for each phone model.
SIP-T48G/T48S/T46G/
T46S/T29G
0 stands for all lines
1~16 stand for line1~line16
0 stands for all lines
1~12 stand for line1~line12
0 stands for all lines
1~6 stand for line1~line6
0 stands for all lines
1~3 stand for line1~line3
0 stands for all lines
1~2 stand for line1~line2
At most 100 replace rules can be added to the IP phone.
The expression syntax in the replace rule template is the same as that introduced in the
section Dial Plan using XML Template Files on page 276.
To customize a replace rule template:
1. Open the template file using an ASCII editor.
2. Create replace rules between <DialRule> and </DialRule>.
For example:
<Data Prefix="2512" Replace="05922512" LineID="1" />
Where:
Prefix="" specifies the numbers to be replaced.
Replace="" specifies the alternate string instead of what the user enters.