Alcatel-Lucent ALE M3 Administrator's Manual page 96

Table of Contents

Advertisement

10.1.2.1 Basic Regular Expression Syntax for Digit Map
You need to know the following basic regular expression syntax when creating a new dial plan:
The dot "." can be used as a placeholder or multiple placeholders, including zero, of
occurrences of the preceding construct.
Examples:
"123.T" would match "123", "1233", "12333", "123333", and so on.
"x.T" would match an arbitrary number.
.
"[x*#+].T" would match an arbitrary character.
Note: If the string ends with a dot (e.g., 123.), a match will occur immediately after inputting
the characters before the dot (e.g.123) since the dot allows for zero occurrences of the
preceding construct.
Therefore, we recommend that you add a letter "T" after the dot (for example, 123.T) for
inputting more characters.
The "x" can be used as a placeholder for any digit from 0 to 9.
x
Example:
"12x" would match "121", "122", "123", and so on.
The dash "-" can be used to match a range of digits within the brackets.
Example:
-
"[35-7]" would match the number "3", "5", "6" or "7".
Note: The digits must be concrete. For example, [3-x] is invalid.
The comma "," can be used as a separator to generate a secondary dial tone.
Example:
,
"9, xx": After entering digit "9", secondary dial tone plays and you can complete the remaining
two-digit numbers.
The square bracket "[]" 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", and "9171234".
The timer letter "T" indicates a timer expiry. If "T" is used alone (for example, 123T), the
default timeout value of 3 will be used. If "T" is not used alone (for example, 123Tx, x can be
T
a digit from 0 to 99), a complete match occurs when waiting x seconds after inputting 123. If
"T" is not used (for example,123), a complete match occurs immediately after inputting 123.
The letter "R" indicates that certain matched strings are replaced. Using an RRR syntax, you
can replace the digits between the first two Rs with the digits between the last two Rs.
R
Example:
"R12R234R" would replace 12 with 234.
The exclamation mark "!" can be used to prevent users from dialing out specific numbers. It
can only be put last in each string of the digit map.
!
Example:
"235x!" would match "2351", "2352", "2353", and so on. The number starting with 235 will be
blocked to dial out.
10.1.2.2 Digit Map for All Accounts Configuration
The following table lists the parameters you can use to configure all accounts digit map:
Parameter
DigitMapEnable
ALE M3-M5-M7-M8 DeskPhones Administrator Guide
config.xml
96

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ale m5Ale m7Ale m8

Table of Contents