βš™οΈ 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
SymbolMeaningExampleMatches
XAny single digit (0–9)NXXXXXX7-digit starting 2-9
ZAny single digit (1–9)ZXXXXXX7-digit, not starting 0
NAny single digit (2–9)NXXNXXXXXXNANP 10-digit
.Wildcard β€” one or more of anything011.International (011 + anything)
!Wildcard β€” zero or more of anything1800!1-800 and longer
[1-5]Any digit in range or set[28]00NXXXXXX1-200 or 1-800
|Prefix separator β€” left side is stripped before sending to trunk9|NXXXXXXUser dials 9+7-digit; 9 is stripped
PrependDigits added before the number when sending to trunkPrepend: 1Sends 1+number to trunk