CME dial-peer matching

Answered Question
Apr 13th, 2009

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.

I have this problem too.
0 votes
Correct Answer by MARWA AHMAD about 7 years 9 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
kplunkett512 Mon, 04/13/2009 - 22:12

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

Correct Answer
MARWA AHMAD Tue, 04/14/2009 - 01:06

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

kent.plummer Tue, 04/14/2009 - 02:03

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.

Actions

This Discussion