Dial plan, Replace rule – Yealink SIP-T42G User Manual

Page 69

Advertising
background image

Customizing Your Phone

59

Dial plan is a string of characters that governs the way your SIP-T42G IP phone
processes the inputs received from your phone keypad. The SIP-T42G IP phone supports
the following dial plan features:

Replace Rule

Dial-now

Area Code

Block Out

Basic expression syntaxes you need to know:

Syntax

Description

.

The dot "." can be used as a placeholder or multiple placeholders for
any character. Example:
"12." would match "123", "1234", "12345", "12abc", etc.

x

An "x" can be used as a placeholder for any character. Example:
"12x" would match "121", "122", "123", "12a", etc.

[]

The square brackets "[]" can be used as a placeholder for a single
character which matches any of a set of characters. Example:
"91[5-7]1234" would match "9151234", "9161234", "9171234", etc.

()

The parentheses "( )" can be used to group together patterns, for
instance, to logically combine two or more patterns. Example:
"([1-9])([2-7])3" would match "923", "153", "773",etc.

$

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
(expression syntax refer to 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.

Advertising