Overview
This document shows how you would configure 4 different sites running UCX with a Coordinated Dialing Plan (CDP). Diagram below provides an overview of the trunk routes between each of the sites.1. Configure Site 1: Los Angeles
1.1. System Information
- ucx50E
- 192.168.1.250
- 255.255.255.0
1.2. Extensions
- 2xx
1.3. SIP Trunks
1.3.1. Site2
host=192.168.1.251
type=friend
qualify=yes
insecure=very
dtmfmode=rfc2833
context=from-trunk
canreinvite=nonat
1.3.2. Site3
host=192.168.1.252
type=friend
qualify=yes
insecure=very
dtmfmode=rfc2833
context=from-trunk
canreinvite=nonat
1.3.3. Site4
host=192.168.1.253
type=friend
qualify=yes
insecure=very
dtmfmode=rfc2833
context=from-trunk
canreinvite=nonat
1.4. Outbound Routes
1.4.1. Site2
- Dial pattern: 3XX
- Trunk: Site2
1.4.2. Site3
- Dial pattern: 4XX
- Trunk: Site3
1.4.3. Site4
- Dial pattern: 5XX
- Trunk: Site4
2. Configure Site 2: Denver
2.1. System Information
- ucx50E
- 192.168.1.251
- 255.255.255.0
2.2. Extensions
- 3xx
2.3. SIP Trunks
2.3.1. Site1
host=192.168.1.250
type=friend
qualify=yes
insecure=very
dtmfmode=rfc2833
context=from-trunk
canreinvite=nonat
2.3.2. Site3
host=192.168.1.252
type=friend
qualify=yes
insecure=very
dtmfmode=rfc2833
context=from-trunk
canreinvite=nonat
2.3.3. Site4
host=192.168.1.253
type=friend
qualify=yes
insecure=very
dtmfmode=rfc2833
context=from-trunk
canreinvite=nonat
2.4. Outbound Routes
2.4.1. Site1
- Dial pattern: 2XX
- Trunk: Site1
2.4.2. Site3
- Dial pattern: 4XX
- Trunk: Site3
2.4.3. Site4
- Dial pattern: 5XX
- Trunk: Site4
3. Configure Site 3: Chicago
3.1. System Information
- ucx50E
- 192.168.1.252
- 255.255.255.0
3.2. Extensions
- 4xx
3.3. SIP Trunks
3.3.1. Site1
host=192.168.1.250
type=friend
qualify=yes
insecure=very
dtmfmode=rfc2833
context=from-trunk
canreinvite=nonat
3.3.2. Site2
host=192.168.1.251
type=friend
qualify=yes
insecure=very
dtmfmode=rfc2833
context=from-trunk
canreinvite=nonat
3.3.3. Site4
host=192.168.1.253
type=friend
qualify=yes
insecure=very
dtmfmode=rfc2833
context=from-trunk
canreinvite=nonat
3.4. Outbound Routes
3.4.1. Site1
- Dial pattern: 2XX
- Trunk: Site1
3.4.2. Site2
- Dial pattern: 3XX
- Trunk: Site2
3.4.3. Site4
- Dial pattern: 5XX
- Trunk: Site4
4. Configure Site 4: New York
4.1. System Information
- ucx50E
- 192.168.1.253
- 255.255.255.0
4.2. Extensions
- 5xx
4.3. SIP Trunks
4.3.1. Site1
host=192.168.1.250
type=friend
qualify=yes
insecure=very
dtmfmode=rfc2833
context=from-trunk
canreinvite=nonat
4.3.2. Site2
host=192.168.1.251
type=friend
qualify=yes
insecure=very
dtmfmode=rfc2833
context=from-trunk
canreinvite=nonat
4.3.3. Site3
host=192.168.1.252
type=friend
qualify=yes
insecure=very
dtmfmode=rfc2833
context=from-trunk
canreinvite=nonat
4.4. Outbound Routes
4.4.1. Site1
- Dial pattern: 2XX
- Trunk: Site1
4.4.2. Site2
- Dial pattern: 3XX
- Trunk: Site2
4.4.3. Site3
- Dial pattern: 4XX
- Trunk: Site3
5. Configure Site 1: PSTN
5.1. SIP Trunk
5.1.1. VOIPMS
Configuration Details
username=voipaccountname
secret=voipaccountpassword
type=friend
qualify=yes
insecure=port,invite
dtmfmode=rfc2833
host=dallas.voip.ms
context=from-trunk
disallow=all
allow=ulaw
fromuser=voipaccountname
canreinvite=nonatsendrpid=yes
trustrpid=yes
nat=yes
voipaccountname:[email protected]:5060
5.2. Outbound Routes
5.2.1. 9_OUTSIDE
- Dial pattern = 9.
- Trunk = VOIPMS
5.2.2. To_CS1K_PRI
- Dial pattern = 82xx
- Trunk = Site3
5.2.3. To_CS1K_ANALOG
- Dial pattern = 72xx
- Trunk = Site4
5.3. Inbound Route
5.3.1. To_VOIPMS
- DID = _1xxxxxxxxxx
- Destination = Trunk = VOIPMS
6. Configure Site 3: CS1000 (PRI)
6.1. DAHDI Trunk
6.1.1. PRI1
On a Release 4.5 system
- DAHDI Trunks = Group 0
On a Release 4.0 system
- DAHDI Identifier = G0
6.2. Outbound routes
6.2.1. 9_OUTSIDE
- Dial pattern = 91NXXNXXXXXX
- Trunk = Site1
6.2.2. To_CS1K_PRI
- Dial pattern = 8.
- Trunk = PRI1
6.2.3. To_CS1K_ANALOG
- Dial pattern = 72xx
- Trunk = Site4
6.3. Inbound Route
6.3.1. To_CS1K_PRI
- DID = _2xx
- Destination = Trunk = PRI1
7. Configure Site 4: CS1000 (Analog)
7.1. DAHDI Trunk
7.1.1. FXO-8
- DAHDI Trunks = Group 0 (On a Release 4.5 system)
- DAHDI Identifer = G0 (On a Release 4.0 system)
7.2. Outbound Routes
7.2.1. 9_OUTSIDE
- Dial pattern = 91NXXNXXXXXX
- Trunk = Site1
7.2.2. To_CS1K_PRI
- Dial pattern = 82xx
- Trunk = Site3
7.2.3. To_CS1K_ANALOG
- Dial pattern = 7.
- Trunk = FXO-8
7.3. Inbound Route
7.3.1. To_CS1K_PRI
- DID =_2xx
- Destination = trunk = FXO-8