12-24-2013 11:55 PM - edited 03-16-2019 09:00 PM
Hi,
I trying to reduce the amount of dial-peer that send calls to the cucm from the itsp. I currently have 2 dial-peers pointing to 2 different call managers.
I tried to change the ip with dns.
OLD Dial-peer
===========
dial-peer voice 50 voip
description "TO PRIMARY Call-Manager"
destination-pattern 10001
session protocol sipv2
session target ipv4:192.168.1.10
voice-class codec 16
dtmf-relay rtp-nte
no vad
dial-peer voice 51 voip
description "TO SECONDARY Call-Manager"
destination-pattern 10001
preference 1
session protocol sipv2
session target ipv4:192.168.1.20
voice-class codec 16
dtmf-relay rtp-nte
no vad
I changed it to:
dial-peer voice 50 voip
description "TO Call-Manager's"
destination-pattern 10001
session protocol sipv2
session target dns:CUCM.example.com
voice-class codec 16
dtmf-relay rtp-nte
no vad
I can ping the CUCM.example.com from the gateway and in the dns server the below is registered:
NAME Port Weight Priorty IP
-------------///////////////////////////---------------///////////--------------///////-------------////////////-----------------------------------------------//////
CUCM01.example.com----------->5060------------->10--------------->50------------------>192.168.1.10
CUCM02.example.com----------->5060------------->10--------------->50------------------>192.168.1.20
CUCM03.example.com----------->5060------------->10--------------->50----------------- >192.168.1.30
CUCM04.example.com----------->5060------------->10--------------->50------------------>192.168.1.40
But when I try it invalid number and CUCM is not depended on DNS.
ITSP ------->CUBE ------------>SIP-TRUNK-------->CUCM
Is there anything I'm missing?
Thanks
12-25-2013 04:50 AM
Hello Zekeria,
Refer to below doc, this will may help you.
http://ben.thepolzins.us/2010/02/06/using-dns-srv-records-with-ios-dial-peers/
Merry Christmas !!
Br,
Nadeem
Please rate all useful post.
12-25-2013 05:35 AM
In addition if your IOS is 15.1 or newer make sure you add hosts to toll fraud list as unlike with destination pattern defined under dial peers as IP addresses which do not require explicit listing, when using SRV they do.
Chris
Sent from Cisco Technical Support iPhone App
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide