在 Lync Server 2013 中创建拨号计划Create a dial plan in Lync Server 2013

 

上次修改的主题: 2013-10-24Topic Last Modified: 2013-10-24

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

创建拨号计划To create 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, click New and select a scope for the dial plan:

    • “站点拨号计划”**** 将应用于整个站点,分配给用户拨号计划的用户或组除外。如果选择“Site”**** 作为拨号计划的作用域,则必须从“选择站点”**** 对话框中选择站点。如果已经为站点创建了拨号计划,则该站点不会显示在“选择站点”**** 对话框中。Site dial plan applies to an entire site, except any users or groups that are assigned to a user dial plan. If you select Site for a dial plan’s scope, you must choose the site from the Select a Site dialog box. If a dial plan has already been created for a site, the site does not appear in the Select a Site dialog box.

    • “池拨号计划”**** 可以应用于公用电话交换网 (PSTN) 网关或注册器。如果选择“池”**** 作为拨号计划的作用域,则从“选择服务”**** 对话框中选择 PSTN 网关或注册器。如果已经为服务(PSTN 网关或注册器)创建了拨号计划,则该服务不会显示在列表中。Pool dial plan can apply to a public switched telephone network (PSTN) gateway or a Registrar. If you select Pool for a dial plan’s scope, choose the PSTN gateway or Registrar from the Select a Service dialog box. If a dial plan has already been created for a service (PSTN gateway or Registrar), the service does not appear in the list.

    • “用户拨号计划”**** 可以应用于指定的用户或组。User dial plan can be applied to specified users or groups.

    备注

    选择拨号计划作用域后,就无法更改。After you select the dial plan scope, it cannot be changed.

  5. 如果要创建用户拨号计划,请在“新建拨号计划”**** 对话框的“名称”**** 字段中输入描述性名称。保存此名称后,就无法更改。If you are creating a user dial plan, enter a descriptive name in the Name field on the New Dial Plan dialog box. After this name is saved, it cannot be changed.

    备注

    对于站点拨号计划,“名称”字段会使用站点名称预先填充,且不能更改。For site dial plans, the Name field is prepopulated with the site name and cannot be changed.
    对于池拨号计划,“名称”字段会使用 PSTN 网关或注册器名称预先填充,且不能更改。For pool dial plans, the Name field is prepopulated with the PSTN gateway or Registrar name and cannot be changed.

  6. “简单名称”**** 字段会使用与“名称”**** 字段中显示的相同名称预先填充。您可以选择编辑该字段来指定描述性更强的名称,以反映应用该拨号计划的站点、服务或用户。The Simple name field is prepopulated with the same name that appears in the Name field. You can optionally edit this field to specify a more descriptive name that reflects the site, service, or user to which the dial plan applies.

    重要

    简单名称在 Lync Server 部署中的所有拨号计划中必须是唯一的。The Simple name must be unique among all dial plans within the Lync Server deployment. 它不能超过256个 Unicode 字符,每个 Unicode 字符可以是字母或数字字符、连字符(-)、句点(.)或下划线()。It cannot exceed 256 Unicode characters, each of which can be an alphabetic or numeric character, a hyphen (-), a period (.), or an underscore ().
    不支持的字符包括 RFC 3966 中定义的空格和保留字符http://www.ietf.org/rfc/rfc3966.txt)(。Characters not supported include spaces and Reserved characters as defined in RFC 3966 (http://www.ietf.org/rfc/rfc3966.txt). 简单名称不支持的保留字符包括以下内容:Reserved characters that are not supported in the Simple Name include the following:
    ";""/" "?"":" "@" "&" "=" "+" "$" ","";" "/" "?" ":" "@" "&" "=" "+" "$" ","

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

  8. (可选)如果要将此拨号计划用作电话拨入式访问号码的区域,请指定“电话拨入式会议区域”****。如果不希望将此拨号计划用于电话拨入式访问号码,请将此字段留空。(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.

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

    备注

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

  10. 按如下所示为拨号计划关联并配置规范化规则:Associate and configure normalization rules for the dial plan as follows:

    • 若要从企业语音部署中提供的所有规范化规则列表中选择一个或多个规则,请单击 "选择"。To choose one or more rules from a list of all normalization rules available in your Enterprise Voice deployment, click Select. 在“选择规范化规则”**** 中,突出显示要与拨号计划关联的规则,然后单击“确定”****。In Select Normalization Rules, highlight the rules 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 information 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.

  11. 验证拨号计划的规范化规则是否已按正确顺序排列。要更改规则在列表中的位置,请突出显示相应的规则名称,然后单击向上箭头或向下箭头。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位数字相匹配,请确保将 "全部保留" 的值排列在限制性更强的^ ({7}1425 \ d) $规则的下方。For example, if 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.

  12. (可选)输入一个号码来测试拨号计划,然后单击“执行”****。测试结果会显示在“输入要测试的号码”**** 下。(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.

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

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

    备注

    任何时候创建拨号计划,都必须运行“全部提交”命令以发布配置更改。Any time you create 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.