在 Lync Server 2013 中定义规范化规则Defining normalization rules in Lync Server 2013

 

上次修改的主题: 2014-04-22Topic Last Modified: 2014-04-22

Lync Server 2013 规范化规则使用 .NET Framework 正则表达式将拨打的电话号码转换为. 164 格式;换言之,规范化规则采用用户拨打的电话号码,并将该号码转换为 Lync Server 在内部使用的格式。Lync Server 2013 normalization rules use .NET Framework regular expressions to translate dialed phone numbers to E.164 format; in other words, normalization rules take the phone number dialed by a user and convert that number to the format used internally by Lync Server. 必须将每个拨号计划分配给一个或多个规范化规则。Each dial plan must be assigned one or more normalization rules.

有关规范化规则的详细信息,请参阅规划文档中的Lync Server 2013 中的拨号计划和规范化规则For details about normalization rules, see Dial plans and normalization rules in Lync Server 2013 in the Planning documentation.

有关如何编写正则表达式的详细信息,请参阅中https://go.microsoft.com/fwlink/p/?linkId=140927的 ".Net Framework 正则表达式"。For details about how to write regular expressions, see ".NET Framework Regular Expressions" at https://go.microsoft.com/fwlink/p/?linkId=140927.

可以使用以下任一方法定义或编辑规范化规则:You can use either of the following methods to define or edit a normalization rule:

  • 使用 "生成规范化规则" 工具指定要删除的起始数字、长度、要删除的数字和要添加的数字的值,然后让 Lync Server 控制面板为您生成相应的匹配模式和转换规则。Use the Build a Normalization Rule tool to specify values for the starting digits, length, digits to remove and digits to add, and then let Lync Server Control Panel generate the corresponding matching pattern and translation rule for you.

  • 手动编写正则表达式以定义匹配模式和转换规则。Write regular expressions manually to define the matching pattern and translation rule.