11-20-2014 03:00 AM - edited 03-17-2019 01:01 AM
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 !
Solved! Go to Solution.
11-20-2014 03:14 AM
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
Eike
11-20-2014 03:14 AM
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
Eike
11-20-2014 03:38 AM
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 !
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: