Pattern, Valid content, Transformation keywords – CounterPath Bria 3 Dial Plan Guide User Manual

Page 5

Advertising
background image

Bria 3 Dial Plan Guide

3

Pattern

Valid Content

The content for a pattern follows the digit map rules of RFC 2705, supplemented by the rules for regular
expressions. Where there is an overlap between the digit map and regular expression rules, the digit map rules
apply. For this reason, there are some special cases, included in the table below.

The following table describes the most common elements. All regular expression elements are supported.

Transformation Keywords

Element

Origin

Description

|

Regular
expression rules

Pipe character, used to separate patterns.

0 1 2 3 4 5 6 7 8 9 Literals

Literal digits, used as is.

# * a to z

Literals

Literal characters, used as is. Special cases:

• The literal x character is represented by \x.

• The literal t character is represented by \t.

x

Digit map rules

Wildcard for any single digit, 0 to 9.

\a

Regular
expression rules

Wildcard for any single alphanumeric character.

[digit-digit]

Regular
expression rules

A digit within the specified range.

[character-
character]

Regular
expression rules

A character within the specified range.

[digit1, digit2,
digit3]

Regular
expression rules

One of the characters in the collection.

.

Digit map rules

Repeat the last element 0 or more times. For example, xxxx. means repeat the last x 0 or
more times, which means this pattern matches three or more digits (not four or more
digits)! Use of this element results in a pattern with “minimum requirements”.

T

Digit map rules

A timeout period of approximately 4 seconds will take place before automatic dialing
starts.

The T timer forces Bria to wait after a match is made. This timer should always be
included in these situations:

• Any pattern that uses the . (dot). For example, if the pattern is xxxx. then adding a

timer lets you type three or more digits. If there is no timer, then as soon as you type
three digits, Bria makes the match as soon as you type three digits.

• Any dial plan that has two patterns that are similar in elements but different in length.

For example, if one pattern is xxx and the other pattern is xxxxxxx, then adding the
timer lets you continue typing past three digits, in order to get a match on the second
pattern.

In this situation, the T timer should be included in the shorter pattern.

Keyword

Description

prestrip

Strip the first n characters from the input before placing the call.

poststrip

Remove n number of characters from the end of the input before placing the call.

pre

Add the specified account prefix to the input before placing the call.

post

Attach the specified postfix to the input before placing the call.

Advertising