For the voice routes, we need digit pattern matches for numbers resulting from the translations applied by the dial plan.
|
Voice Route
|
Priority
|
Dial Pattern
|
PSTN Usage
|
SBC
|
|
Extn2xx
|
1
|
^2\d{2}$
|
IPOffice
|
sbc1.example.com
|
|
Shortcodes
|
1
|
^*.+$
|
IPOffice
|
sbc1.example.com
|
|
PSTN_Local
|
1
|
^\d{6}$
|
National
|
sbc1.example.com
|
|
PSTN_National
|
1
|
^0\d{10}$
|
National
|
sbc1.example.com
|
|
PSTN_Global
|
1
|
^00.+$
|
International
|
sbc1.example.com
|
|
Emergency
|
1
|
^\+?999
|
National
|
sbc1.example.com
|
The dial patterns do not need the ( ) brackets as in the dial plan since we are do not need to refer to them in any translation.