Converting Pstn Numbers For Country Code - Dialogic Vision CX Video Administration Manual

Dialogic vision cx video gateway
Table of Contents

Advertisement

Dialogic® Vision™ CX Video Gateway Administration Manual

Converting PSTN numbers for country code

This example illustrates how incoming PSTN numbers are converted to full
international (US eleven-digit) format.
Eleven-digit numbers are passed through as is.
Ten-digit numbers insert the US country code (1).
Seven-digit numbers insert both the area code (847) and country code (1).
ID
To incoming
1
tel:(\d{11})$
2
tel:(\d{10})$
3
tel:(\d{7})$
The following rules are used in this example:
Rule
Description
1
Matches and captures any PSTN calling/called numbers containing exactly eleven digits, and
insert the numbers into SIP From/To headers.
2
Matches and captures any PSTN calling/called numbers containing exactly ten digits, prefixes
one (1), and inserts the resulting numbers into SIP From/To headers.
3
Matches and captures any PSTN calling/called numbers containing exactly seven digits, prefixes
1847, and inserts the resulting numbers into SIP From/To headers.
Sample Input/Output: Incoming PSTN call
Calling: tel:8479258900 => sip:18479258900@gateway (rule 2 match)
Called: tel:8472711000 => sip:18472711000@hostname.com
Calling: tel:9258900 => sip:18479258900@gateway (rule 3 match)
Called: tel:2711000 => sip:18472711000@hostname.com
Dialogic
From
Mode
incoming
tel:(\d{11})$
Route
tel:(\d{10})$
Route
tel:(\d{7})$
Route
Gateway routing table examples
To outgoing
sip:$1@hostname.com
sip:1$1@hostname.com
sip:1847$1@hostname.com
From outgoing
sip:$1@gateway
sip:1$1@gateway
sip:1847$1@gateway
77

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Vision CX Video and is the answer not in the manual?

Table of Contents