在 Skype for Business 服务器中创建或修改拨号计划Create or modify a dial plan in Skype for Business Server

摘要: 了解如何使用 Skype for business 服务器控制面板创建或修改拨号计划。Summary: Learn how to create or modify a dial plan by using the Skype for Business Server Control Panel.

创建拨号计划To create a dial plan

  1. 打开 "Skype for Business 服务器" 控制面板。Open Skype for Business Server Control Panel.

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

  3. 在“拨号计划”**** 页上,单击“新建”****,然后为拨号计划选择作用域:On the Dial Plan page, click New and select a scope for the dial plan:

    • “站点拨号计划”**** 将应用于整个站点,分配给用户拨号计划的用户或组除外。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) 网关或注册器。Pool dial plan can apply to a public switched telephone network (PSTN) gateway or a Registrar. 如果为拨号计划的作用域选择 "",请从 "选择服务" 对话框中选择 PSTN 网关或注册机构。If you select Pool for a dial plan's scope, choose the PSTN gateway or Registrar from the Select a Service dialog box. 如果已经为服务(PSTN 网关或注册器)创建了拨号计划,则该服务不会显示在列表中。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.

  4. 如果要创建用户拨号计划,请在“新建拨号计划”**** 对话框的“名称”**** 字段中输入描述性名称。保存此名称后,就无法更改。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.

    备注

    对于网站拨号计划,"名称" 字段已预填充网站名称,无法更改。 > 池拨号计划时,将预填充 PSTN 网关或注册机构名称的 "名称" 字段,并且不能更改。For site dial plans, the Name field is prepopulated with the site name and cannot be changed.> For pool dial plans, the Name field is prepopulated with the PSTN gateway or Registrar name and cannot be changed.

  5. “简单名称”**** 字段会使用与“名称”**** 字段中显示的相同名称预先填充。您可以选择编辑该字段来指定描述性更强的名称,以反映应用该拨号计划的站点、服务或用户。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.

    重要

    此“简单名称”**** 在部署中的所有拨号计划内必须是唯一的。The Simple name must be unique among all dial plans in your deployment. 它不能超过 256 Unicode 字符,每个 Unicode 字符可以是字母或数字字符、连字符(-)、句点(.)或下划线()。不支持> 字符包括 RFC 3966 (http://www.ietf.org/rfc/rfc3966.txt)中定义的空格和保留字符。It cannot exceed 256 Unicode characters, each of which can be an alphabetic or numeric character, a hyphen (-), a period (.), or an underscore ().> 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:> ";" "/" "?" ":" "@" "&" "=" "+" "$" ","

  6. (可选)在“说明”**** 字段中,您可以键入有关拨号计划的其他描述性信息。(Optional) In the Description field, you can type additional 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)以拨通外线时使用。键入的前缀值不得超过四个字符(#、* 和 0-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. 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.

  9. 按如下所示为拨号计划关联并配置规范化规则: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. 有关定义新规则的详细信息,请参阅在 Skype For business 中创建或修改规范化规则For details about defining a new rule, see Create or modify a normalization rule in Skype for Business.

    • 要编辑已经与拨号计划关联的规范化规则,请突出显示相应的规则名称,然后单击“显示详细信息”****。To edit a normalization rule that is already associated with the dial plan, highlight the rule name and click Show details.

    • 要复制现有规范化规则以作为定义新规则的起点,请突出显示相应的规则名称,单击“复制”****,然后单击“粘贴”****。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.

    • 要从拨号计划中删除某个规范化规则,请突出显示相应的规则名称,然后单击“删除”****。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. 有关如何确定拨号计划所需的所有规范化规则的信息,请参阅规划文档中的Skype for Business 服务器中的出站语音路由计划For information about how to determine all of the normalization rules a dial plan requires, see Plan for outbound voice routing in Skype for Business Server 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.

    重要

    Skype for Business 服务器从上到下遍历规范化规则列表,并使用与所拨号码匹配的第一个规则。Skype for Business 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. > 默认保持所有规范化规则 ^ (\d{11}) $ 匹配任何11位数字。> The default Keep All normalization rule^(\d{11})$ matches any 11-digit number. 例如,如果你添加的规范化规则与以1425开头的11位数字相匹配,请确保 "全部保留" 按限制性 ^ (1425 d{7}) $ 规则为准则排序。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.

  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.

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

  13. 在“拨号计划”**** 页上,单击“提交”****,然后单击“全部提交”****。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. 有关详细信息,请参阅操作文档中的Skype For business 中的 "发布待处理的语音路由配置更改"For details, see Publish pending changes to the voice routing configuration in Skype for Business in the Operations documentation.

修改拨号计划To modify a dial plan

  1. 以 RTCUniversalServerAdmins 组成员的身份或者以 CsVoiceAdministrator、CsServerAdministrator 或 CsAdministrator 角色成员的身份登录计算机。有关详细信息,请参阅Delegate Setup PermissionsLog on to the computer as a member of the RTCUniversalServerAdmins group, or as a member of the CsVoiceAdministrator, CsServerAdministrator, or CsAdministrator role. For details, see Delegate Setup Permissions.

  2. 打开一个浏览器窗口,然后输入管理员 URL 以打开 Skype for Business 服务器控制面板。Open a browser window, and then enter the Admin URL to open the Skype for Business Server Control Panel.

  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 字符,其中每个字符都可以是字母或数字字符、连字符(-)、一个加号(+)或下划线()。在 "简单名称" 字段中不允许使用 > 空格。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)以拨通外线时使用。键入的前缀值不得超过四个字符(即 #、* 和 0-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). 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. 有关定义新规则的详细信息,请参阅在 Skype For business 中创建或修改规范化规则For details about defining a new rule, see Create or modify a normalization rule in Skype for Business.

    • 要编辑已经与拨号计划关联的规范化规则,请突出显示相应的规则名称,然后单击“显示详细信息”****。To edit a normalization rule that is already associated with the dial plan, highlight the rule name and click Show details.

    • 要复制现有规范化规则以作为定义新规则的起点,请突出显示相应的规则名称,单击“复制”****,然后单击“粘贴”****。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.

    • 要从拨号计划中删除某个规范化规则,请突出显示相应的规则名称,然后单击“删除”****。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. 有关如何确定拨号计划所需的所有规范化规则的详细信息,请参阅规划文档中的 Skype for business服务器中的出站语音路由计划For details about how to determine all of the normalization rules a dial plan requires, see Plan for outbound voice routing in Skype for Business Server 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.

    重要

    Skype for Business 服务器从上到下遍历规范化规则列表,并使用与所拨号码匹配的第一个规则。Skype for Business 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. > 默认保持所有规范化规则 ^ (\d{11}) $ 匹配任何11位数字。> The default Keep All normalization rule^(\d{11})$ matches any 11-digit number. 例如,如果你添加的规范化规则与以1425开头的11位数字相匹配,请确保 "全部保留" 按限制性 ^ (1425 d{7}) $ 规则为准则排序。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.

    备注

    您可以保存尚未通过测试的拨号计划,并在稍后对其进行重新配置。有关详细信息,请参阅Testing Voice RoutingYou can save a dial plan that does not yet pass the test and then reconfigure it later. For details, see Testing Voice Routing.

  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. 有关详细信息,请参阅操作文档中的Skype For business 中的 "发布待处理的语音路由配置更改"For details, see Publish pending changes to the voice routing configuration in Skype for Business in the Operations documentation.

另请参阅See also

发布 Skype for Business 中的语音路由配置的待处理更改Publish pending changes to the voice routing configuration in Skype for Business