freePBX :: Route Dial Patterns
Patterns
Basically, the same characters as Asterisk Dialplan Patterns, but adds the pipe | symbol.
X matches any digit from 0-9
Z matches any digit form 1-9
N matches any digit from 2-9
[1237-9] matches any digit or letter in the brackets (in this example, 1,2,3,7,8,9)
. wildcard, matches one or more characters
| seperates dialing prefix from number
Z matches any digit form 1-9
N matches any digit from 2-9
[1237-9] matches any digit or letter in the brackets (in this example, 1,2,3,7,8,9)
. wildcard, matches one or more characters
| seperates dialing prefix from number
Simple Examples
9|NXXXXXX Matches “95551234” but passes “5551234”
[2-7]XX Matches numbers 200-799
See also
Back to freePBX