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

Dial-Peer DNS SRV

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   

2 Replies 2

Nadeem Ahmed
Cisco Employee
Cisco Employee

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.

Br, Nadeem Please rate all useful post.

Chris Deren
Hall of Fame
Hall of Fame

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