cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
453
Views
0
Helpful
2
Replies

Dial-peer destination-pattern

Kevin SAS
Level 1
Level 1

Hello,

I have a question about this pattern in my dial-peer:

dial-peer voice 1 pots
 destination-pattern 01[2-8]
 port 0/0/0
 forward-digits 2

dial-peer voice 43 pots
 destination-pattern 0[123459]........
 port 0/0/0
 forward-digits 10

 

When I call 01XXXXXX18, the matched pattern is the DP 1 and not the 43.

Why ? Because I though that the most specific destination-pattern was applyed, so the 43 should match first.

I can see with

sho dialplan number 01XXXXXX18

That the DP 43 is too matched but not in first, so the number called is 18.

 

Thank you !

1 Accepted Solution

Accepted Solutions

Hi

the default DP is the variable length DP 

So you need to the $ at the end of yor 10digit DP

dial-peer voice 43 pots
 destination-pattern 0[123459]........$
 port 0/0/0
 forward-digits 10

see here

 

Eike

View solution in original post

2 Replies 2

Hi

the default DP is the variable length DP 

So you need to the $ at the end of yor 10digit DP

dial-peer voice 43 pots
 destination-pattern 0[123459]........$
 port 0/0/0
 forward-digits 10

see here

 

Eike

Perfect ! It works now with this configuration :

dial-peer voice 1 pots
 destination-pattern 01[2-8]$

and no change on the other dial-peer

Thank you !

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: