10-24-2012 10:26 PM - edited 03-16-2019 01:52 PM
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
Solved! Go to Solution.
10-24-2012 11:16 PM
! 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.
10-24-2012 11:04 PM
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
10-24-2012 11:08 PM
Hi Robert,
Thanks so much for your detailed explanation.
May i ask what's the difference between ? or !
They seems very similar.
Cheers,
Hunt
10-24-2012 11:16 PM
! 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.
10-25-2012 04:32 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide