QX5
QXFXO4/QXISDN4/QXE1T1/QXFXS24; (SW Version 6.0.x)
63
QXFXO4/QXISDN4/QXE1T1/QXFXS24 Manual II: Administrator’s Guide
•
Use an exclamation point to exclude a character or a string from a set.
Example:
The pattern is
2{11-15,a-d,!14,!c}5
.
Numbers matching the pattern are
2115, 2125, 2135, 2155, 2a5, 2b5, 2d5
.
Please Note:
You can use the wildcard
?
within the braces, but not
*
. Thus,
{12-104,15?,36?}
is a valid pattern, whereas
{15*,36*}
is not.
Please Note:
The symbol
!
cannot be used to exclude a range of symbols. For example
2{15-60,!23-32}
or
2{15-60,!23-!32}
are not valid patterns. To valid pattern will be to
2{15-22,33-60}
.
[]
The same as above with the exception that character ranges can include single-digit/character elements only.
Example:
The pattern is
2[1-5, a-c]5
.
Numbers matching the pattern are
215, 225, 235, 245, 255, 2a5, 2b5, 2c5
.
\
Precedes a control symbol (
*
,
?
,
-
,
!
and
,
) to indicate that it is used as an ordinary character, not a wildcard.
Example:
The pattern is
1\*[1-3]
Numbers matching the pattern are:
1*1, 1*2, 1*3
Please Note:
Patterns cannot be prefixed with the
*
symbol. The system considers the patterns starting with
*
as feature codes and
does not parse them through the Call Routing table.
@
Used to indicate the full SIP address (example: [email protected]). This pattern is mainly used to call back users registered on the
SIP server different from the one where the called party is registered.
Please Note:
Patterns containing @ symbol will not be parsed among those that do not have @ symbol in the Call Routing Table.
When calling from local extensions (the calling number for local extension is sipnumber@ip_address_of_QX, e.g.
[email protected]), only the sipnumber part of the pattern will be parsed among other entries with @ symbol in the Call Routing
Table.
Best Matching Algorithm
All calls through and within a QX are made according to call routing patterns that specify a destination based on a dialed number. When a user dials a
number to make a call, the QX matches the dialed number against the existing patterns that are specified in the Call Routing table. If the dialed number
matches only to a single pattern, this pattern will be used to set up a call. If several patterns have been found to match the number, the QX uses the Best
Matching Algorithm to prioritize the matching patterns. Once the patterns are prioritized, the pattern with the highest priority will be used as a preferred
route for call setup. The successive patterns will be used only if the destination specified by a higher priority pattern is unreachable.
To prioritize the matching patterns, the following criteria are sequentially applied to matching patterns. The criteria are ordered by their priorities: Each
consecutive criterion is calculated only for the patterns that take the same value for the preceding criteria: that is Criterion 3 is calculated only for patterns
that take the same value for Criterion 1 and Criterion 2.
Criterion 1
The presence of asterisks (“*”) in a pattern
The patterns without “*” have a higher priority.
Criterion 2
The total number of matching digits/symbols inside and outside the braces/brackets
The more matching digits a pattern contains, the higher its priority.
Criterion 3
The number of matching digits/symbols outside the braces/brackets
The more matching digits outside braces/brackets a pattern contains, the higher its priority.
Please Note:
This criterion is used only if several patterns take an equal but non-zero value for Criterion 2.
Criterion 4
The total number of question marks (‘?’) inside and outside the braces/brackets
The more question marks a pattern contains, the higher its priority.
Criterion 5
The number of question marks (“?”) outside braces/brackets
The more question marks outside braces/brackets a pattern contains, the higher its priority.
Please Note:
This criterion is used only if several patterns take an equal but non-zero value for Criterion 4.
Criterion 6
The number of square brackets (“[]”)
The more brackets a pattern contains, the higher its priority.
Criterion 7
The number of braces (“{}”)
The more braces a pattern contains, the higher its priority.