B. Perl Regular Expression
120
AdminGuide-Voss12-1.docx
If using POSIX Character class, should use ([[]]).
Char
Description
Example
Example Description
[:alnum:]
Alphabet and Number
[[:alnum:]]
[a-zA-Z0-9]
[:alpha:]
Alphabet [[:alpha:]]
[a-zA-z]
[:digit:]
Number [[:digit:]]
[0-9]
■
Dialplan Example
Figure C-1. Dialplan Example
■
Condition: For international call using 00700 instead of using 001
Pattern:
(001)(.*)
(001) – International Call Service Number
(.*) – Real phone number to dial.
Dial Format:
00700$2
00700 – International Call Service Number
$2 – a number matches with Pattern’s (.*)