manual
ESTOS CallControlGateway 4.0.0.21648
45
3. Removal of the external dialing code
If an access code is available, this one will be removed. If an access code is identified, this
number will be an external number.
4. Recognition of internal numbers
Provided that no dialing prefix was removed, it is decided by the length and rules for
internal phone numbers whether it is an internal phone number.
5. Removal of call-by-call dialing codes
Any call-by-call dialing codes are removed from outgoing calls. The dialing codes used here
are stored in a Configuration file (providers.xml).
6. Standardization of the number
The number is turned into a Supercanonical phone number.
7.3.3 Regular expressions
Regular expressions are patterns with which strings can be searched. It is thus
possible to determine whether the string fulfils specific parameters (length,
begins with certain numbers, etc.) or to replace certain parts of the string.
Search for:
This expression is used on the string. If a match is found, the string is replaced
with the replace with expression.
Hint: The caret (^) can be found on the upper left key of a keyboard with
German layout.
A brief overview of the permitted expressions:
Character
Description
^
The beginning of the string. The expression "^0" finds only the 0 at the beginning of the
number.
^
The caret (^) following a left bracket ([) has a different meaning. It is used to exclude the
following characters within the bracket. The expression "[^0-8]" only allows numbers from 0 to
8.
$
The dollar sign ($) designates the end of the string. The expression "152$" is just valid for
numbers which are ending with "152".
|
The (|) sign allows for both characters it stands between. The expression "8|9" allows both '8'
and '9'.
.
The dot (.) allows any character (or any number).
*
The star (*) requires that the character on its left to be present 0 times or more.
+
The plus (+) is similar to the star, but the character left of it has to be present at least once.
?
The question mark (?) indicates, that the sign to the left must exist O or 1 time.
()
The regular brackets indicate the expressions available to the 'Replace by' field.
[]
The pointed bracket ([ and ]) indicates the amount of characters allowed at this location.