Pattern – CounterPath Bria 3.5.2 for Windows User Guide - Retail Deployments User Manual

Page 91

Advertising
background image

Bria 3 for Windows User Guide – Retail Deployments

87

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. As mentioned, all regular expression elements are
supported.

Some elements use the back slash \ character. If you are defining pattern a via remote provisioning (that is, in an
HTTP response), you must enter two backslashes, because the Bria provisioning software interprets one
backslash as an escape key.

Timers

There are two timers:

T timer is 4 seconds.

The long timer is 20 seconds.

These timers are used in input comparison, as described in “How the Input Is Processed” on page 89.

Element

Origin

Description

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 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.

Advertising