cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
930
Views
0
Helpful
3
Replies

CUBE SIP Inbound Dial-Peer matching

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

1 Accepted Solution

Accepted Solutions

devils_advocate
Level 7
Level 7

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

View solution in original post

3 Replies 3

devils_advocate
Level 7
Level 7

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

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!

Chris Deren
Hall of Fame
Hall of Fame

Remove dial peer 10000, and re-add it so it goes below dial-peer 10001.