Dialogic® Vision™ CX Video Gateway Administration Manual
Managing the CX Video Gateway
CCXML application definition pattern matching syntax
The following table describes the syntax used to specify patterns for matching the
dialed number (DNIS) for inbound calls. This is based on standard regular expression
syntax.
Symbol
Description
.
Wildcard that matches any single digit or character. For example, 123.... matches any
(period)
dialed string beginning with 123, plus exactly four additional digits.
[ ]
Range of digits. A consecutive range is indicated with a hyphen (-); for example, [5-7]. A
non-consecutive range is indicated with a comma (,); for example, [5,8]. Hyphens and
commas can be used in combination; for example, [5-7,9].
Note:
Only single-digit ranges are supported. For example, [98-102] is invalid.
( )
A pattern; for example, 408(555). Used in conjunction with the symbol ?, *, or +.
?
Preceding digit occurred zero or one time.
* or %
Preceding digit occurred zero or more times.
+
Preceding digit occurred one or more times.
The following table provides examples of destination patterns and how they are
interpreted:
Pattern
Translation
408555, followed by one or more wildcard digits. Indicates the string must contain
at least 7 digits starting with 408555.
408555.*
408555, followed by zero or more wildcard digits. Indicates the string must contain
at least 408555.
40855, followed by 5 repeated one or more times.
408555*
40855, followed by 5 repeated zero or more times. Any explicitly matching digit
before * (asterisk) is not stripped off.
408555?
40855, followed by 5 repeated zero or one time. Any explicitly matching digit
before ? (question mark) is not stripped off.
40855[5-7].+
40855, followed by 5, 6, or 7, plus any digit repeated one or more times.
40855[5-7].*
40855, followed by 5, 6, or 7, plus any digit repeated zero or more times.
40855[5-
40855, followed by 5, 6, or 7 repeated one or more times, followed by 1234.
7]+1234
408(555)+1234
408, followed by 555, which may repeat one or more times, followed by 1234.
Dialogic
91