cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
801
Views
20
Helpful
4
Replies

Dial-Peer Priority: Destination E164 Pattern Map over Destination-Pat

Michael Mertens
Level 1
Level 1

I have a VGW with T-1 integration to PBX and SIP-to-CUCM. We are moving some phones off of the PBX and onto the CUCM network. All extensions are 2XXXX, and I have a dial-peer 2XXXX which sends calls over the T-1s to the PBX. For phones moving over to CUCM, I'm utilizing E164-destination-map dial-peers (which references a text file in flash) to limit the number of dial-peers I need in the VGW.

However, when a call is placed on the PBX for CUCM extension 29977 (see diagram attached), when it gets over to the VGW, the VGW matches the dial-peer 2XXXX and sends it back to the PBX causing a loop. I've tried using the preference command, but would think my E164-destination-map (which references a text file) with an exact match "29977" would match, or is it because "29977" isn't a E164 number? Please see below config and attached diagram.
THANKS!!!
!
voice class e164-pattern-map 6001
url flash:tdmdp1.txt
!
!
dial-peer voice 20001 pots
description Outgoing to PBX
translation-profile outgoing into-PBX-Testing
preference 2
destination-pattern 2....
port 0/0/1:1
forward-digits all
!
!
dial-peer voice 6000001 voip
description Inbound PSTN/PBX Calls to CUCM Subscriber
preference 1
session protocol sipv2
session target ipv4:10.46.52.65
destination e164-pattern-map 6001
voice-class codec 1
voice-class sip bind control source-interface Loopback1
voice-class sip bind media source-interface Loopback1
dtmf-relay h245-alphanumeric
ip qos dscp cs3 signaling
no vad
!


1 Accepted Solution

Accepted Solutions

b.winter
VIP
VIP

Hi,

 

destination-pattern has a higher Prio.

Check out table 2 in the following link: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/voice/cube/configuration/cube-book/cube-dp.html

View solution in original post

4 Replies 4

b.winter
VIP
VIP

Hi,

 

destination-pattern has a higher Prio.

Check out table 2 in the following link: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/voice/cube/configuration/cube-book/cube-dp.html

Not directly related to your question at hand, but I would recommend you to alter this line as your using SIP as your signalling protocol.

dtmf-relay h245-alphanumeric
This is for H.323, not SIP.



Response Signature


On the topic of your question I would recommend you to look into using DPG, dial peer group, to set the outbound dial peer to use base on the inbound dial peer instead of relying on destination number call routing. For details on this please see this outstanding document In Depth Explanation of Cisco IOS and IOS-XE Call Routing .



Response Signature


WOW!! Open my eyes and looks what's out there!!! DPGs sound powerful...I just briefly read through it and will need to digest it some to see where/how it can be used...Roger, thanks for pointing me that way, and thanks for the clean-up tip on my DTMF method.

 

Mike