Lync Normalization Rules

We are running Lync Server 2013.

I'm trying to build a dial plan with several extension ranges. The range I'm working with is 3001-4417.  When I try to add the normalization rule below, I get the message "The builder does not support advanced regular expressions.  To start using the builder, click Reset.  To modify the regular expression manually, click Edit."

Pattern - 

^([3]\d\d[1-9]) | ([4][0-4][01-][0-7]$

Translation - 

+1734895

I can add the separate expressions but would like to narrow the number of rules down.

Thanks,



February 12th, 2015 2:10pm

Ranges like this can get rough.  How precise do you need to be?  If you use ^(3\d{3}|4[0-4]\d{2})$ for example, that would be 3000-4499.  If 3000 normalizes or 4418, does it matter much?  If not, you could stick with that.  Otherwise, you could really dive in but your rule might get long.  Your pattern above wouldn't work because 3200 and 4218 wouldn't work even though they're in the range.

Free Windows Admin Tool Kit Click here and download it now
February 12th, 2015 5:42pm

Hi CL5191,

Have a look at the following screenshot, it would be 3001 4417 .

Best regards,

Eric

February 13th, 2015 1:14am

Eric, I think that misses a couple, 4409 for example, but it's pretty much all the way there.

The last range 44[0-1][0-7] should be split into 440\d|441[0-7] and I think that would do it.

Free Windows Admin Tool Kit Click here and download it now
February 13th, 2015 9:05am

Thanks for the input, but when I type that pattern in and select OK, I still get the message that the builder does not support advanced regular expressions.

Strange that it works for others?

February 13th, 2015 9:10am

As you can see from my screenshot, that's a normal message and not necessarily an error.  It just means that you're using a regex and not the "starting digits" type settings.

If you scroll to the bottom and type in a dialed number to test, you should be OK.

Free Windows Admin Tool Kit Click here and download it now
February 13th, 2015 9:40am

Sorry, accidental answer propose when scrolling.  That was not intentional.

February 13th, 2015 9:43am

Oh my gosh, sometimes I'm an idiot.  I assumed that if Microsoft said there was a problem, it wouldn't work.

Thanks so much!

Free Windows Admin Tool Kit Click here and download it now
February 13th, 2015 9:47am

From Ken Lasko's Dialing Rule Optimizer https://www.skypeoptimizer.com/:

Pattern: ^(300[1-9]|30[1-9]\d|3[1-9]\d\d|4[0-3]\d\d|440\d|441[0-7])$

Translation Rule: +1734895$1

February 13th, 2015 9:48am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics