Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Dial-peer Preference not working on IOS

Hi,

With regard to the dial peer preference on the router ,we have configured two dial-peers with different session targets and preference. The system seems to be always prefering the dial-peer which is in the first order in router`s configuration.The preference does`nt seem to be actually making any difference.We were able to failover to the second dial-peer if the first dial-peer is kept shut.Could somebody advise on the solution ,if you had come across this ever?

Note : The calls are being tried through the csim start from the router itself.

Hardware Platform : 3845

Software Platform : 12.4(15)T3

Raj

17 REPLIES
New Member

Re: Dial-peer Preference not working on IOS

Just to add to it ,the dial-peers are sip dial-peers and is being configured for the redundancy purpose.

Raj

Cisco Employee

Re: Dial-peer Preference not working on IOS

can you post the dial-peers?

javalenc

HTH

java

if this helps, please rate

www.cisco.com/go/pdi
New Member

Re: Dial-peer Preference not working on IOS

Here you go !!!

dial-peer voice 101 voip

description To Reach CallServer

translation-profile incoming block

preference 1

destination-pattern 6500

session protocol sipv2

session target ipv4:10.10.10.60:5060

dtmf-relay rtp-nte

codec g711ulaw

no vad

!

dial-peer voice 102 voip

description To Reach CallServer

translation-profile incoming block

preference 2

destination-pattern 6500

session protocol sipv2

session target ipv4:10.10.10.61:5060

dtmf-relay rtp-nte

codec g711ulaw

no vad

!

!

sip-ua

retry invite 1

timers expires 60000

reason-header override

Cisco Employee

Re: Dial-peer Preference not working on IOS

you would need to run a debug voip ccapi inout to determine if indeed the dial-peers are being used as you mention

HTH

javalenc

if this helps, please rate

HTH

java

if this helps, please rate

www.cisco.com/go/pdi
New Member

Re: Dial-peer Preference not working on IOS

The default behavior is that the longest matching dial peer supersedes the preference value.

To change it, you can enter "dial-peer hunt 2" in telephony-service.

Nico

New Member

Re: Dial-peer Preference not working on IOS

I have already tried this with no luck ,as it always prefer the dial-peer 101 and fails over to 102 ,only when the dial-peer is kept shut.Please note that I have the same destination pattern on both of the dial-peers.

Raj

Cisco Employee

Re: Dial-peer Preference not working on IOS

Hi Raj,

In the configuration you posted, dial-peer 101 has a lower preference (and therefore is the preferred dial-peer) than dial-peer 102. Can you confirm that you have you have indeed tried configuring a lower preference on dial-peer 102 to cause it to be the preferred dial-peer?

Regards,

Michael.

New Member

Re: Dial-peer Preference not working on IOS

Hi Mike,

I have tried that already and was hitting the 101 dial-peer only.

Raj

Cisco Employee

Re: Dial-peer Preference not working on IOS

Thanks Raj,

Any chance you can post here the output of 'debug voip dialpeer all' collected when recreating the problem?

Thanks,

Michael.

New Member

Re: Dial-peer Preference not working on IOS

Try "preference 10" on DP 101 an "default preference" on 102.

Maybe the "max-con" can help as well.

Greets

New Member

Re: Dial-peer Preference not working on IOS

Hi,

I still have the same problem ,as the DP 101 is always preferred even after changing the preference 10 & default as suggested. Please find the debus as attached.

Raj

New Member

Re: Dial-peer Preference not working on IOS

Mike,

Please find the requested debug mesages as attached.DP 101 with pref 2 & DP 102 with pref 1 in this case.

Raj

Cisco Employee

Re: Dial-peer Preference not working on IOS

Hi Raj,

My apologies for the delayed response here. Today's been a busy day. Thanks for capturing and posting your debugs. The observation from the traces is that both dial-peers are indeed candidates for routing the call, but 101 is being selected regardless of the preference on dial-peer 102. My suspicion (and I haven't verified this in the lab) is that the results will be different if the test was an actual call, and not a 'csim start'. Have you had the opportunity to verify if this is the case or if the result is different when there is an inbound dial peer involved before the call is sent out of 101/102?

Regards,

Michael.

Hall of Fame Super Gold

Re: Dial-peer Preference not working on IOS

I think Michael's suspicion is right. csim doesn't observe all the settings under a DP, for example, it doesn't apply translation-profile. So that could be the issue here.

New Member

Re: Dial-peer Preference not working on IOS

Hi Mike,

Thanks for the response. Even I suspected the same and had a chance to test that with he actual call. Found that the preference plays the role in the dial-peer selection for the actual call. I would request you to also advise ,if the second dial-peer would be selected if the session target on the first dial peer fails...

Raj

Hall of Fame Super Gold

Re: Dial-peer Preference not working on IOS

If Michal's reply identified the issue, why not rating it ? Certainly I did.

New Member

Re: Dial-peer Preference not working on IOS

I have rated him...:)

Raj

4981
Views
16
Helpful
17
Replies