Skip to content

Outbound Routing

Outbound routing handles the routing of outgoing calls from the PBX to selected outbound channels. The system is divided into rule tables and table groups, where the PBX directs calls to the most specific applicable rule.

Outbound routing overview

Managing outbound routing

  • New record: Create a new routing
  • Edit: Edit an existing record
  • Delete: Delete a routing

Outbound routing menu

Rule list

After selecting a routing, a list of rules defining outgoing call handling is displayed.

Rule list

Rule properties

Rule properties

Number definitions

  • Simple numbers: 800123456 (specific number)
  • Number blocks with wildcards:
PatternMeaning
_6X.Three-digit numbers from 600–699
_5[48]XNumbers 540–549 and 580–589
_50[1-5]Numbers 501–505

Wildcard characters

Patterns require an underscore prefix:

CharacterRangeExample
X0–9_4X = 40–49
Z1–9_4Z = 41–49
N2–9_4N = 42–49
.All remaining_4. = 400–499
!0 to infinity digits_4! = 4, 40–49, 400+

Caller distinction

Rules support the format DESTINATION_NUMBER/CALLER_NUMBER:

  • 800123456/600987789 — specific combination
  • _2XX/_[2345]! — flexible block-to-block

Rule parameters

Rule parameters

ParameterFunction
Channel typeSIP trunk, script, deny, DAHDI channel, DAHDI bundle
Call limitMaximum concurrent calls
Ring durationRinging time in seconds
Max call durationCall duration limit
Call recordingEnable recording
File prefixE.g. VoIPSUN-OUT-VoIPSUN-CALLER-CALLED-...wav
SIP diversionPass original caller number
Allow transfer by called partyDTMF transfer
Execute scriptScript before dialing
TariffBilling rate
Outgoing caller numberOne of four configured CIDs
Outgoing number rewriteRewrite table
Strip from leftNumber of digits to remove

Fallback routing

Fallback routing

If a call via the selected channel fails and fallback routes are defined, the PBX automatically switches to fallback channels.

Included routings

Included routings

Outbound routings can include rules from other routings for easier management.

Inclusion detail

© 2026 VoIPSUN s.r.o.