cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
470
Views
0
Helpful
3
Replies

Dial Peer Regex question

cheryl.alvarado
Level 1
Level 1

I'm having a little trouble wrapping my head around dial peer regex matching, and hoping somebody here is up for a challenge.

 

I am wanting a single dial peer for all of our inbound calls from our provider.

I currently am matching:

incoming called-number 620555[1-6]...$

 

However, that's matching too many numbers.  What I need is a regex that will match all of these:

6205551200

6205554[012456789]..$

620555[5-6]...$

How can I combine all of these into a single regex?  Or am I doomed to multiple dial-peers?

 

 

 

 

3 Replies 3

Jaime Valencia
Cisco Employee
Cisco Employee

Best you could do is 620555[1456]...$

 

No way for a single regex to match only what you're matching with those 3 individual regex.

HTH

java

if this helps, please rate

620555 1200

620555 [456]...

 

The first one u  make an exact match. 

 



Response Signature


What type of dial peer is this for? If it’s a voip dial peer you have a few more options. Have a look at this excellent document. https://www.cisco.com/c/en/us/support/docs/voice/ip-telephony-voice-over-ip-voip/211306-In-Depth-Explanation-of-Cisco-IOS-and-IO.html



Response Signature