AudioCodes E-SBC User Manual page 1125

Hide thumbs Also See for E-SBC:
Table of Contents

Advertisement

CHAPTER 67    Patterns for Denoting Phone Numbers and SIP URIs Mediant 1000 Gateway & E-SBC | User's Manual
Pattern
[n-m] or (n-m)
[n,m,...] or
(n,m,...)
[n1-m1,n2-
m2,a,b,c,n3-
m3] or (n1-
m1,n2-
m2,a,b,c,n3-
m3)
Special
ASCII
Characters
Example of using both a prefix and a suffix in a pattern: Assume you want to
match a rule whose destination phone prefix is 4 through 8, and suffix is 234,
235, or 236. The pattern for this would be: [4-8](23[4,5,6]).
Denotes a range of numbers.
Examples:
To denote prefix numbers from 5551200 to 5551300:
[5551200-5551300]#
To denote prefix numbers from 123100 to 123200:
123[100-200]#
To denote prefix and suffix numbers together:
03(100): for any number that starts with 03 and ends with 100.
[100-199](100,101,105): for a number that starts with 100 to 199 and
ends with 100, 101 or 105.
03(abc): for any number that starts with 03 and ends with abc.
03(5xx): for any number that starts with 03 and ends with 5xx.
03(400,401,405): for any number that starts with 03 and ends with 400
or 401 or 405.
Note:
The value n must be less than the value m.
Only numerical ranges are supported (not letters).
For suffix ranges, the starting (n) and ending (m) numbers in the range
must include the same number of digits. For example, (23-34) is correct,
but (3-12) is not.
Denotes multiple numbers. The value can include digits or characters.
Examples:
To denote a one-digit number starting (prefix) with 2, 3, 4, 5, or 6:
[2,3,4,5,6]
To denote a one-digit number ending (suffix) with 7, 8, or 9: (7,8,9)
Prefix with suffix: [2,3,4,5,6](7,8,9) - prefix is denoted in square brackets;
suffix in parenthesis
For prefix only, the patterns d[n,m]e and d[n-m]e can also be used:
To denote a five-digit number that starts with 11, 22, or 33: [11,22,33]xxx#
To denote a six-digit number that starts with 111 or 222: [111,222]xxx#
Denotes a mixed pattern of single numbers and multiple number ranges. For
example, to denote numbers 123 through 130, 455, 766, and 780 through 790:
Prefix: [123-130,455,766,780-790]
Suffix: (123-130,455,766,780-790)
Note: The ranges and the single numbers in the mixed pattern must have the
same number of digits. For example, each number range and single number in
the examples above consists of three digits (e.g., 780).
The device does not support the use of ASCII characters in manipulation
rules and therefore, for LDAP-based queries, the device can use the
hexadecimal (HEX) format of the ASCII characters for phone numbers
instead. The HEX value must be preceded by a backslash "\".
- 1087 -
Description

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mediant 1000b

Table of Contents