Routing to a SIP destination using a TEL URI

This example shows how to route a SIP call that contains a TEL URI.

When using the standard default profile, specifying a TEL URI in the Outgoing called party will cause the gateway to create an outbound PSTN call. If a SIP call must be created instead, follow the instructions in this section.

Step Action

1

Access the Vision Console, as described in Accessing the Vision Console.

2

Click Gateway profiles in the Provisioning menu. The Routing profiles configuration page with the default profile is displayed.

3

Create a new profile. Click Clone to make a copy of the default profile and modify it.

Edit the profile name (for example, call it sip-using-tel-uris) and profile description in the General section of the profile page.

For information, see General routing profile parameters.

4

Set Outbound Protocol to SIP in the General section. Click Submit.

5

Fill in the Destination address in the SIP section. For example: 192.168.0.1:5070. All SIP outbound calls will be sent to this address. Click Submit.

For information, see SIP routing profile parameters.

6

Click Gateway routes in the Provisioning menu and update the profile association for this route.

For example, the following routing table entry routes a SIP call with a TEL URI:

ID

Profile

Incoming Called party

Incoming Calling party

Outgoing Called party

Outgoing Calling party

1

sip-using-tel-uris

sip:(\d+)@.*

sip:(\d+)@.*

tel:$1

tel:$1

2

sip-using-tel-uris

tel:(\d+)

tel:(\d+)

tel:$1

tel:$1

The following rules are used in this example:

Rule Description
1 Matches a SIP URI in From/To headers, captures all digits before @, and inserts the digits into SIP From/To headers using TEL URIs.
2 Matches a TEL URI in From/to headers, captures all digits before @ or matches and captures all digits from PSTN calling/called numbers. The digits are inserted into SIP From/To headers using TEL URIs.

Sample Input/Output: Incoming SIP call (rule 1 match)

From: sip:8479258900@10.3.6.9 => From: tel:8479258900
To:    sip:5082711000@10.3.6.1 => To: tel:5082711000

From: tel:8479258900 => From: tel:8479258900
To: tel:5082711000=> To: tel:5082711000

Sample Input/Output: Incoming PSTN call (rule 2 match)

Calling: tel:8479258900 => From: tel:8479258900
Called: tel:5082711000 => To: tel:5082711000