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

SIP SRST Keeps sending calls to CUCM instead of SIP Phone

davisjaron
Level 1
Level 1

Hello Friends,

 

I am in need of some assistance.  I am setting up SIP SRST on a cube router and can't get calls to route properly while in SRST mode.  I'm doing two different tests.  One in SIP SRST with an FXO for failover (I already got that one working), and one in SIP SRST with a SIP Trunk for standard and failover calling (the one I'm having issues with).  I am needing to figure this out as I'm about to set up a CUBE at work with a direct SIP trunk and will need SIP SRST enabled on it.

 

For some reason, with the SIP trunk, my calls process normally while CUCM is up, but when I take CUCM down and my phone fails over to SRST, calls will not process anymore.  I've attempted giving voice register pool 1 a preference of 0 and my dial peer 1000 a preference of 1, but it still sent the call to CUCM.

 

The voice register pool 1 dial-peer is built, and when I debug voip dialpeer inout, I can see it match to the voice register pool 1 dialpeer first, but then it matches to CUCM and tries to route the call only to CUCM.

 

Information:

192.168.50.1 - Default Gateway

192.168.50.232 - CUCM

192.168.50.226 - CUBE

1000 - DN of SIP Phone failing over to SRST

 

 

Here is my configuration:

Current configuration : 4915 bytes
!
! Last configuration change at 20:30:04 UTC Thu Mar 5 2020 by homelab
! NVRAM config last updated at 02:30:43 UTC Thu Mar 5 2020
!
version 15.7
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname HomeLab
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
!
!
!
!
!
!
!
!
!
ip name-server 8.8.8.8
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
!
!
!
voice-card 0
!
!
!
voice service voip
ip address trusted list
ipv4 192.168.50.232
ipv4 [ITSP IP ADDRESS]
ip address trusted call-block cause not-in-cug
gcid
clid substitute name
address-hiding
mode border-element license capacity 200
allow-connections sip to sip
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
no supplementary-service sip handle-replaces
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
bind control source-interface GigabitEthernet0/0
bind media source-interface GigabitEthernet0/0
header-passing
registrar server expires max 120 min 60
early-offer forced
midcall-signaling passthru
call-route url
!
!
voice class uri FromCUCMuri sip
host ipv4:192.168.50.232
!
voice class uri FromITSPuri sip
host ipv4:[ITSP IP ADDRESS]
!
voice class uri ToITSPnum sip
user-id 1[2-9]..[2-9]......
!
voice class uri ToCUCMnum sip
user-id [MY PHONE NUMBER]
!
!
!
voice register global
default mode
no allow-hash-in-dn
system message "SRST Mode-Emergency Calls Only"
max-dn 25
max-pool 25
!
voice register pool 1
id network 192.168.50.0 mask 255.255.255.0
alias 1 [MY PHONE NUMBER] to 1000
!
!
!
!
!
!
application
global
service alternate Default
!
!
license udi pid CISCO2921/K9 sn [omitted]
license accept end user agreement
license boot suite AdvUCSuiteK9
hw-module pvdm 0/0
!
!
!
username [omitted] privilege 15 password [omitted]
!
redundancy
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
ip address 192.168.50.226 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0/2
no ip address
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
!
ip http server
ip http authentication local
ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 192.168.50.1
ip ssh server algorithm encryption aes128-ctr aes192-ctr aes256-ctr
ip ssh client algorithm encryption aes128-ctr aes192-ctr aes256-ctr
!
!
!
!
control-plane
!
call fallback active
!
voice-port 0/0/0
timing hookflash-out 50
timing guard-out 1000
connection plar 1000
caller-id enable
!
voice-port 0/0/1
timing hookflash-out 50
timing guard-out 1000
!
!
!
!
!
mgcp
mgcp call-agent 192.168.50.232 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 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 mgcp
no ccm-manager fax protocol cisco
ccm-manager config server 192.168.50.232
ccm-manager config
!
dial-peer voice 999000 pots
service mgcpapp
port 0/0/0
!
dial-peer voice 1000 voip
description *** INBOUND FROM CUCM *** OUTBOUND TO CUCM ***
session protocol sipv2
session target ipv4:192.168.50.232
destination uri ToCUCMnum
incoming uri via FromCUCMuri
dtmf-relay rtp-nte sip-kpml
codec transparent
no vad
!
dial-peer voice 1001 voip
description *** INBOUND FROM ITSP *** OUTBOUND TO ITSP ***
session protocol sipv2
session target dns:[ITSP FQDN]
destination uri ToITSPnum
incoming uri via FromITSPuri
dtmf-relay rtp-nte sip-kpml
codec transparent
no vad
!
!
sip-ua
credentials [omitted]
authentication [omitted]
retry invite 2
registrar 1 dns:[ITSP FQDN]
!

0 Replies 0