In today's blog i will provide you the solution overview of documentation involved in the design build of ITSP SIP trunk deployment project.
Let say UC Engineer need support to build design config to
the new SIP circuit of the site Chicago location and the below are the details of the cutover.
And the configuration of the Unified Communications applications that are
required to support SIP call traversing functionality for users at this site. Lets discuss below how to design and document the steps involved in this project.
Below are the solution details.
IP-PBX Task
1)
Configuration
of SIP Profile, SIP Security Profile
2)
Configuration
of SIP trunk
3)
Building
Routing dial plan with prefixing digit 6
4)
Configuration
of Route group, Route List and Route pattern for supporting Local, Long
distance and International Calls.
Cisco Voice Gateway
1)
Remotely
configure provided Cisco 2951 Voice Gateway
2)
Configure SIP
connectivity with ITSP
3)
Configuring
Dial-plan for Routing over SIP trunk
IP PBX details
Node
|
IP
Address
|
Version
|
Host
Name
|
Publisher (PUB)
|
10.2.80.15
|
10.5
|
Ccm1.localdomain
|
Subscriber 1 (SUB 1)
|
10.2.80.16
|
10.5
|
Cm2.localdomain
|
Below is the configuration that was made on the
call manager for the purpose of this deployment.
The configuration on the CUCM has been done in
accordance with the naming convention that has already been in place.
Cisco UCM Configurations
CUCM Group
|
Device Pool
|
Location
|
Hub_None
|
SIP Profile
|
SIP Security
Profile
|
SIP_Profile_for_CUBE
|
SIP_Security_Profile_for_CUBE
|
Cisco UCM Media Resources Configurations
Media Resource Group
|
Media Resource
Group List
|
MRG_Chicago
|
MRGL_Chicago
|
Route List and
Route Group Configuration
Route Group
|
Route List
|
RG_ITSP_CUBE
|
RL_ITSP_CUBE
|
Extension & DID Range
Service Provider
|
ClarityTel
|
Site Location
|
Chicago
|
DID Porting List
(ClarityTel)
|
773-685-6800
|
Toll Free
|
N/A
|
PRI Main Line
|
(610) 262-5431
|
SIP Main Line
|
(773)-685-6800
|
Forwarding Station
|
793
(Auto Attendant)
|
Gateway
Information
Device
|
IP Address
|
Host Name
|
MGCP Gateway
|
10.2.80.2
|
BernardVGW01
|
Cisco UCM Call Routing Configurations
Route List and
Route Group Configuration
Route Group
|
Route List
|
RG_ITSP_CUBE
|
RL_ITSP_CUBE
|
OUTBOUND CALL
ROUTING
Note#
PREFIX Digit “6“
·
Routing is done for SIP
trunk in order that any user can dial out long distanc, local and international
calls by prefixing digit “6”
·
If the user prefix
number “6”, The call will traverse over the SIP Trunk path to the PSTN
·
All the translations and digit manipulations have
been performed on the Voice gateway.
!
voice translation-rule 1001
rule
1 /^[1-6]../ /7736856800/
!
voice translation-rule 1002
rule
1 /^6\(...........$\)/ /\1/
rule
2 /^6\(..........$\)/ /\1/
rule
10 /^6\(.*$\)/ /\1/
!
!
voice translation-profile Outgoing
translate calling 1
translate called 1
!
INBOUND CALL
ROUTING
Main Line Number Routing:
-
·
Inbound call routing is
done for SIP Main line number in such a way that call will land on School Auto
attendant at number 793
·
Translation of this
inbound calling number is done on the Voice gateway.
!
voice translation-rule 2001
rule
1 /7736856800/ /793/
!
!
voice translation-profile toCUCM
translate called 2001
!
ClarityTel Specific Configuration on Voice
Gateway:
!
sip-ua
retry
invite 2
retry
response 3
retry
bye 3
timers
expires 300000
registrar ipv4:216.241.190.51 expires 3600
sip-server ipv4:216.241.190.51:5060
connection-reuse
g729-annexb override
!
SIP Routing has been done through four SIP Voip
dial-peers:
1.
Inbound ClarityTek
ITSP to CUBE
!
dial-peer voice 65 voip
description >> Inbound - ITSP to CUBE <<
session protocol sipv2
session target sip-server
session transport udp
incoming called-number .T
incoming uri via ITSP
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
voice-class sip bind control source-interface
GigabitEthernet0/1
voice-class sip bind media source-interface
GigabitEthernet0/1
dtmf-relay rtp-nte
2.
Outbound CUBE
to ClarityTek ITSP
dial-peer voice 60 voip
description >> Outbound - CUBE to ITSP<<
translation-profile outgoing toITSP
destination-pattern 6T
session protocol sipv2
session transport udp
session server-group 20
voice-class codec 1
voice-class sip profiles 1
voice-class sip bind control source-interface
GigabitEthernet0/1
voice-class sip bind media source-interface
GigabitEthernet0/1
dtmf-relay rtp-nte
fax protocol none
!
3.
Inbound CUCM
to CUBE
dial-peer voice 35 voip
description >> Inbound - CUCM to CUBE <<
session protocol sipv2
session target sip-server
incoming called-number .T
incoming uri via CUCM
voice-class codec 1
voice-class sip options-keepalive up-interval
20 down-interval 20 retry 2
voice-class sip bind control source-interface
GigabitEthernet0/0
voice-class sip bind media source-interface
GigabitEthernet0/0
dtmf-relay rtp-nte
fax protocol none
4.
Outbound CUBE
to CUCM
dial-peer voice 66 voip
description >> Outbound to CUCM
translation-profile outgoing toCUCM
destination-pattern 7736856800
session protocol sipv2
session server-group 1
voice-class codec 1
voice-class sip bind control source-interface
GigabitEthernet0/0
voice-class sip bind media source-interface
GigabitEthernet0/0
dtmf-relay rtp-nte
!
!
Final
Voice Gateway Configuration
*******************************************************************************************
!
version 15.4
service timestamps debug
datetime msec localtime
service timestamps log
datetime msec localtime
no service password-encryption
service internal
service sequence-numbers
hostname BernardVGW01
boot-start-marker
boot-end-marker
card type t1 0 0
logging queue-limit 100000000
logging buffered 10000000
logging rate-limit 10000
no logging console
no logging monitor
enable secret 5 $1$BkpI$gesx/zVNiBHz3rAJOTjUc0
!
no aaa new-model
clock timezone CST -6 0
clock summer-time CDT
recurring
network-clock-participate wic
0
no ip domain lookup
ip domain name localdomain
ip host ccm1 10.2.80.15
ip host sip.claritytel.com
216.241.190.51
ip host sip01.claritytel.com
216.241.190.41
ip host sip02.claritytel.com
216.241.190.42
ip host sip03.claritytel.com
216.241.190.43
ip host sip04.claritytel.com
216.241.190.44
ip host sip05.claritytel.com
216.241.190.45
ip host sip06.claritytel.com
216.241.190.46
ip host sip07.claritytel.com
216.241.190.47
ip host sip08.claritytel.com
216.241.190.48
ip host sip09.claritytel.com
216.241.190.49
ip host sip10.claritytel.com
65.100.156.110
ip host sip11.claritytel.com
65.100.156.111
ip host sip12.claritytel.com
65.100.156.112
ip host sip13.claritytel.com
65.100.156.113
ip host sip14.claritytel.com
65.100.156.114
ip host sip15.claritytel.com
65.100.156.115
ip host sip16.claritytel.com
65.100.156.116
ip host sip17.claritytel.com
65.100.156.117
ip host sip18.claritytel.com
65.100.156.118
ip host sip19.claritytel.com
65.100.156.119
ip cef
no ipv6 cef
multilink bundle-name
authenticated
isdn switch-type primary-4ess
!
cts logging verbose
!
crypto pki trustpoint
TP-self-signed-3433760182
enrollment selfsigned
subject-name
cn=IOS-Self-Signed-Certificate-3433760182
revocation-check none
rsakeypair TP-self-signed-3433760182
!
!
crypto pki certificate chain
TP-self-signed-3433760182
voice-card 0
voice call send-alert
voice rtp send-recv
voice service voip
ip address trusted list
ipv4 10.2.80.15 255.255.255.255
ipv4 10.2.80.16 255.255.255.255
ipv4 216.241.190.0 255.255.255.0
ipv4 65.100.156.0 255.255.255.0
allow-connections sip to sip
fax protocol t38 version 0 ls-redundancy 0
hs-redundancy 0 fallback none
sip
header-passing
error-passthru
registrar server
midcall-signaling passthru
privacy-policy passthru
!
!
voice class uri CUCM sip
host ipv4:10.2.80.16
host ipv4:10.2.80.15
!
voice class uri ITSP sip
host ipv4:216.241.190.51
host ipv4:216.241.190.41
host ipv4:216.241.190.42
host ipv4:216.241.190.43
host ipv4:216.241.190.44
host ipv4:216.241.190.45
host ipv4:216.241.190.46
host ipv4:216.241.190.47
host ipv4:216.241.190.48
host ipv4:216.241.190.49
voice class codec 1
codec preference 2 g711alaw
codec preference 4 g711ulaw
codec preference 6 g729r8
voice class sip-profiles 1
request ANY sip-header From
modify "@216\.241\.190\.51" "@66.99.223.228
voice class server-group 1
ipv4 10.2.80.16 preference 1
ipv4 10.2.80.15 preference 2
!
voice class server-group 20
ipv4 216.241.190.51
voice iec syslog
!
!
voice translation-rule 1
rule 1 /^1../ /7732811858/
rule 2 /^2../ /7732811858/
rule 3 /^3../ /7732811858/
rule 4 /^4../ /7732811858/
rule 5 /^5../ /7732811858/
!
voice translation-rule 1001
rule 1 /^[1-6]../ /7736856800/
!
voice translation-rule 1002
rule 1 /^6\(...........$\)/ /\1/
rule 2 /^6\(..........$\)/ /\1/
rule 10 /^6\(.*$\)/ /\1/
!
voice translation-rule 2001
rule 1 /7736856800/ /793/
voice translation-profile
Outgoing
translate calling 1
translate called 1
voice translation-profile
toCUCM
translate called 2001
voice translation-profile
toITSP
translate calling 1001
translate called 1002
application
global
service alternate default
license udi pid CISCO2951/K9
sn FJC2005A0UC
hw-module pvdm 0/0
username admin privilege 15
secret 5 $1$.Bhe$u8uOGxXLjsyiegQzoR6ZH1
username tech privilege 15
password 7 040E05130927551E1A1A2505
username klink privilege 15
password 7 08231F5A011C0927321907
!
redundancy
notification-timer 120000
!
!
controller T1 0/0/0
cablelength long 0db
pri-group timeslots 1-24 service mgcp
!
ip ssh authentication-retries
2
ip ssh rsa keypair-name
Bernard
ip ssh version 2
!
translation-rule 500
!
gw-accounting syslog stats
interface
Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
ip address 10.2.80.2 255.255.255.0
duplex auto
speed auto
!
interface
GigabitEthernet0/0.100
description >> ITSP ClarityTel<<
encapsulation dot1Q 80
!
interface GigabitEthernet0/1
description >> ITSP ClarityTel<<
ip address 66.99.223.228 255.255.255.224
duplex auto
speed auto
!
interface GigabitEthernet0/2
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0:23
no ip address
encapsulation hdlc
isdn switch-type primary-ni
isdn incoming-voice voice
isdn bind-l3 ccm-manager
no cdp enable
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
ip http timeout-policy idle 60
life 86400 requests 10000
!
ip route 0.0.0.0 0.0.0.0
10.2.80.1
ip route 65.100.156.0
255.255.255.255 66.99.223.225
ip route 216.241.190.0
255.255.255.0 GigabitEthernet0/1
ip route 216.241.190.0
255.255.255.255 66.99.223.225
!
logging host 10.2.101.62
!
nls resp-timeout 1
cpd cr-id 1
!
snmp-server community n3rdc@v3
RO 66
access-list 66 permit
10.2.101.66
control-plane
voice-port 0/0/0:23
voice-port 0/1/0
timing hookflash-out 50
timing guard-out 1000
voice-port 0/1/1
timing hookflash-out 50
timing guard-out 1000
voice-port 0/1/2
timing hookflash-out 50
timing guard-out 1000
voice-port 0/1/3
echo-cancel coverage 64
timing hookflash-out 50
timing guard-out 1000
voice-port 0/2/0
voice-port 0/2/1
voice-port 0/2/2
voice-port 0/2/3
voice-port 0/3/0
voice-port 0/3/1
voice-port 0/3/2
voice-port 0/3/3
mgcp
mgcp call-agent 10.2.80.16
2427 service-type mgcp version 0.1
mgcp rtp unreachable timeout 1000
action notify
mgcp modem passthrough voip
mode nse
mgcp package-capability
rtp-package
mgcp package-capability
sst-package
mgcp package-capability
pre-package
no mgcp package-capability
res-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax t38 inhibit
mgcp rtp payload-type g726r16
static
mgcp bind control
source-interface GigabitEthernet0/0
mgcp bind media
source-interface GigabitEthernet0/0
mgcp behavior rsip-range
tgcp-only
mgcp behavior comedia-role
none
mgcp behavior comedia-check-media-src
disable
mgcp behavior
comedia-sdp-force disable
!
mgcp profile default
!
!
ccm-manager music-on-hold
!
ccm-manager fallback-mgcp
ccm-manager redundant-host
10.2.80.15
ccm-manager mgcp
no ccm-manager fax protocol
cisco
ccm-manager config server
10.2.80.15
ccm-manager config
!
dial-peer cor custom
!
!
dial-peer voice 999858 pots
incoming called-number ...
no digit-strip
direct-inward-dial
!
dial-peer voice 99911 pots
destination-pattern 911
no digit-strip
!
dial-peer voice 99900 pots
description Generic Outbound Calls
translation-profile outgoing Outgoing
destination-pattern 91[2-9]..[2-9]......$
incoming called-number .
no digit-strip
forward-digits 11
!
dial-peer voice 999011 pots
service mgcpapp
port 0/1/1
!
dial-peer voice 999010 pots
service mgcpapp
port 0/1/0
!
dial-peer voice 999021 pots
service mgcpapp
port 0/2/1
!
dial-peer voice 999022 pots
service mgcpapp
port 0/2/2
!
dial-peer voice 999023 pots
service mgcpapp
port 0/2/3
!
dial-peer voice 999012 pots
service mgcpapp
port 0/1/2
!
dial-peer voice 999031 pots
service mgcpapp
port 0/3/1
!
dial-peer voice 999030 pots
service mgcpapp
port 0/3/0
!
dial-peer voice 999032 pots
service mgcpapp
port 0/3/2
!
dial-peer voice 999033 pots
service mgcpapp
port 0/3/3
!
dial-peer voice 999020 pots
service mgcpapp
port 0/2/0
!
dial-peer voice 999013 pots
service mgcpapp
port 0/1/3
!
dial-peer voice 616 voip
session protocol sipv2
session target ipv4:10.2.80.11
incoming called-number 885
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 771818 pots
description Generic Outbound Calls
translation-profile outgoing Outgoing
destination-pattern 81[2-9]..[2-9]......$
incoming called-number .
no digit-strip
port 0/0/0:23
forward-digits 11
!
dial-peer voice 18911 pots
destination-pattern 8911
no digit-strip
port 0/0/0:23
!
dial-peer voice 99901990 pots
service mgcpapp
port 0/1/0
!
dial-peer voice 99901991 pots
service mgcpapp
port 0/1/1
!
dial-peer voice 99901992 pots
service mgcpapp
port 0/1/2
!
dial-peer voice 99901993 pots
service mgcpapp
port 0/1/3
!
dial-peer voice 99902990 pots
service mgcpapp
port 0/2/0
!
dial-peer voice 99902991 pots
service mgcpapp
port 0/2/1
!
dial-peer voice 99902992 pots
service mgcpapp
port 0/2/2
!
dial-peer voice 99902993 pots
service mgcpapp
port 0/2/3
!
dial-peer voice 99903990 pots
service mgcpapp
port 0/3/0
!
dial-peer voice 99903991 pots
service mgcpapp
port 0/3/1
!
dial-peer voice 99903992 pots
service mgcpapp
port 0/3/2
!
dial-peer voice 99903993 pots
service mgcpapp
port 0/3/3
!
dial-peer voice 99901099 pots
service mgcpapp
port 0/1/0
!
dial-peer voice 99901199 pots
service mgcpapp
port 0/1/1
!
dial-peer voice 99901299 pots
service mgcpapp
port 0/1/2
!
dial-peer voice 99901399 pots
service mgcpapp
port 0/1/3
!
dial-peer voice 99902099 pots
service mgcpapp
port 0/2/0
!
dial-peer voice 99902199 pots
service mgcpapp
port 0/2/1
!
dial-peer voice 99902299 pots
service mgcpapp
port 0/2/2
!
dial-peer voice 99902399 pots
service mgcpapp
port 0/2/3
!
dial-peer voice 99903099 pots
service mgcpapp
port 0/3/0
!
dial-peer voice 99903199 pots
service mgcpapp
port 0/3/1
!
dial-peer voice 99903299 pots
service mgcpapp
port 0/3/2
!
dial-peer voice 99903399 pots
service mgcpapp
port 0/3/3
!
dial-peer voice 65 voip
description >> Inbound - ITSP to CUBE
<<
session protocol sipv2
session target sip-server
session transport udp
incoming called-number .T
incoming uri via ITSP
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
voice-class sip bind control source-interface
GigabitEthernet0/1
voice-class sip bind media source-interface
GigabitEthernet0/1
dtmf-relay rtp-nte
fax protocol none
!
dial-peer voice 60 voip
description >> Outbound - CUBE to
ITSP<<
translation-profile outgoing toITSP
destination-pattern 6T
session protocol sipv2
session transport udp
session server-group 20
voice-class codec 1
voice-class sip profiles 1
voice-class sip bind control source-interface
GigabitEthernet0/1
voice-class sip bind media source-interface
GigabitEthernet0/1
dtmf-relay rtp-nte
fax protocol none
!
dial-peer voice 35 voip
description >> Inbound - CUCM to CUBE
<<
session protocol sipv2
session target sip-server
incoming called-number .T
incoming uri via CUCM
voice-class codec 1
voice-class sip options-keepalive up-interval
20 down-interval 20 retry 2
voice-class sip bind control source-interface
GigabitEthernet0/0
voice-class sip bind media source-interface
GigabitEthernet0/0
dtmf-relay rtp-nte
fax protocol none
!
dial-peer voice 66 voip
description >> Outbound to CUCM
translation-profile outgoing toCUCM
destination-pattern 7736856800
session protocol sipv2
session server-group 1
voice-class codec 1
voice-class sip bind control source-interface
GigabitEthernet0/0
voice-class sip bind media source-interface
GigabitEthernet0/0
dtmf-relay rtp-nte
!
!
num-exp 246 329
num-exp 200 336
num-exp 207 103
num-exp 208 104
num-exp 209 105
num-exp 210 106
num-exp 212 155
num-exp 213 337
num-exp 214 338
num-exp 222 153
num-exp 224 444
num-exp 226 301
num-exp 228 302
num-exp 229 304
num-exp 230 305
num-exp 231 306
num-exp 240 310
num-exp 243 312
num-exp 249 313
num-exp 250 315
num-exp 251 317
num-exp 252 303
num-exp 253 314
num-exp 255 107
num-exp 256 108
num-exp 257 110
num-exp 263 321
num-exp 264 322
num-exp 265 323
num-exp 266 324
num-exp 267 326
num-exp 269 403
num-exp 270 404
num-exp 271 406
num-exp 272 409
num-exp 273 410
num-exp 274 402
num-exp 279 336
num-exp 280 557
num-exp 299 793
num-exp 858 500
sip-ua
retry invite 2
retry response 3
retry bye 3
retry prack 6
retry register 2
timers expires 300000
registrar ipv4:216.241.190.51 expires 3600
sip-server ipv4:216.241.190.51:5060
connection-reuse
g729-annexb override
!
!
!
gatekeeper
shutdown
!
!
call-manager-fallback
secondary-dialtone 9
max-conferences 8 gain -6
transfer-system full-consult
limit-dn 7940 2
limit-dn 7960 6
ip source-address 10.2.80.2 port 2000
max-ephones 96
max-dn 96 dual-line
transfer-pattern ....
no huntstop
moh enable-g711
"flash:music-on-hold.au"
time-zone 8
!
line con 0
login local
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop
udptn v120 ssh
stopbits 1
line vty 0 4
exec-timeout 1 30
login local
transport input ssh
line vty 5 15
exec-timeout 0 0
login local
transport input none
scheduler allocate 20000 1000
ntp update-calendar
ntp server 10.2.101.17
ntp server 10.2.101.75
!
End
Document
Change Control
#
|
Version
|
Date
|
Who
|
Change
Details
|
Decision
|
1.
|
|||||
2.
|