创建用户的拨号规则Create dialing rules for users

拨号规则条目包含拨号规则组。拨号规则用于将其发送到的本地电话系统 (PBX) 或 IP PBX 的传出呼叫之前修改电话号码。拨号规则有两个用途:Dialing rule groups consist of dialing rule entries. Dialing rules are used to modify a phone number before sending it to an on-premises telephone system (PBX) or IP PBX for outgoing calls. Dialing rules serve two purposes:

  • 指定可以为传出呼叫拨打的号码。创建拨号规则时,您可以指定可拨打的号码格式。拒绝不与您指定的格式之一匹配任意数量。如果不设置任何拨号规则,呼叫者可以将组织内的呼叫,但不能进行任何传出呼叫。They specify the numbers that can be dialed for outgoing calls. When you create a dialing rule, you specify the number formats that can be dialed. Any number that doesn't match one of the formats you specified is rejected. If you don't set any dialing rules, callers can place calls within your organization but can't make any outgoing calls.

  • 它们转换之前将其发送到您的本地电话系统拨打的号码。拨号规则可以去除来自的号码,或将号码添加到拨打的号码。例如,可以使用拨号规则以添加您的电话系统外线接入编码或要添加或删除长途或本地号码的国家/地区代码。They transform the numbers dialed before sending them out to your on-premises telephone system. Dialing rules can strip numbers from or add numbers to the number dialed. For example, you can use dialing rules to add the outside line access code for your telephone system or to add or remove the in-country/region code for long-distance or local numbers.

若要指定您希望允许的 UM 拨号计划的传出呼叫的类型,您使用拨号规则创建拨号规则组,然后使用它们授权 Outlook Voice Access 用户和拨入 UM 自动助理的呼叫者的传出呼叫。创建单独的拨号规则组国家/地区和国际呼叫。To specify the types of outgoing calls you want to allow for a UM dial plan, you create a dialing rule group with dialing rules and then use them to authorize outgoing calls for Outlook Voice Access users and callers that dial into a UM auto attendant. You create separate dialing rule groups for in-country/region and for international calls.

备注

如果您正在集成 UM 和 Microsoft Lync Server,我们建议您创建至少一个拨号规则组并对 SIP URI 拨号计划、UM 邮箱策略和 UM 自动助理上的拨号规则组进行授权以允许所有传出呼叫转移至 Lync Server。If you are integrating UM with Microsoft Lync Server, we recommend that you create at least one dialing rule group and authorize that dialing rule group on the SIP URI dial plans, UM mailbox policies, and UM auto attendants to allow all outgoing calls to be forwarded to Lync Servers.

外拨的其他管理任务,请参阅允许用户进行呼叫的过程For other management tasks for outdialing, see Allowing users to make calls procedures.

常用拨号规则的示例Examples of commonly used dialing rules

号码模式Number pattern
拨打的号码Dialed number
何时使用此拨号规则?When would you use this dialing rule?
*
*
允许所有传出呼叫。Allow all outgoing calls.
1425xxxxxxx1425xxxxxxx
91425xxxxxxx91425xxxxxxx
防止用户在忘记拨打外线接入编码时接入到内部分机号码或出现错误。Prevent users from getting an internal extension or an error when they forget to dial the outside access line number.
1xxxxxxxxxx1xxxxxxxxxx
1xxxxxxxxxx1xxxxxxxxxx
允许以 1 开头的所有号码。Allow all numbers that start with 1.
xxxxxxxxxxxxxx
1425xxxxxxx1425xxxxxxx
向 7 位数的号码添加 1 和本地区域代码 425。Add 1 and the local area code 425 to 7-digit numbers.

在开始之前,您需要知道什么?What do you need to know before you begin?

  • 估计完成时间: 不超过 3 分钟。Estimated time to complete: Less than 3 minutes.

  • 您需要执行此过程之前为其分配权限。若要查看所需的权限,请参阅Messaging Permissions主题中的"UM 拨号计划"条目。You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "UM dial plans" entry in the Unified Messaging Permissions topic.

  • 在执行这些过程之前,请确认已创建 UM 拨号计划。有关详细步骤,请参阅创建 UM 拨号计划Before you perform these procedures, confirm that a UM dial plan has been created. For detailed steps, see Create a UM dial plan.

  • 如果要与 UM 邮箱策略应用拨号规则组,您需要确认已创建 UM 邮箱策略。有关详细步骤,请参阅创建 UM 邮箱策略If you will be applying dialing rule groups to UM mailbox policies, you will need to confirm that a UM mailbox policy is created. For detailed steps, see Create a UM mailbox policy.

  • 如果要对 UM 自动助理应用拨号规则组,您需要确认已创建 UM 自动助理。有关详细步骤,请参阅创建 UM 自动助理If you will be applying dialing rule groups to UM auto attendants, you will need to confirm that a UM auto attendant is created. For detailed steps, see Create a UM auto attendant.

  • 若要了解可能适用于此主题中过程的键盘快捷键,请参阅 Exchange 管理中心内的键盘快捷键For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.

提示

有问题?寻求帮助 Exchange 论坛。访问在Exchange ServerExchange OnlineExchange Online Protection论坛正在Having problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server,Exchange Online, or Exchange Online Protection..

使用 EAC 创建拨号规则Use the EAC to create a dialing rule

  1. 在 EAC 中,导航到统一消息 > UM 拨号计划。在列表视图中,选择您想要更改的 UM 拨号计划,然后单击编辑编辑图标In the EAC, navigate to Unified Messaging > UM dial plans. In the list view, select the UM dial plan you want to change, and then click EditEdit icon.

  2. UM 拨号计划页上,单击配置On the UM Dial Plan page, click Configure.

  3. UM 拨号计划页上>拨号规则,单击添加添加图标国家/地区内拨号规则国际拨号规则On the UM Dial Plan page > Dialing rules, click AddAdd Icon under In-country/region dialing rules or International dialing rules.

  4. 在“新建拨号规则”**** 页面上,输入以下信息:On the New Dialing Rule page, enter the following information:

    • 拨号规则名称输入的拨号规则名称您希望成为此规则的组。若要将其与其他规则结合,使用相同的组名。若要创建一个新拨号规则组中,输入新的唯一名称。Dialing rule name Enter the name of the dialing rule group you want this rule to be a part of. To combine it with other rules, use the same group name. To create a new dialing rule group, enter a new unique name.

    • 号码模式转换 (号码掩码) 输入要在拨号,例如,91425xxxxxxx 前转换的号码模式。如果呼叫者拨叫号码相匹配时,UM 转换为以其对拨打号码发出呼叫之前。输入仅号码以及通配符 (x)。号码模式也被称为号码掩码。Number pattern to transform (number mask) Enter the number pattern to transform before dialing, for example, 91425xxxxxxx. If a caller dials a number that matches, UM transforms it to the dialed number before placing the call. Enter only numbers and the wildcard (x). The number pattern is also called a number mask.

    • * * 拨打的号码 * * 输入要拨打的号码。仅使用号码和通配符 (x),如号码的模式 9xxxxxxx 中所示。通配符 (x) 会替换为从用户拨打的原始号码的数字。请确保中已拨号码的通配符数是中的号码模式的通配符数相同。**Dialed number ** Enter the number to dial. Use only numbers and the wildcard (x), as in the number pattern 9xxxxxxx. Wildcards (x) are substituted with the digits from the original number dialed by the user. Make sure the number of wildcards in the dialed number is the same as the number of wildcards in the number pattern.

    • * * 注释 * * 输入的注释或此拨号规则的说明。您可以使用注释来描述该规则的用途,例如,"的传出呼叫到 9 的添加"。**Comment ** Enter a comment or description for this dialing rule. You can use the comment to describe what the rule does, for example, "Add a 9 to outgoing calls."

  5. 单击确定保存拨号规则。您可以继续输入规则,使用您想要在一起授权的规则的同一个拨号规则组名称。Click OK to save the dialing rule. You can continue to enter rules, using the same dialing rule group name for rules that you want to authorize together.