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

CME dial-peer matching

Hi all,

Does anyone know why dial peer 11 below is matching for 00424123123 ?

It matches dial-peer 11 and drops the last 2 digits off. It should match dial-peer 12.

I have also tried with 0........$ as the dial-peer 11 pattern with no luck.

dial-peer voice 11 pots

description Local calls

destination-pattern 0........

port 0/0/0:15

forward-digits 8

dial-peer voice 12 pots

description Mobile and Long Distance

destination-pattern 00[2-9]........

port 0/0/0:15

forward-digits 10

debug voip dialpeer all...

Apr 14 15:55:34: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

Result=SUCCESS(0)

List of Matched Outgoing Dial-peer(s):

1: Dial-peer Tag=11

Apr 14 15:55:34: //-1/B3EECCA7800C/DPM/dpMatchPeersCore:

Calling Number=, Called Number=004241231, Peer Info Type=DIALPEER_INFO_SPEECH

Apr 14 15:55:34: //-1/B3EECCA7800C/DPM/dpMatchPeersCore:

Match Rule=DP_MATCH_DEST; Called Number=004241231

Apr 14 15:55:34: //-1/B3EECCA7800C/DPM/dpMatchCore:

Dial String=004241231, Expanded String=004241231, Calling Number=

Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH

Apr 14 15:55:34: //-1/B3EECCA7800C/DPM/MatchNextPeer:

Result=Success(0); Outgoing Dial-peer=11 Is Matched

Apr 14 15:55:34: //-1/B3EECCA7800C/DPM/dpMatchPeersCore:

Result=Success(0) after DP_MATCH_DEST

Apr 14 15:55:34: //-1/B3EECCA7800C/DPM/dpMatchPeersMoreArg:

Result=SUCCESS(0)

List of Matched Outgoing Dial-peer(s):

1: Dial-peer Tag=11

Cheers

Kent.

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Re: CME dial-peer matching

hi,

trydial-peer voice 11 pots

description Local calls

destination-pattern 0[1-9].......

port 0/0/0:15

forward-digits 8

this will work unless you have the 1st digit "0"for local calls

5 REPLIES
New Member

Re: CME dial-peer matching

It's finding an exact match and sending the call. That dial plan isn't going to work, as it's overlapping. I've attached a sample dial plan I use in the states for 10 digit local dial area codes. The last entry is a "catch all".

dial-peer voice 1 pots

description Dial-peer to LD

destination-pattern 1..........

port 0/0/0:23

prefix 1

!

dial-peer voice 2 pots

description Dial-peer to Local

destination-pattern [2-9].........

port 0/0/0:23

!

dial-peer voice 3 pots

description Dial-peer for 911 calls

destination-pattern 911

port 0/0/0:23

forward-digits all

!

dial-peer voice 4 pots

description Default Dial-peer to PSTN

destination-pattern .T

port 0/0/0:23

New Member

Re: CME dial-peer matching

hi,

trydial-peer voice 11 pots

description Local calls

destination-pattern 0[1-9].......

port 0/0/0:15

forward-digits 8

this will work unless you have the 1st digit "0"for local calls

New Member

Re: CME dial-peer matching

Thanks for the suggestion Marwa. I will give this a try in the morning.

From what I have read I thought dial peers were matched based on longest match. These suggestions seem to imply otherwise. Anyone able to clarify?

Kent.

New Member

Re: CME dial-peer matching

It'll use the first match.

New Member

Re: CME dial-peer matching

Worked perfectly thanks :)

519
Views
0
Helpful
5
Replies
CreatePlease login to create content