Skip to content

Inbound Routing

Inbound routing processes all incoming calls from SIP or DAHDI trunks assigned to the inbound routing.

Inbound routing overview

Managing routing rules

  • New rule: Click “New record” in the toolbar
  • Edit: “Edit” button or right-click context menu
  • Delete: Delete button or context menu

Routing menu

Phone numbers

Number configuration

Definition of individual numbers or number blocks with pattern support using wildcards (X, Z, N, ., !).

Pattern examples

PatternMeaning
800123456Specific number
_6X.Numbers starting with 6
_5[48]XBlocks 540–549 and 580–589
_50[1-5]Numbers 501–505

Special numbers

NumberMeaning
s (start)Entry point for incoming calls
t (timeout)Triggered when no action is defined
i (invalid)Triggered when no match is found
f (fax)Triggered upon fax tone detection
h (hangup)Triggered after call termination

Routing properties

Routing properties

  • A-number rewrite: CallerID modification with prefix, suffix and trimming
  • B-number rewrite: Called number modification
  • Dial plan assignment: Linking with dial plans for internal number validation

Assigned SIP/DAHDI channels

Assigned channels

Routing rules are assigned to specific trunks for processing incoming calls.

Assignment configuration


Applications (43 total)

Inbound routing supports 43 applications that can be chained into sequences for call processing.

Call control

Authorization

Authorization

PIN code verification — the call is terminated if an incorrect PIN is entered.

Wait

Pauses processing for a specified time with optional music on hold.

Wait for dialing

Wait for dialing

Waits for DTMF input; continues to the entered number or triggers “i” (invalid).

Inter-digit timeout

Sets the timeout between individual DTMF inputs (e.g. 5 seconds between digits).

Response timeout

Response timeout

Maximum wait time for DTMF input from the user.

Answer call

Answers an incoming call with optional delay.

Hangup

Terminates the call with an optional cause code.

Progress

Progress

Sends a SIP 183 Session Progress message.

Maximum call duration

Max call duration

Enforces a call time limit with immediate termination.

Call routing

Goto (unconditional jump)

Goto

Unconditional jump to a specified extension/routing with optional time conditions.

Conditional jump

Conditional jump

Jump based on variable comparison (=, >=, >, <=, <, !=).

Call status check

Call status check

Routing based on the result of a previous call: BUSY, ANSWER, CANCEL, NOANSWER, CONGESTION, CHANUNAVAIL.

Dial channel

Dial channel

Routes directly to a SIP trunk with multiple playback switches.

Dial extension

Dial extension

Calls a single extension with configurable timeout.

Dial extensions

Dial extensions

Simultaneous calling of multiple extensions with optional music on hold.

Dial multi-extension

Dial multi-extension

Routes to a multi-extension group.

Dial outbound routing

Dial outbound routing

Redirects to the outbound routing context.

Switch

Switch

Conditional routing based on switch state (on/off).

Queues and conferences

Queue

Queue

Routes to a call center queue with extensive configuration options (timeouts, fallbacks, agent announcements).

ConfBridge conference

ConfBridge

Multi-party conference with configurable profiles.

Conference (legacy)

Conference

Legacy conference room (being replaced by ConfBridge).

Voicemail and recording

Voicemail

Voicemail

Routes to voicemail.

Call recording

Call recording

Records the call with a customizable filename prefix.

Audio playback

Play file

Play file

Plays an audio file with optional DTMF/fax detection.

Generate tones

Generate tones

Generates specific tones (ringing, dial tone, busy, congestion, etc.).

Generate ringing tone

Plays a ringing tone for a specified duration.

Read number from variable

Read number

Text-to-speech number reading (with language selection).

Read digits from variable

Read digits

Text-to-speech reading of individual digits.

Data management

Read DTMF into variable

Read DTMF

Captures DTMF input into a variable with retry logic and timeout.

Read value from DB

Read from DB

Reads a value from the database into a variable.

Store value to DB

Store to DB

Writes a value to the persistent database.

Delete value from DB

Delete from DB

Removes a value from the database.

Set variable

Set variable

Assigns a value to a session variable.

Call information

Set CallerID

Set CallerID

Modifies CallerID number and name.

Add SIP header

Add SIP header

Inserts a custom SIP header into the signaling.

Set ring type

Ring type

Configures the Alert-Info header (Bellcore-dr1 through dr5 or custom).

DISA and callback

DISA (Direct Inward System Access)

DISA

Allows remote employees to make calls through the PBX at reduced rates with PIN authentication and source number masking.

Callback

Callback

Routes a return call to an external number after the caller hangs up, with optional PIN protection.

Integration and scripting

HTTP API

HTTP API

Sends call information to a web server via HTTP/HTTPS with optional response processing.

Asterisk command

Asterisk command

Executes any Asterisk application.

Script

Script

Executes a dialplan script with variable passing.

Notifications

Send email

Send email

Sends an email with variable interpolation: CALLERID, EXTEN, DATETIME and more.

Utilities

Add number to blacklist

Blacklist

Transfer to another routing

Transfer

Record to file

Recording

Dial via channel with parameters

Channel with parameters

Playback and detection

Playback

IVR menu

IVR

Selection from list

List

Time-based routing

Time-based routing

Calendar-based routing

Calendar-based routing

Call monitoring (spy)

Spy

DISA with extended options

Extended DISA

Dial plan settings

Dial plan

© 2026 VoIPSUN s.r.o.