Dial plans

Dial plans are a set of translation rules used to convert the dialing habits of our company to the E.164 standard. The way our users compose a number is a mix of dialing public numbers and reaching internal extents. The aforementioned scenario means that dial plans will be tied to the story of the specific company.

Dial plans in the Lync Control Panel have a dedicated tab, which we can see in the following screenshot:

Dial plans

When we create a new rule, we can add associated normalization rules, as shown in the following screenshot:

Dial plans

Normalization rules are based on regular expressions, such as the following ones:

Regular Expression

Examples

Target String

Match

^ matches at the beginning of the string

^(187)

18776967786

187

d matches any digit

d

+18776967786

18776967786

d{x} matches any x digits

(d{3}d+)

+18776967786

18776967786 requires the number to be at least 3-character long)

(x)|(y) x or y

(9)|(76)

+18776967786

9

[..] matches any character inside the brackets, with no particular order

[95]

+18776967786

9

(…) captures the enclosed characters for referring to them in the result as $1, $2, $3, and so on

^(999$|112$)

999

999 is used for emergency numbers (for example, where the translation rule based on this regular expression could be +$1)

Note

A couple of good places to start learning about regular expressions are Regular-Expressions.info http://www.regular-expressions.info/reference.html, and Tips on Understanding Microsoft Regular Expressions http://images.globalknowledge.com/wwwimages/whitepaperpdf/WP_Parlas_MicrosoftOCS.pdf.

The normalization rule builder has four areas to configure:

  • Starting digits: This area defines the leading digits of dialed numbers you want the pattern to match.
  • Length: This area defines the number of digits in the matching pattern.
  • Digits to remove: This area defines the number of starting digits to be removed from dialed numbers.
  • Digits to add: This area defines the digits to be added to dialed numbers.

Manual editing and number testing are allowed, with the outline shown in the following screenshot:

Dial plans

A dial plan is applied to a scope, that could be user, pool, site, or global. As usual, the most specific policy will be applied over the other ones.

Note

There is a default normalization rule, to keep all the results for ^(d{11})$ that matches any 11-digit number. Often we have to reconfigure it, because such a normalization will not fit most scenarios.

The preceding behavior is useful to address the need of the different branch offices, locations, and remote sites of our company. The main advantage of a user dial plan is that it will be applied consistently even if we have roaming of failover scenarios.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset