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:
Diagram below provides an overview of the trunk routes between each of the sites.
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 |
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.
prepend | prefix | match pattern | callerid |
---|---|---|---|
220 | |||
230 | |||
330 |
prepend | prefix | match pattern | callerid |
---|---|---|---|
335 | |||
345 |
prepend | prefix | match pattern | callerid |
---|---|---|---|
200 | |||
400 | |||
500 |
prepend | prefix | match pattern | callerid |
---|---|---|---|
333 | |||
444 |
prepend | prefix | match pattern | callerid |
---|---|---|---|
1800NXXXXXX | |||
1866NXXXXXX | |||
1877NXXXXXX | |||
1888NXXXXXX | |||
NXXNXXXXXX |
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.
From the IP Trunk Assistant page, create 3 SIP Trunks as per table below:
Account Name | Site_2 | Site_3 | Site_4 |
---|---|---|---|
Trunk Provider | UCx | UCx | UCx |
Host / IP | 10.35.100.251 | 10.35.100.252 | 10.35.100.253 |
From the Outbound Routes page, create 4 outbound routes as per table below:
Route Name | Site_2 | Site_3 | Site_4 | PSTN |
---|---|---|---|---|
Dial Patterns | Dial patterns for Site 2 | Dial patterns for Site 3 | Dial patterns for Site 4 | Dial patterns for Long distance |
Trunk Sequence | Site_2 | Site_3 | Site_4 |
Site_3 Site_4 |
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.
From the IP Trunk Assistant page, create 3 SIP Trunks as per table below:
Account Name | Site_1 | Site_3 | Site_4 |
---|---|---|---|
Trunk Provider | UCx | UCx | UCx |
Host / IP | 10.35.100.250 | 10.35.100.252 | 10.35.100.253 |
From the Outbound Routes page, create 4 outbound routes as per table below:
Route Name | Site_1 | Site_3 | Site_4 | PSTN |
---|---|---|---|---|
Dial Patterns | Dial patterns for Site 1 | Dial patterns for Site 3 | Dial patterns for Site 4 | Dial patterns for Long distance |
Trunk Sequence | Site_1 | Site_3 | Site_4 |
Site_4 Site_3 |
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.
From the IP Trunk Assistant page, create 4 SIP Trunks as per table below:
Account Name | Site_1 | Site_2 | Site_4 | VoIP.ms |
---|---|---|---|---|
Trunk Provider | UCx | UCx | UCx | VoIP.ms |
Host / IP | 10.35.100.250 | 10.35.100.251 | 10.35.100.253 | <Obtain from your trunk provider> |
User Name | <Obtain from your trunk provider> | |||
Secret | <Obtain from your trunk provider> |
From the Outbound Routes page, create 4 outbound routes as per table below:
Route Name | Site_1 | Site_2 | Site_4 | PSTN |
---|---|---|---|---|
Dial Patterns | Dial patterns for Site 1 | Dial patterns for Site 2 | Dial patterns for Site 4 | Dial patterns for Long distance |
Trunk Sequence | Site_1 | Site_2 | Site_4 | VoIP.ms |
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 |
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> |
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 |
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 |