βοΈ Trunk Configuration
π Dial Rules
Toggle and configure each call type
π€ Generated Dial Patterns
π’
Enable rules above to generate patterns.
π‘ In FreePBX: go to Connectivity β Outbound Routes β [route] β Dial Patterns.
Add each row: enter the Match Pattern (including any strikethrough prefix using the pipe
| separator), then the Prepend value.
π FreePBX Pattern Syntax
| Symbol | Meaning | Example | Matches |
|---|---|---|---|
| X | Any single digit (0β9) | NXXXXXX | 7-digit starting 2-9 |
| Z | Any single digit (1β9) | ZXXXXXX | 7-digit, not starting 0 |
| N | Any single digit (2β9) | NXXNXXXXXX | NANP 10-digit |
| . | Wildcard β one or more of anything | 011. | International (011 + anything) |
| ! | Wildcard β zero or more of anything | 1800! | 1-800 and longer |
| [1-5] | Any digit in range or set | [28]00NXXXXXX | 1-200 or 1-800 |
| | | Prefix separator β left side is stripped before sending to trunk | 9|NXXXXXX | User dials 9+7-digit; 9 is stripped |
| Prepend | Digits added before the number when sending to trunk | Prepend: 1 | Sends 1+number to trunk |