I had to find a way to summarize multiple times multiple patterns for a customer who has a SME between multiple CUCM clusters without dynamic routing during a big migration of users.
Even if I could do it by myself I preferred to create a script who do the job !
This application allows to summarize multiple patterns in the way of Cisco Unified Communication Manager interpret them. It doesn’t support the usage of the wildcards @ ! ? and + (except \+ for e164) as these wildcards are not relevant or not finite.
If you have any improvement suggestions, please let me know it in the comments !
Results :
Patterns in partition NOPARTITION | |
100[1-46] | 5 possibilitie(s) |
Patterns in partition P-Internal-DID | |
110X | 10 possibilitie(s) |
I’ve been attempting to do this myself for a long while now and keep getting stuck.. or at the very least there has to be an easier way of accomplishing this. Would you be willing to share you source code? Or at the very least, share some pseudo code or the outline of your thought process??
Thanks!!
Hello Camron,
Yes, I can share with you the algorithm.
I will send you directly an email