cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1663
Views
0
Helpful
4
Replies

Route Pattern meaning

happyatuni
Level 1
Level 1

Dear NetPro gurus,

I notice on the Cisco CallManager's Route Pattern, i can set different types of symbols other than X or numerical numbers.

Can someone please kindly explain to mean what are the differences between the following symbols and would be greatly appreciated if you could provide some examples also.

Symbol 1 for Route Pattern -     ?

Symbol 2 for Route Pattern -     !

Symbol 3 for Route Pattern -     +

Cheers,

Hunt

1 Accepted Solution

Accepted Solutions

! requires at least one instance or more, ? matches also 0 instances or more.

911? would cause interditgit timeout if you dial 911, but it would match once the timer expires, because it can match 0 instances.

911!  would cause interditgit timeout if you dial 911, but it would NOT match once the timer expires, because it needs to match at least one digit.

View solution in original post

4 Replies 4

Robert Thomas
Level 7
Level 7

Hi Hunt,

A brief breakdown of what those patterns mean.

? 0 or more occurrences of [0-9]. Like 911? Could Match, 911, 9110, 91100... This is a weird one, not commonly used.

! 1 or more occurrences of [0-9]. Like 900! Could match 90044, 90044124564, This is very commonly used for variable length patterns like international calls.

+ is one or more ocurrences from the last ditit. Like 55+ Could match 555, 5555, 555555

Hi Robert,

Thanks so much for your detailed explanation. 

May i ask what's the difference between ? or !

They seems very similar.

Cheers,

Hunt

! requires at least one instance or more, ? matches also 0 instances or more.

911? would cause interditgit timeout if you dial 911, but it would match once the timer expires, because it can match 0 instances.

911!  would cause interditgit timeout if you dial 911, but it would NOT match once the timer expires, because it needs to match at least one digit.

FYI- This is also well-covered in the product documentation:

http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/admin/8_6_1/ccmsys/a03rp.html#wpxref11697