在 Lync Server 2013 中修改拨号计划Modify a dial plan in Lync Server 2013

 

上次修改的主题: 2012-11-01Topic Last Modified: 2012-11-01

要修改现有拨号计划,请执行以下过程中的步骤。To modify an existing dial plan, perform the steps in the following procedure. 如果要创建新的拨号计划,请参阅在 Lync Server 2013 中创建拨号计划If you want to create a new dial plan, see Create a dial plan in Lync Server 2013.

修改拨号计划To modify a dial plan

  1. 以 RTCUniversalServerAdmins 组成员的身份或者以 CsVoiceAdministrator、CsServerAdministrator 或 CsAdministrator 角色成员的身份登录计算机。Log on to the computer as a member of the RTCUniversalServerAdmins group, or as a member of the CsVoiceAdministrator, CsServerAdministrator, or CsAdministrator role. 有关详细信息,请参阅Lync Server 2013 中的委派安装权限For details, see Delegate setup permissions in Lync Server 2013.

  2. 打开浏览器窗口,然后输入管理员 URL 以打开 "Lync Server 控制面板"。Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. 有关可用于启动 Lync Server 控制面板的不同方法的详细信息,请参阅Open Lync server 2013 "管理工具"。For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server 2013 administrative tools.

  3. 在左侧导航栏中,单击“语音路由”****,然后单击“拨号计划”****。In the left navigation bar, click Voice Routing and then click Dial Plan.

  4. 在“拨号计划”**** 页上,双击某个拨号计划名称。On the Dial Plan page, double-click a dial plan name.

    备注

    拨号计划的作用域和名称是在创建该拨号计划时设置的,且不能更改。The dial plan scope and name were set when the dial plan was created. They cannot be changed.

  5. (可选)在“编辑拨号计划”**** 中,编辑“简单名称”**** 字段,该字段会预填充“名称”**** 字段中显示的相同名称,以指定反映应用该拨号计划的站点、服务或用户的更具描述性的名称。(Optional) In Edit Dial Plan, edit the Simple name field, which is prepopulated with the same name that appears in the Name field to specify a more descriptive name that reflects the site, service, or user to which the dial plan applies.

    重要

    在 Lync Server 2013 部署中的所有拨号计划中,简单名称必须是唯一的。The Simple name must be unique among all dial plans within the Lync Server 2013 deployment. 该名称不能超过 256 个 Unicode 字符,每个 Unicode 字符可以是字母或数字字符、连字符 (-)、句点 (.)、加号 (+) 或下划线 ()。It cannot exceed 256 Unicode characters, each of which can be an alphabetic or numeric character, a hyphen (-), a period (.), a plus sign (+), or an underscore ().
    “简单名称”字段中不允许使用空格。Spaces are not allowed in the Simple name field.

  6. (可选)在“说明”**** 字段中,键入有关拨号计划的描述性信息。(Optional) In the Description field, type descriptive information about the dial plan.

  7. (可选)如果要将此拨号计划用作电话拨入式访问号码的区域,请指定“电话拨入式会议区域”****。如果不希望将此拨号计划用于电话拨入式访问号码,请将此字段留空。(Optional) If you want to use this dial plan as a region for dial-in access numbers, specify a Dial-in conferencing region. If you do not want to use this dial plan for dial-in access numbers, leave this field empty.

    备注

    电话拨入式会议区域需要将电话拨入式会议访问号码与一个或多个拨号计划相关联。Dial-in conferencing regions are required to associate dial-in conferencing access numbers with one or more dial plans.

  8. (可选)在“外部访问前缀”**** 字段中,指定一个值,该值仅在用户需要拨打一个或多个附加的前导数字(例如 9)以拨通外线时使用。(Optional) In the External access prefix field, specify a value only if users need to dial one or more additional leading digits to get an external line (for example, 9). 可以键入最长为四个字符的前缀值( # *即,、和0-9)。You can type in a prefix value of up to four characters (that is, #, *, and 0-9).

    备注

    如果指定了外部访问前缀,则不需要创建新的规范化规则来满足前缀。If you specify an external access prefix, you do not need to create a new normalization rule to accommodate the prefix.

  9. 为拨号计划关联并配置规范化规则:Associate and configure normalization rules for the dial plan:

    • 若要从企业语音部署中提供的所有规范化规则列表中选择一个或多个规则,请单击 "选择"。To choose one or more rules from a list of all normalization rules available in your Enterprise Voice deployment, click Select. 在“选择规范化规则”**** 对话框中,突出显示要与拨号计划关联的规则,然后单击“确定”****。In the Select Normalization Rules dialog box, highlight the rules that you want to associate with the dial plan and then click OK.

    • 要定义新的规范化规则并将其与拨号计划相关联,请单击“新建”****。To define a new normalization rule and associate it with the dial plan, click New. 有关定义新规则的详细信息,请参阅在 Lync Server 2013 中定义规范化规则For details about defining a new rule, see Defining normalization rules in Lync Server 2013.

    • 要编辑已经与拨号计划关联的规范化规则,请突出显示相应的规则名称,然后单击“显示详细信息”****。To edit a normalization rule that is already associated with the dial plan, highlight the rule name and click Show details. 有关编辑规则的详细信息,请参阅在 Lync Server 2013 中定义规范化规则For details about editing the rule, see Defining normalization rules in Lync Server 2013.

    • 要复制现有规范化规则以作为定义新规则的起点,请突出显示相应的规则名称,单击“复制”****,然后单击“粘贴”****。To copy an existing normalization rule to use as a starting point for defining a new rule, highlight the rule name and click Copy, and then click Paste. 有关编辑副本的详细信息,请参阅在 Lync Server 2013 中定义规范化规则For details about editing the copy, see Defining normalization rules in Lync Server 2013.

    • 要从拨号计划中删除某个规范化规则,请突出显示相应的规则名称,然后单击“删除”****。To remove a normalization rule from the dial plan, highlight the rule name and click Remove.

    备注

    每个拨号计划都必须至少有一个关联的规范化规则。Each dial plan must have at least one associated normalization rule. 有关如何确定拨号计划所需的全部规范化规则的详细信息,请参阅规划文档中的Lync Server 2013 中的拨号计划和规范化规则For details about how to determine all of the normalization rules a dial plan requires, see Dial plans and normalization rules in Lync Server 2013 in the Planning documentation.

  10. 验证拨号计划的规范化规则是否已按正确顺序排列。要更改规则在列表中的位置,请突出显示相应的规则名称,然后单击向上箭头或向下箭头。Verify that the dial plan’s normalization rules are arranged in the correct order. To change a rule’s position in the list, highlight the rule name and then click the up or down arrow.

    重要

    Lync Server 从上到下遍历规范化规则列表,并使用第一个与拨打的号码相匹配的规则。Lync Server traverses the normalization rule list from the top down and uses the first rule that matches the dialed number. 如果要配置拨号计划以使拨打号码可以匹配多个规范化规则,请确保限制较严格的规则排在限制较宽松的规则上方。If you configure a dial plan so that a dialed number can match more than one normalization rule, make sure the more restrictive rules are sorted above the less restrictive ones.
    默认情况下,将所有规范化规则^{11}(\d) $与任何11位数字匹配。The default Keep All normalization rule ^(\d{11})$ matches any 11-digit number. 例如,如果您添加的规范化规则与以1425开头的11位数字相匹配,请确保将 "全部保留" 的值排列在限制性更强的^ (1425{7}\ d) $规则的下方。If, for example, you add a normalization rule that matches 11-digit numbers that start with 1425, make sure that Keep All is sorted below the more restrictive ^(1425\d{7})$ rule.

  11. (可选)输入一个号码来测试拨号计划,然后单击“执行”****。测试结果会显示在“输入要测试的号码”**** 下。(Optional) Enter a number to test the dial plan and then click Go. The test results are displayed under Enter a number to test.

    备注

    您可以保存尚未通过测试的拨号计划,并在稍后对其进行重新配置。You can save a dial plan that does not yet pass the test and then reconfigure it later. 有关详细信息,请参阅在 Lync Server 2013 中测试语音路由For details, see Test voice routing in Lync Server 2013.

  12. 单击“确定”****。Click OK.

  13. 在“拨号计划”**** 页上,单击“提交”****,然后单击“全部提交”****。On the Dial Plan page, click Commit, and then click Commit all.

    备注

    任何时候创建或修改拨号计划,都必须运行“全部提交”命令以发布配置更改。Any time you create or modify a dial plan, you must run the Commit all command to publish the configuration change. 有关详细信息,请参阅操作文档中的在Lync Server 2013 中发布待处理的语音路由配置的更改For details, see Publish pending changes to the voice routing configuration in Lync Server 2013 in the Operations documentation.