Dialogic® Vision™ CX Video Gateway Administration Manual
Gateway routing table examples
Routing PSTN to SIP based on called number
The following example shows how to route PSTN calls to different SIP servers based
on the called number:
ID
To incoming
From incoming
Mode
To outgoing
From outgoing
1
tel:8479258900
tel:(\d+)
Route
sip:$1@gateway
2
tel:5082711000
tel:(\d+)
Route
sip:$1@gateway
3
tel:(\d+)
tel:(\d+)
Route
sip:$1@gateway
The following rules are used in this example:
Rule
Description
1
Matches a call from any PSTN calling number to 8479258900 and routes the call to
[email protected].
2
Matches a call from any PSTN calling number to 5082711000 and routes the call to
[email protected].
3
Matches a call from any PSTN calling number to any other number and routes the call to
[email protected].
Sample Input/Output: Incoming PSTN call
Calling: tel:3125551212 => sip: 3125551212@gateway (rule 2 match)
Called: tel:5082711000 => sip:[email protected]
Calling: tel:3125551212 => sip: 3125551212@gateway (rule 3 match)
Called: tel:5085551212 => sip:[email protected]
Dialogic
75