03-09-2017 06:00 PM - edited 03-19-2019 12:12 PM
I have the following two dial peers. When a user is dialing from a Chicago number I want it to match the second dial peer in the list but it seems to always match the first one every time. Do the dial peers not match the "more exact" match? Does it just go top down when using the same matching type of matching value (answer-address in this case)?
dial-peer voice 10000 voip
description Incoming Calls from UCM
answer-address +1T
signaling forward unconditional
session protocol sipv2
voice-class codec 1
voice-class sip privacy-policy passthru
dtmf-relay rtp-nte
no vad
dial-peer voice 10001 voip
description Incoming Calls from UCM Chicago
translation-profile incoming sip-trunk-in-chi-cucm_VTR
answer-address +1872224....
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte sip-kpml sip-notify
codec g711ulaw
no vad
Solved! Go to Solution.
03-10-2017 02:48 AM
The most specific match wins.
If the calling number on the incoming INVITE is +18722241234, it should match the second dial peer.
If this is not happening, I would run some debugs to figure out what the Calling Number is.
debug ccsip messages
What does this translation profile do?
translation-profile incoming sip-trunk-in-chi-cucm_VTR
03-10-2017 02:48 AM
The most specific match wins.
If the calling number on the incoming INVITE is +18722241234, it should match the second dial peer.
If this is not happening, I would run some debugs to figure out what the Calling Number is.
debug ccsip messages
What does this translation profile do?
translation-profile incoming sip-trunk-in-chi-cucm_VTR
03-10-2017 07:52 AM
I fat fingered the pattern I had one digit off and didn't notice it. Was working too late in the night. Thanks for the help!
03-10-2017 06:09 AM
Remove dial peer 10000, and re-add it so it goes below dial-peer 10001.
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