Fortinet Technologies Inc. Page 57 FortiVoice 200D/200D-T v2.0 MR1 CLI Reference
pbx number-management
Use this command to configure the pattern and number of digits you want the FortiVoice unit to
use for phone numbers, speed dials, and prefixes.
The FortiVoice unit support the following pattern-matching syntax:
Syntax Description
X Matches any single digit from 0 to 9.
Z Matches any single digit from 1 to 9.
N Matches any single digit from 2 to 9.
[15-7] Matches a single character from the range of digits specified. In this case, the
pattern matches a single 1, as well as any number in the range 5, 6, 7.
. Wildcard match; matches one or more characters, no matter what they are.
! Wildcard match; matches zero or more characters, no matter what they are.
,
; or
(space)
These pattern delimiters allow you to enter multiple pattern strings at a time. For
example, you can enter NXXX,6XXXX;[3-5]X
Pattern Description
NXXX Matches any four-digit number, as long as the first digit is 2 or higher.
NXXNXXXXXX This pattern matches with areas with 10-digit dialing.
1NXXNXXXXXX Matches the number 1, followed by an area code between 200 and 999,
then any seven-digit number. In the North American Numbering Plan calling
area, you can use this pattern to match any long-distance number.
011. Matches any number that starts with 011 and has at least one more digit.
Table 6: Pattern-matching syntax
Table 7: Pattern-matching examples