beautypg.com

B.2 how the input is processed, Comparing input to the dial plan patterns, Results of the comparison – CounterPath Bria 3.0 for Mac User Guide - Retail Deployments User Manual

Page 76

background image

CounterPath Corporation

72

Transformation Keywords

Order of Transformations

These transformations are always performed in the following order (the order in which the transformations are
entered in the dial plan is not significant):

prestrip > poststrip > pre > post > replace

B.2 How the Input Is Processed

Comparing Input to the Dial Plan Patterns

The input is compared to each dial plan in turn, starting with the first listed account. The process is slightly
different depending on how the call is placed:

If the input was dragged or selected, then the entire input is compared to each dial plan. If a complete match
is found, then that account is selected and the associated transformation is performed. If no match is found,
the default account is selected and no transformation is performed.

If you are typing the input, the digits are compared one by one as they are entered. The comparison will
result in one of the types of matches described in the table below.

It is possible for the same input to get matched to different dial plans depending on whether the input is entered
on the fly or dragged. It is important to keep this in mind when designing dial plan patterns.

Results of the Comparison

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.

replace

Replaces the input with the specified string
before placing the call.

Type of Match

Conditions

Result if You Press

Enter or Dial

Result if You Stop Typing

Partial match

The characters typed so far follow the pattern but
there are not yet enough characters for a pending
or complete match.

The default account is
selected. No transformation
is performed.

If you stop typing for the long
timer length (20 seconds), then
the default account is selected.
No transformation is
performed on the characters
typed so far.