beautypg.com

Replace rule – Yealink SIP-T46G User Manual

Page 84

background image

User Guide for the SIP-T46G IP Phone

74

Syntax

Description

$

The “$” should be followed by the sequence number of a parenthesis.
The “$” plus the sequence number means the whole character or
characters placed in the parenthesis. The number directs to the right
parenthesis when there are more than one. Example:
A replace rule configuration: Prefix: "9([5-7])(.)", Replace: "5$2". When
you enter "96123" to dial out on your phone, the number will be replaced
as "5123" and then dialed out. “$2” means the characters in the second
parenthesis, that is, “123”.

You can configure one or more replace rules (up to 100) to remove the specified string
and replace it with another string. You can configure a pattern with wildcards (refer to
the expression syntax in the table above), so that any string that matches the pattern
will be replaced. This feature is convenient for you to dial out a long number. For
example, a replace rule is configured as "Prefix: 1" and "Replace: 1234567", when you try
to dial out the number “1234567”, you just need to enter “1” on the phone and then
press the Send soft key.

To add a replace rule via web user interface:

1. Click on Settings->Dial Plan->Replace Rule.

2. Enter the string (e.g., 2xx) in the Prefix field.

3. Enter the string (e.g., 12345) in the Replace field.

4. Enter the desired line ID in the Account field or leave it blank.

5. Click Add to add the replace rule.