Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Dial-peers to match all 800 service numbers

Hey Folks,

I'm trying to create a series of dial-peers using destination patterns that match the various numbers that can be used for 800 service. The issue I'm facing is that the following dial peers also match straight seven digit dialing.

dial-peer voice 2550 pots

preference 10

destination-pattern 91(800)?(822)?(833)?.......$

port 0/0/0

forward-digits 11

!

dial-peer voice 2551 pots

destination-pattern 91(800)?(822)?(833)?.......$

port 0/0/1

forward-digits 11

!

dial-peer voice 2552 pots

destination-pattern 91(800)?(822)?(833)?.......$

port 0/0/2

forward-digits 11

!

dial-peer voice 2553 pots

preference 1

destination-pattern 91(800)?(822)?(833)?.......$

port 0/0/3

forward-digits 11

!

dial-peer voice 2554 pots

preference 10

destination-pattern 91(844)?(855)?(866)?.......$

port 0/0/0

forward-digits 11

!

dial-peer voice 2555 pots

destination-pattern 91(844)?(855)?(866)?.......$

port 0/0/1

forward-digits 11

!

dial-peer voice 2556 pots

destination-pattern 91(844)?(855)?(866)?.......$

port 0/0/2

forward-digits 11

!

dial-peer voice 2557 pots

preference 1

destination-pattern 91(844)?(855)?(866)?.......$

port 0/0/3

forward-digits 11

!

dial-peer voice 2558 pots

preference 10

destination-pattern 91(877)?(888)?.......$

port 0/0/0

forward-digits 11

!

dial-peer voice 2559 pots

destination-pattern 91(877)?(888)?.......$

port 0/0/1

forward-digits 11

!

dial-peer voice 2560 pots

destination-pattern 91(877)?(888)?.......$

port 0/0/2

forward-digits 11

!

dial-peer voice 2561 pots

preference 1

destination-pattern 91(877)?(888)?.......$

port 0/0/3

forward-digits 11

We use a prefix of 9 for all outbound calls. Is there a better regex that I can use to match these?

1 REPLY
342
Views
0
Helpful
1
Replies
CreatePlease to create content