I've been testing the VCS & CUCM integration with E20's registered to the CUCM and all is going well. I'm now at a stage where im looking to roll this globally so my search rules need to be a bit broader.
Internally we use 4 digits for VC endpoints & MCU rooms. Beginning with 14xx, 15xx, 55xx & 53xx.
Our phone system uses E164 numbers.
I need a search rule that takes firstname.lastname@example.org
:port and changes it to e164number@cucmip:port
So for testing i've been using regex (441234567890)@my.domain(.*) replace with \1@cucmip
Now, i need this rule to work with any of our internal E164 numbers that range from +65 in singapore to +1 in US and a whole host of countries inbetween.
I thought about doing a number of rules like this (44..........|1..........|33..........)@my.domain( .*) but im sure there must be a better way?
Probably worthing mentioning the VCS also has a Codian ISDN GW integration, when thats used calls are prefix with 91.
Any ideas how i can make this tidier?