cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2040
Views
0
Helpful
4
Replies

Migration from PRI/ISDN to SIP

prabhu050446
Level 1
Level 1

Hello All,

 

I am a route switch engineer and my voice experience is a beginner, so would like to get some insights on how to migrate from Voice PRI/ISDN to SIP. We have Cisco 4331 CME (used virtual CUE OVA service container) router and Polycom phones. I have polycom phones setup with grabbing the config files from 4331 CME router flash. Polycom phones are registered already with Voice PRI and when I removed PRI T1 configuration they still are registered.

 

We would like to get ride of physical PRI lines and have our telephony service leverage the data circuit. We have a SIP carrier already providing the service and they shared all the creds to use.

 

Can you give me some pointers on 4331 router SIP configuration. Below is the config that I tested with.

 

Thanks a lot.


!
version 16.7
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
platform qfp utilization monitor load 80
no platform punt-keepalive disable-kernel-core
!
hostname C2921
!
boot-start-marker
boot-end-marker
!
!
vrf definition Mgmt-intf
!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!
! card type command needed for slot/bay 0/1
logging queue-limit 10000
logging buffered 1000000
logging persistent
logging rate-limit 10000
no logging console

!
aaa new-model
!
!
aaa authentication login default group tacacs+ line enable
aaa authentication login securid group tacacs+ line enable
aaa authentication enable default group tacacs+ enable
aaa authorization exec default group tacacs+ if-authenticated
aaa accounting exec default start-stop group tacacs+
aaa accounting commands 0 default start-stop group tacacs+
aaa accounting commands 15 default start-stop group tacacs+
aaa accounting system default start-stop group tacacs+
!
!
!
!
!
!
aaa session-id common
!
!
!
!
!
!
!
no ip bootp server

no ip domain lookup
ip domain name msstore.microsoftstore.com
no ip dhcp conflict logging
ip dhcp excluded-address 10.x.x.x 10.x.x.x
!
ip dhcp pool voice
network 10.x.x.128 255.255.255.192
default-router 10.x.x.129
option 66 ascii tftp://10.y.y.20/POLYCOM
option 150 ip 10.y.y.20
!
!
!
!
!
!
!
!
!
!
subscriber templating
!
!
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!

!
!
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
supplementary-service h450.12
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
registrar server expires max 1200 min 300
localhost dns:sipcarrier.com
!
voice class codec 1
codec preference 1 g711ulaw
!
!
!
!
!
voice register global
mode cme
source-address 10.y.y.20 port 5060
max-dn 60
max-pool 60
authenticate register
create profile sync abdcefgh
auto-register
!
!
voice register dn 5
number 7020
allow watch
name ABCD 7020
label ABCD 7020
!
voice register dn 13
number 7030
allow watch
name EFGH 7030
label EFGH 7030
!
voice register dn 14
number 7031
allow watch
name EFGH2 7031
label EFGH2 7031
!
voice register dn 21
number 7050
allow watch
name IJKL 7050
label IJKL 7050
!
voice register dn 22
number 7051
allow watch
name IJKL2 7051
label IJKL2 7051
!
voice register dn 25
number 7060
allow watch
name Office 7060
label Office 7060
!
voice register dn 29
number 7070
allow watch
name Roaming 7070
label Roaming 7070
!
voice register dn 30
number 7071
allow watch
name Roaming 7071
label Roaming 7071
!
voice register dn 31
number 7072
allow watch
name Roaming 7072
label Roaming 7072
!
voice register dn 32
number 7073
allow watch
name Roaming 7073
label Roaming 7073
!
voice register dn 33
number 7074
allow watch
name Roaming 7074
label Roaming 7074
!
voice register dn 34
number 7075
allow watch
name Roaming 7075
label Roaming 7075
!
voice register template 1
dialplan 1
!
voice register dialplan 1
type 7940-7960-others
pattern 1 2...
pattern 2 7...
!
voice register pool 5
id device-id-name MACADDRESS1
type P600
number 1 dn 5
template 1
no digit collect kpml
dtmf-relay rtp-nte
voice-class codec 1
username 7020 password password
!
voice register pool 13
id device-id-name MACADDRESS2
type P600
number 1 dn 13
template 1
no digit collect kpml
dtmf-relay rtp-nte
username 7030 password password
codec g711ulaw
!
voice register pool 21
id device-id-name MACADDRESS3
type P600
number 1 dn 21
template 1
no digit collect kpml
dtmf-relay rtp-nte
username 7050 password password
codec g711ulaw
!
voice register pool 25
id device-id-name MAC ADDRESS4
type P600
number 1 dn 25
template 1
no digit collect kpml
dtmf-relay rtp-nte
username 7060 password password
codec g711ulaw
!
voice register pool 29
id device-id-name WIRELESSSERVEMACADDRESS
number 1 dn 29
number 2 dn 30
number 3 dn 31
number 4 dn 32
number 5 dn 33
template 1
dtmf-relay rtp-nte
username 7070 password password
codec g711ulaw
!
voice hunt-group 1 parallel
list 7020,7025
pilot 7120
!
!
voice hunt-group 2 parallel
list 7030,7031
pilot 7130
!
!
voice hunt-group 3 parallel
list 7050,7051
pilot 7150
!
!
voice hunt-group 6 parallel
list 7070,7071,7072,7073,7074,7075
pilot 7171
!
!
voice hunt-group 7 sequential
final 7171
list 7050,7051,7020
timeout 12
pilot 7250
!
!
voice hunt-group 8 sequential
final 7050
list 7060,7070
timeout 40
pilot 7175
!
!
!
voice translation-rule 1
rule 1 /.+/ /PHONENUMBER/
!
!
voice translation-profile 1
translate calling 1
!
!
!
!
!
voice-card 0/1
no watchdog
!
voice-card 0/2
no watchdog
!
license udi pid ISR4331/K9 sn SERIAL
license accept end user agreement
license boot suite FoundationSuiteK9
license boot suite AdvUCSuiteK9
no license smart enable
diagnostic bootup level minimal
!
spanning-tree extend system-id
archive
log config
logging enable
!
!
!
!
redundancy
mode none
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface VirtualPortGroup0
ip unnumbered GigabitEthernet0/0/0
no mop enabled
no mop sysid
cdp enable
!
interface VirtualPortGroup1
ip unnumbered GigabitEthernet0/0/0
no mop enabled
no mop sysid
cdp enable
!
interface GigabitEthernet0/0/0
description CTS to Core Switch 4/0/44
ip address 10.y.y.20 255.255.255.192
negotiation auto
!
interface GigabitEthernet0/0/1
description 4401 Gi0/0/3
ip address 10.99.1.2 255.255.255.252
negotiation auto
!
interface GigabitEthernet0/0/2
description 4402 Gi0/0/3
ip address 10.99.2.2 255.255.255.252
negotiation auto
!
interface Service-Engine0/1/0
snmp trap link-status permit duplicates
!
interface Service-Engine0/2/0
!
interface GigabitEthernet0
vrf forwarding Mgmt-intf
no ip address
negotiation auto
!
interface Async1/0/0
no ip address
!
interface Async1/0/1
no ip address
!
interface Async1/0/2
no ip address
!
interface Async1/0/3
no ip address
!
interface Async1/0/4
no ip address
!
interface Async1/0/5
no ip address
!
interface Async1/0/6
no ip address
!
interface Async1/0/7
no ip address
!
interface Async1/0/8
no ip address
!
interface Async1/0/9
no ip address
!
interface Async1/0/10
no ip address
!
interface Async1/0/11
no ip address
!
interface Async1/0/12
no ip address
!
interface Async1/0/13
no ip address
!
interface Async1/0/14
no ip address
!
interface Async1/0/15
no ip address
!
!
router eigrp 65499
network 10.99.1.0 0.0.0.3
network 10.99.2.0 0.0.0.3
passive-interface default
no passive-interface GigabitEthernet0/0/1
no passive-interface GigabitEthernet0/0/2
!
!
virtual-service vCUE
vnic gateway VirtualPortGroup0
guest ip address 10.y.y.14
vnic gateway VirtualPortGroup1
guest ip address 10.y.y.14
activate
!
ip default-gateway 10.y.y.1
ip forward-protocol nd
ip http server
ip http authentication aaa
ip http secure-server
ip http path flash:/GUI
ip route 0.0.0.0 0.0.0.0 10.y.y.1
ip route 10.y.y.14 255.255.255.255 VirtualPortGroup0
ip route 10.y.y.14 255.255.255.255 VirtualPortGroup1
ip tacacs source-interface GigabitEthernet0/0/0
!
ip ssh time-out 60
ip ssh authentication-retries 5
ip ssh version 2
ip scp server enable
!

tftp-server flash:POLYCOM/2345-12375-001.bootrom.ld
tftp-server flash:POLYCOM/2345-12375-001.sip.ld
tftp-server flash:POLYCOM/2345-12670-001.bootrom.ld
tftp-server flash:POLYCOM/2345-12670-001.sip.ld
tftp-server flash:POLYCOM/Answer_Desk_7030.cfg
tftp-server flash:POLYCOM/Inventory_7020.cfg
tftp-server flash:POLYCOM/Manager_Office_7060.cfg
tftp-server flash:POLYCOM/MSStore.jpg
tftp-server flash:POLYCOM/SIP.CFG
tftp-server flash:POLYCOM/SIP.VER
tftp-server flash:POLYCOM/MAC1.cfg
tftp-server flash:POLYCOM/MAC1-phone.cfg
tftp-server flash:POLYCOM/MAC2.cfg
tftp-server flash:POLYCOM/MAC2-phone.cfg
tftp-server flash:POLYCOM/MAC3.cfg
tftp-server flash:POLYCOM/MAC3-phone.cfg
tftp-server flash:POLYCOM/MAC4.cfg
tftp-server flash:POLYCOM/Store_SIP.cfg
tftp-server flash:POLYCOM/_7050.cfg
tftp-server flash:POLYCOM/MAC4-phone.cfg
!
!
!
!
control-plane
!
!
voice-port 0/2/0
connection plar 7010
shutdown
description 911 via
!
voice-port 0/2/1
signal loopStart live-feed
shutdown
description Muzak MOH
!
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
!
!
!
!
telephony-service
moh-file-buffer 2000
authentication credential cisco cisco
max-ephones 10
max-dn 20
ip source-address 10.y.y.20 port 2000
system message Microsoft Retail Store
url services http://10.y.y.20/
url authentication http://10.y.y.20/
load 7916-12 B016-1-0-3
load 7916-24 B016-1-0-3
load 7975 SCCP75.9-2-3S
time-zone 12
voicemail 2050
max-conferences 8 gain -6
moh enable-g711 "music-on-hold.au"
web admin system name cisco password cisco
dn-webedit
time-webedit
transfer-system full-consult
transfer-pattern .T
create cnf-files version-stamp 7960 May 22 2017 18:11:19
!
!
dial-peer voice 2000 voip
description CUE Default AA
destination-pattern xxxxxxx
b2bua
session protocol sipv2
session target ipv4:SIP CARRIER PUBLIC IP
dtmf-relay sip-notify
codec g711ulaw
no vad
!
dial-peer voice 2010 voip
description CUE Greetings Admin
destination-pattern 2010
b2bua
session protocol sipv2
session target ipv4:SIP CARRIER PUBLIC IP
dtmf-relay sip-notify
codec g711ulaw
no vad
!
dial-peer voice 10 voip
description **Incoming Call from SIP Trunk**
translation-profile incoming CUE_Voicemail/AutoAttendant
preference 1
destination-pattern 2.........
session protocol sipv2
incoming called-number .%
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
no vad
!
dial-peer voice 11 voip
destination-pattern .T
session protocol sipv2
voice-class codec 1
dtmf-relay rtp-nte
no vad
!
!
num-exp 1603 7050
num-exp 1605 7030
num-exp 1604 7060
num-exp 1602 7020
num-exp 1601 7171
sip-ua
authentication username SIPPHONENUMBER password 7 sippassword
no remote-party-id
retry invite 2
retry register 10
timers connect 100
registrar dns:sipcarrier.com expires 3600
sip-server dns:sipcarrier.com
host-registrar
!
!
ephone-dn 1 octo-line
number 7010
label Operator
name Operator
call-forward all 7030
call-forward noan 7171 timeout 15
hold-alert 30 originator
!
!
ephone-dn 20
number 2555
moh out-call 5551212

!
end

 

4 Replies 4

Vaijanath Sonvane
VIP Alumni
VIP Alumni

Hi,

Is this configuration working for you? If I understand correctly, you are looking for pointers for SIP configuration. Am I right?

 

Please rate helpful posts and if applicable mark "Accept as a Solution".
Thanks, Vaijanath S.

Hello Vaijanath,

 

Thank you for the reply. No it is not working, I see some invite messages out to sip providers but the sip provider says that they see these messages but not the bindings. 

 

Yes I am looking for pointers for SIP.

 

thank you

 

Hi,

Please check out this URL for detailed information on CME SIP Trunk configuration:

https://www.cisco.com/c/en/us/support/docs/voice-unified-communications/unified-communications-manager-express/91535-cme-sip-trunking-config.html

 

 

Please rate helpful posts and if applicable mark "Accept as a Solution".
Thanks, Vaijanath S.

Thats the document that I used for my basic configuration.

 

Thank you