Administration

Multisite – Non-uniform Dialing Plan

1. Overview

This document shows how you would configure 4 different sites running UCX that do not have a Coordinated Dialing Plan in place. The example we use has the following:
  • All extensions are three digits
  • There are no duplicate extensions
  • There is no coordinated dialing plan in place
  • ​PSTN calls from all sites must route out of Site 3 or Site 4
Diagram below provides an overview of the trunk routes between each of the sites.

1.1. SIP Trunks

For extensions dialing, create three SIP trunk endpoints on each UCX Server. This allows you to route calls to any extension through any other server assuming that the server is processing calls.
Site Trunks
Site 1 Site_2, Site_3, Site_4
Site 2 Site_1, Site_3, Site_4
Site 3 Site_1, Site_2, Site_4
Site 4 Site_1, Site_2, Site_3
For PSTN dialing, create SIP trunks to your trunk provider on sites 3 and 4. In our example we use VoIP.ms as our trunk provider.
Site Trunks
Site 3 VoIP.ms
Site 4 VoIP.ms
USEFUL TIP

See IP Trunk Assistant for details on creating SIP trunks

1.2. Outbound Routes

Create four outbound routes on each UCx Server.  Three routes to dial extensions to the other three locations and one route for PSTN dialing. To help facilitate the creation of the routes, create a spreadsheet  with 4 columns that can be used to populate the Dial Patterns on each outbound route. Save the spreadsheet as a csv file and import it using the Dial Pattern import wizard of the outbound route.

1.2.1. CSV files

Dial patterns for Site 1
prepend prefix match pattern callerid
220
230
330
Dial patterns for Site 2
prepend prefix match pattern callerid
335
345
Dial patterns for Site 3
prepend prefix match pattern callerid
200
400
500
Dial patterns for Site 4
prepend prefix match pattern callerid
333
444
Dial patterns for Long distance
prepend prefix match pattern callerid
1800NXXXXXX
1866NXXXXXX
1877NXXXXXX
1888NXXXXXX
NXXNXXXXXX
USEFUL TIP

To read more about dial pattern rules, hover your mouse over the tool tip for Dial Patterns on the Outbound Routes page or use the Dial patterns wizards.

1.3. Inbound Routes

In our example, we need to create at least two inbound routes on Site 3 and Site 4. One route is for 10 digit dialing and the other is for 1+10 digit dialing.

Both routes are used to direct PSTN calls coming in from any of the other three sites to the SIP trunk configured for outbound PSTN calls.

Create additional routing as needed, for example if you allow 7 digit or international dialing.

2. Configure Site 1

System Information

  • Platform: ucx20
  • IP address: 10.35.100.250
  • Subnet mask: 255.255.255.0
  • Extensions: 220, 230, 330

2.1. SIP Trunks

From the IP Trunk Assistant page, create 3 SIP Trunks as per table below:

Account NameSite_2Site_3Site_4
Trunk ProviderUCXUCXUCX
Host / IP10.35.100.25110.35.100.25210.35.100.253
Example below shows trunk for Site_2.

2.2. Outbound Routes

From the Outbound Routes page, create 4 outbound routes as per table below:

Route NameSite_2Site_3Site_4PSTN
Dial PatternsDial patterns for Site 2Dial patterns for Site 3Dial patterns for Site 4Dial patterns for Long distance
Trunk SequenceSite_2Site_3Site_4Site_3
Site_4
Example below shows route for Site_2:


Example below shows route for PSTN.


2.3. Inbound Routes

In our example we do not need any Inbound routes. If the DID number that comes into the UCX server from a trunk (SIP, DAHDI, IAX) matches an extension that is in the from-internal context (which includes all extensions) then the UCX will terminate that call to the extension that matches the incoming DID number.

You can add inbound routes for servicing an IVR, or a Ring Group as needed.

3. Configure Site 2

System Information

  • Platform: ucx20
  • IP address: 10.35.100.251
  • Subnet mask: 255.255.255.0
  • Extensions: 335, 345

3.1. SIP Trunks

From the IP Trunk Assistant page, create 3 SIP Trunks as per table below:

Account NameSite_1Site_3Site_4
Trunk ProviderUCXUCXUCX
Host / IP10.35.100.25010.35.100.25210.35.100.253

3.2. Outbound Routes

From the Outbound Routes page, create 4 outbound routes as per table below:

Route NameSite_1Site_3Site_4PSTN
Dial PatternsDial patterns for Site 1Dial patterns for Site 3Dial patterns for Site 4Dial patterns for Long distance
Trunk SequenceSite_1Site_3Site_4Site_4
Site_3

3.3. Inbound Routes

In our example we do not need any Inbound routes. If the DID number that comes into the UCX server from a trunk (SIP, DAHDI, IAX) matches an extension that is in the from-internal context (which includes all extensions) then the UCX will terminate that call to the extension that matches the incoming DID number.

You can add inbound routes for servicing an IVR, or a Ring Group as needed.

4. Configure Site 3

System Information

  • Platform: ucx20
  • IP address: 10.35.100.252
  • Subnet mask: 255.255.255.0
  • Extensions: 333, 444

4.1. SIP Trunks

From the IP Trunk Assistant page, create 4 SIP Trunks as per table below:

Account NameSite_1Site_2Site_4VoIP.ms
Trunk ProviderUCXUCXUCXVoIP.ms
Host / IP10.35.100.25010.35.100.25110.35.100.253<Obtain from your trunk provider>
User Name   <Obtain from your trunk provider>
Secret   <Obtain from your trunk provider>
Example below shows trunk for VoIP.ms.

4.2. Outbound Routes

From the Outbound Routes page, create 4 outbound routes as per table below:

Route NameSite_1Site_2Site_4PSTN
Dial PatternsDial patterns for Site 1Dial patterns for Site 2Dial patterns for Site 4Dial patterns for Long distance
Trunk SequenceSite_1Site_2Site_4VoIP.ms
Example below shows route for PSTN.



4.3 Inbound Routes

From the Inbound Routes page, create 2 inbound routes as per table below:

DescriptionPSTN_10_digitsPSTN_1_Plus_10
DID Number_XXXXXXXXXX_1XXXXXXXXXX
Set DestinationTrunks – VoIP.msTrunks – VoIP.ms
USEFUL TIP

For DID Number, patterns must begin with an underscore (_) to signify they are patterns.

Example below shows route for PSTN_10_digits.
Example below shows route for PSTN_1_Plus_10

5. Configure Site 4

System Information

  • Platform: ucx20
  • IP address: 10.35.100.253
  • Subnet mask: 255.255.255.0
  • Extensions: 200, 400, 500

5.1. SIP Trunks

From the IP Trunk Assistant page, create 4 SIP Trunks as per table below:
Account Name Site_1 Site_2 Site_3 VoIP.ms
Trunk Provider UCX UCX UCX VoIP.ms
Host / IP 10.35.100.250 10.35.100.251 10.35.100.252 <Obtain from your trunk provider>
User Name <Obtain from your trunk provider>
Secret <Obtain from your trunk provider>

5.2. Outbound Routes

From the Outbound Routes page, create 4 outbound routes as per table below:
Route Name Route to Site 1 Route to Site 2 Route to Site 3 Route to PSTN
Dial Patterns Dial patterns for Site 1 Dial patterns for Site 2 Dial patterns for Site 3 Dial patterns for Long distance
Trunk Sequence Site_1 Site_2 Site_3 VoIP.ms

5.3 Inbound Routes

From the Inbound Routes page , create 2 inbound routes as per table below:
Description PSTN_10_digits PSTN_1_Plus_10
DID Number _XXXXXXXXXX _1XXXXXXXXXX
Set Destination Trunks – VoIP.ms Trunks – VoIP.ms
USEFUL TIP

For DID Number, patterns must begin with an underscore (_) to signify they are patterns.

Contents